On Thu, 2008-02-21 at 12:16 -0600, David C. Rankin wrote:
Clayton wrote:
(2) As root, edit /etc/fstab and set the gid and mode for usbfs as follows:
usbfs /proc/bus/usb usbfs
mode=0664,gid=113 0 0
That's it, reboot or source fstab in your favorite way and usb
will now work flawlessly with Virtualbox. Once in Virtualbox, just add a filter for the usb device you would like to connect and your done.
I've bumbled into a problem with this. If I make the changes, as described, to my fstab, then USB works in VirtulaBox, but my iPod cannot be mounted (there was a thread from a couple of days ago I started about iPod not connecting, and with help from the listmembers I traced it to the changes made for USB support in VirtualBox). If I roll back the change to the USBFS line in the fstab, then the iPod works again. Anyone else have this problem?
I did this for a Nokia phone I am trying to get working in VB/Windows XP. It worked better than the fstab method. Of course, I was specific about which usb device udev should fiddle with. Oddly, VB/XP finds the phone, but the Nokia software does not. All I want to do is get the damned thing to sync address books...
C
Hmm...
That's not good. There is another work around for the usb problem in Virtualbox that I have seen proposed. I have not tested it yet. The workaround uses udev instead of fstab modifying the udev rules as follows:
sudo vi /etc/udev/rules.d/50-udev-default.rules
Find the line with:
# libusb device access #SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
Change the mode (permissions) in the line to:
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"
Clayton, if you could, give this a shot and see if it works.
-- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Roger Oberholtzer
OPQ Systems / Ramböll RST Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org