usb problem on opensuse 10.3 host, xp-sp3 guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
tomar.sk
Posts: 13
Joined: 13. Feb 2009, 11:52

usb problem on opensuse 10.3 host, xp-sp3 guest

Post by tomar.sk »

Hi,

I've installed virtualbox 2.1.4 (PUEL) on opensuse 10.3 (2.6.22.19-0.2). I created two vms, on one I've xp-sp3 and on another I've windows7 beta (7000 build). On both of these vms I'm facing a problem similar to that of many users. My usb stick (or any device for that matter) is perfectly working in host, and in a stand alone xp-sp3 OS (not through vm). However, I don't get it to work through vm. I've enabled USB controller and USB 2.0 (EHCI) controller and created device filters. During the process of adding filters all the usb devices (OEM camera, logitech mouse, fingerprint sensor, and mass storage) are available but not when vm is running.

Following user manual, and several posts related to this issue, I added myself to the vboxusers group and edited the /etc/fstab file, but this doesn't help either. Following are the relevant output:

cat /etc/group |grep vboxusers
vboxusers:!:1006:tomar

grep 1006 /etc/fstab
/sys/bus/usb/drivers /proc/bus/usb usbfs mode=0664,gid=1006 0 0
#none /proc/bus/usb usbfs mode=0664,gid=1006 0 0

mount |grep usb
/sys/bus/usb/drivers on /proc/bus/usb type usbfs (rw,mode=0664,gid=1006)

My vbox guest additions are attached to xp. I've tried removing/adding all the filters but again in vain.

Any help???
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: usb problem on opensuse 10.3 host, xp-sp3 guest

Post by Sasquatch »

There are a thing I find odd. Another thing is not correct. This is the output of grep vboxusers /etc/group on my Ubuntu system:

Code: Select all

vboxusers:x:127:sasquatch
Don't compare the groupID with yours, but you have an !, where I have an x. That is odd. Now for the incorrect thing. As you could have seen in the VirtualBox FAQ, your fstab entry is not correct. I have this:

Code: Select all

none			/proc/bus/usb	usbfs	devgid=127,devmode=664	0	0
Note the devgid, instead of gid and devmode instead of mode. There are no other options either.

After you've fixed this, a filter should not be needed, only if you want the device to be automatically grabbed by the VM if you plug it in.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
tomar.sk
Posts: 13
Joined: 13. Feb 2009, 11:52

Re: usb problem on opensuse 10.3 host, xp-sp3 guest

Post by tomar.sk »

Thank you very much Sasquatch for your help. The issue is resolved now.

Point 1: "!" or "x" in vboxusers doesn't have any effect here. The former is to use for without password and the latter for shadow password. Please see the man entry for group.

Point 2: It seems I got confused from the line "Pay attention to the flags, they are different from those used in 10.3, devmode instead of mode and devgid instead of gid", mentioned at

http://en.opensuse.org/Virtualbox_USB_Support

Since the same syntax was mentioned (devmode and devgid) for 10.3 and 11, I thought with 10.3 it is to be used without "dev", like other entries in /etc/fstab for 10.3.

Thank you again for your help.
Post Reply