USB doesn't work under SuSE 11 and VB 1.6.2 (10.3) SOLVED

Discussions related to using VirtualBox on Linux hosts.
dietrich
Posts: 4
Joined: 26. Jun 2008, 13:49

I have followed along; am still getting the USB error

Post by dietrich »

added the suggested fstab entry (thanks for the help) still a no-go for me.
Are there any other ideas or suggestions on what to change in openSUSE 11.0 to get VirtualBox to recognize my USB?

Thanks

dietrich
rbhakey
Posts: 1
Joined: 26. Jun 2008, 14:59

Here is the solution

Post by rbhakey »

I carried out following steps and it is finally working. I don't get the error about USB subsystem when I click on settings and my Win2K and WinXP can see the USB attached devices.

Here is what I did.

Added following entries in /etc/fstab in that order. (where xxx is the vboxuser gid)


/sys/bus/usb/drivers /proc/bus/usb usbfs devgid=xxx,devmode=664 0 0
none /dev/bus/usb usbfs devgid=xxx,devmode=664 0 0


Also added following line in /etc/init.d/boot.local

mount -a

This combination works perfectly. [/code]
dietrich
Posts: 4
Joined: 26. Jun 2008, 13:49

Most appreciated

Post by dietrich »

I'll give that a shot.

--dietrich
aemau
Posts: 46
Joined: 22. Aug 2007, 23:10

Post by aemau »

You might find that only the second fstab entry is necessary as that's all I needed on my system. The "mount -a" command is crucial however.

Allan
dietrich
Posts: 4
Joined: 26. Jun 2008, 13:49

It worked

Post by dietrich »

I am good to go!

Thanks Everyone.
mradlmaier
Posts: 3
Joined: 7. Mar 2008, 19:52

Post by mradlmaier »

aemau wrote:After sleeping on it overnight I tried again this morning. Except for the first three lines in your fstab my fstab entries are letter for letter identical to yours. When I boot up there is absolutely nothing in /proc/bus/usb. If I issue the "mount -a" command as root my usb devices do appear. BUT if I load the virtual machine no usb devices are to be found. If I try to change the settings of the virtual machine before starting it, I receive the error message that the host usb system cannot be accessed.

If I revert to my original setup as mentioned above my usb devices show up in the virtual machine.

I'm really at a loss to understand what is going on.

To add to my confusion, I have just tested all usb devices present on my virtual machine. All of them work except for my Wacom Bamboo tablet. When I check the tablet using the XP device manager, Windows reports that the device is working. But it simply refuses to work when I try to use it and I know it used to work under 1.6.0.

I guess I'll have to revert to 1.6 until this problem gets sorted out.

Allan
Hi,
I run openSUSE 11 and Virtualbox 1.6.6. I tested both of above entries in the fstab. Both work if you enter a final newline at the fstab.
Then you can mount either manually or you include ´mount -a´ in the /etc/init.d/boot.local to mount automatically. I guess this is the same for Virtualbox 2.0.2 and 1.5.6 and for openSUSE 10.3
bye,
Michael
llemikebyw
Posts: 2
Joined: 2. Jan 2009, 05:36

OpenSuse 1.0 and VirtualBox 2.1.0

Post by llemikebyw »

I am running 64-bit OpenSuse 11.0 and recently built VirtualBox 2.1.0 from the RPM provided from the downloads page on the VirtualBox page.

The suggestions from the VirtualBox FAQs is just completely wrong. Didn't work.

However the advice provided here was invaluable.

I eventually deleted the original usbfs line from the fstab file.

Then I added this line to the end of fstab:

/sys/bus/usb/drivers /proc/bus/usb usbfs busgid=XXX,busmode=0775,devgid=XXX,devmode=0664 0 0

XXX is the user id of the vboxusers group. For me that is 1000.

Subsequently I added this line to /etc/init.d/boot.local:

mount -a

A reboot later and my Virtualbox does not give an error message when I seek to give the VM usb access.

I have not tried installing an OS yet to check it works - but since VirtualBox no longer gives me an error I expect there to be no problem seeing USB devices.

There is one problem - I'm not convinced I want my guest OS (WIndows XP Professional) to actually see USB devices.

I'll confirm when I am sure this works.
aemau
Posts: 46
Joined: 22. Aug 2007, 23:10

Post by aemau »

Actually as far as I know and on my system at least the usb devices will only be seen by the guest system when you activate them under Devices/USB devices.

Allan
llemikebyw
Posts: 2
Joined: 2. Jan 2009, 05:36

Promised I would update on my experience

Post by llemikebyw »

You were right.

When I came to connect USB devices for the guest to see, VirtualBox presented them as available USB resources that I had to activate by following these instructions:

1) Tick in the box next to the device to make it active.

Then the device was accessible and Windows prompts for driver disk or, say for an USB drive, just makes the resource available.

By the way, the instructions work for 64-bit and 32-bit OpenSuse 11.0 with VirtualBox 2.1.0 (64-bit or 32-bit) and I've tried them successfully on a desktop PC (Gigabyte M/B) and a Toshiba Satellite Laptop.

I have now moved my Windows XP Professional, Office 2003 Professional, Visual Basic, SQL Server 2005 to the virtual PC.

Bye-bye dedicated WIndows PC... 8)
LuisC-SM
Posts: 1
Joined: 14. Nov 2007, 22:40
Location: Mexico

Re: OpenSuse 1.0 and VirtualBox 2.1.0

Post by LuisC-SM »

llemikebyw wrote:I am running 64-bit OpenSuse 11.0 and recently built VirtualBox 2.1.0 from the RPM provided from the downloads page on the VirtualBox page.

The suggestions from the VirtualBox FAQs is just completely wrong. Didn't work.

However the advice provided here was invaluable.

I eventually deleted the original usbfs line from the fstab file.

Then I added this line to the end of fstab:

/sys/bus/usb/drivers /proc/bus/usb usbfs busgid=XXX,busmode=0775,devgid=XXX,devmode=0664 0 0

XXX is the user id of the vboxusers group. For me that is 1000.

Subsequently I added this line to /etc/init.d/boot.local:

mount -a

A reboot later and my Virtualbox does not give an error message when I seek to give the VM usb access.

I have not tried installing an OS yet to check it works - but since VirtualBox no longer gives me an error I expect there to be no problem seeing USB devices.

There is one problem - I'm not convinced I want my guest OS (WIndows XP Professional) to actually see USB devices.


Hi.
Just to confirm that "this" solution also works for OS11.1 x86 and x86_64.
(this was the only one I tried BTW)

Cheers

Luis
I'll confirm when I am sure this works.
DrMartinus
Posts: 23
Joined: 25. Feb 2008, 08:08

Re: USB doesn't work under SuSE 11 and VB 1.6.2 (10.3) SOLVED

Post by DrMartinus »

I'm running 64-bit OpenSuse 11.1 and tried with the 3.00 Beta 2 version and now with the 2.2.4, but both don't have access to my USB devices. I followed the suggestions given, usbfs is mounted and shon in proc...
Now what is different from what others have (I think):
I can see all the devices when I do a right click on the USB-icon on the lower left edge of the VB window, but only the first one, i.e. the printer, can be connected, the other three (which I actually need) are greyed out and I can't connect them.
So VBox can see all my USB-devices, but only connect to one of them. What could be wrong?

TIA

Martin :?:
BleSSeD
Posts: 3
Joined: 21. Jan 2012, 14:52
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: XP

Re: USB doesn't work under SuSE 11 and VB 1.6.2 (10.3) SOLVE

Post by BleSSeD »

I added these lines to my fstab:

/sys/bus/usb/drivers /proc/bus/usb usbfs devgid=1000,devmode=664 0 0
none /proc/bus/usb usbfs devgid=110,devmode=664 0 0

(100 - it's my user's id, 1000 - it's vboxuser group's id)


Then I launch my virtualbox and it says to me:

You seem to have the USBFS filesystem mounted at /sys/bus/usb/drivers. We strongly recommend that you change this, as it is a severe mis-configuration of your system which could cause USB devices to fail in unexpected ways.


If I press ignore, virtualbox launches successfully, it sees my usb, everything is ok. So, is it normal that warning?
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: USB doesn't work under SuSE 11 and VB 1.6.2 (10.3) SOLVE

Post by stefan.becker »

For actual distros there is nothing to do instead of installing vbox and adding the user to group "vboxusers".

The thread is from 2008, have you noticed this?
BleSSeD
Posts: 3
Joined: 21. Jan 2012, 14:52
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: XP

Re: USB doesn't work under SuSE 11 and VB 1.6.2 (10.3) SOLVE

Post by BleSSeD »

Yes, I've noticed, but today is 2012 and the problems are the same:( Because I hadn't seen the usb devises from vbox until I added those lines to the fstab.
BleSSeD
Posts: 3
Joined: 21. Jan 2012, 14:52
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: XP

Re: USB doesn't work under SuSE 11 and VB 1.6.2 (10.3) SOLVE

Post by BleSSeD »

There is another way to fix this issue - just to remove the '#' character in the last 2 lines of /etc/udev/rules.d/60-vboxdrv.rules. So now everything is good and the system doesn't need any changes in fstab.
Post Reply