hello,
i installed virtualbox 2.1.4 and winxp as guest. everything works fine but i can't enable usb. when i right click in the guest window on the usb symbol a grey colored list with two usb device appears but i can't select one. the mouse over on the same symbol indicates that no usb device is connected. guest additions are installed.
system: dell inspiron 6400, intel 945 graphic accelerator, openSUSE 11.1, KDE4.2.1
thanx 4 your help
carsten
problems with usb
Re: problems with usb
I could never get USB devices to be recognized on my Windows XP guest (w/ a Linux host) till I added this line to my /etc/fstab and restarted everything.
none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0
where 501 is groupid for "vboxusers" (see in file /etc/group)
hope this helps and if possible pl. post what finally did work for you.
Gautam
none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0
where 501 is groupid for "vboxusers" (see in file /etc/group)
hope this helps and if possible pl. post what finally did work for you.
Gautam
-
OrionVII
- Posts: 10
- Joined: 30. Nov 2008, 11:29
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win XP SP3
- Location: France
- Contact:
Re: problems with usb
hm, no change happend. i remember that i change the fstab file in the same way last time i installed vbox 2something. i learned that with the new version this problem was fixed. by the way, the group vboxusers is local or a systemgroup? is there a difference?gthaker wrote:I could never get USB devices to be recognized on my Windows XP guest (w/ a Linux host) till I added this line to my /etc/fstab and restarted everything.
none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0
where 501 is groupid for "vboxusers" (see in file /etc/group)
hope this helps and if possible pl. post what finally did work for you.
Gautam
best regards
carsten
-
stefan.becker
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: problems with usb
Try this solution:
/etc/fstab
/etc/rc.d/boot.local
And then restart!
/etc/fstab
Code: Select all
...
usbfs /proc/bus/usb usbfs auto,busgid=XYZ,busmode=0775,devgid=XYZ,devmode=0664 0 0
/etc/rc.d/boot.local
Code: Select all
...
mount usbfs
And then restart!
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
OrionVII
- Posts: 10
- Joined: 30. Nov 2008, 11:29
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win XP SP3
- Location: France
- Contact:
Re: problems with usb
OK, but how I get the busgid?stefan.becker wrote:Try this solution:
/etc/fstab
Code: Select all
... usbfs /proc/bus/usb usbfs auto,busgid=XYZ,busmode=0775,devgid=XYZ,devmode=0664 0 0
/etc/rc.d/boot.local
Code: Select all
... mount usbfs
And then restart!
greetz
Re: problems with usb
busgid and devgid are the same and can be obtained by typing 'id' on a shell input. This returns the user and group id's for that user as well as a list of groups to which the user is a member. Your result should looke something like this:
...so in my case, I entered '124'.
I was trying to get some webcams working, so I did the following:
...which turned on usb support. So now I needed to add a filter for my devices, so:
...which returned the information about my attached webcams as follows:
...I then fed those vendor and product id's to my virtual OS (Windows XP):
...et voila, I had them detected and working 
Code: Select all
>id vboxuser
uid=1003(vboxuser) gid=124(vboxusers) groups=124(vboxusers)I was trying to get some webcams working, so I did the following:
Code: Select all
VBoxManage modifyvm "Windows-XP-Virtual-Server" -usb onCode: Select all
VBoxManage list usbhostCode: Select all
Host USB Devices:
UUID: 089bff29-913d-4ea5-aa79-1e75454402e1
VendorId: 0x0ac8 (0AC8)
ProductId: 0x303b (303B)
Revision: 1.0 (0100)
Manufacturer: Vimicro Corp.
Product: PC Camera
Address: /proc/bus/usb/001/004
Current State: Available
UUID: 90e2fa0a-dd88-494b-baa9-704343eb4a52
VendorId: 0x0ac8 (0AC8)
ProductId: 0x303b (303B)
Revision: 1.0 (0100)
Manufacturer: Vimicro Corp.
Product: PC Camera
Address: /proc/bus/usb/001/005
Current State: AvailableCode: Select all
VBoxManage usbfilter add 0 -target "Windows-XP-Virtual-Server" -name "Webcams" -action hold -active yes -vendorid 0AC8 -productid 303B
3B