Russ Fineman wrote:
> On Sunday 22 February 2009 09:50:12 pm Amit k. Saha wrote:
>> Hello all,
>>
>> Host OS: Ubuntu 8.10, Guest: OpenSolaris 2008.11
>>
>> I have added a USB filter (all) for the guest. In my guest, I can see
>> the devices that are connected, but all are greyed out. Any ideas?
>
> Just a couple of things that I found with USB on a openSUSE host, guest on 
> vbox is win XP. 
> 
> 1. The OSe version supplied by Sun And openSUSE does not support USB. 
> You need to download and install the version from Sun's website with USB 
> support. Its free.
> 2. You must make a mod to FSTAB.
>    mine is:
>     usbfs                /proc/bus/usb        usbfs      
> auto,busgid=1000,busmode=0775,devgid=1000,devmode=
> 0664                0 0
>  the 1000 is the ID of the virtualbox user.
> 
> 3. you must mount usbfs prior to starting VirtualBox. 

I've been using OpenSuSE with the non-OSE Virtualbox for some time
now, but experienced the "greyed out" problem when moving to OpenSuSE 11.0.
My USB requirement is driven by having to use an SCR331 CAC card reader.

After a lot of fiddling and non-deterministic behavior I isolated the
problem to multiple mounting of the  usbfs filesystem.  The fstab
example above must be the one that's used in order to get the permissions
sorted out.  Usually you'd add "mount -a" to /etc/init.d/boot.local to
run the mount, but a library needed by the CAC reader, pcscd, also
ran a mount command in /etc/init.d/pcscd.  The pcscd mount was getting
run first, leaving the /proc/bus/usb permissions wrong for vbox.

/etc/init.d/pcscd has this phrase:

mount -n -t usbfs usbfs /proc/bus/usb >/dev/null 2>&1

which I changed to:

mount -n -t usbfs -o busgid=1000,busmode=0775,devgid=1000,devmode=0664 usbfs 
/proc/bus/usb >/dev/null 2>&1

which fixed the problem for me.

If you're not using CAC, make sure that you have a "mount -a" somewhere with
the usbfs phrase placed in /etc/fstab.

Regards,
Lew Wolfgang

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to