Everything is working except USB

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Bill Roberts
Posts: 10
Joined: 7. Sep 2008, 22:26

Everything is working except USB

Post by Bill Roberts »

In the Settings I can set my USB devices and I have 3 active filters that appear correct.

In the VM under machine - USB, the popup list shows all of the usb devices on my pc, but all have status Unavailable and are greyed out.

I've set fstab according to the other topics about this issue.

My usb devices work correctly on the host (Hardy)

Any suggestions?
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

Post by Sasquatch »

Did you also do the other options other than the fstab entry? And did you run that properly? See the VirtualBox FAQ for some help. There is also a link to the Wiki FAQ that describes USB in Ubuntu (you can also find this in the Help documentation of Ubuntu.com and other sites).
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.
Bill Roberts
Posts: 10
Joined: 7. Sep 2008, 22:26

Post by Bill Roberts »

First, I'm not new to computing...

Yes, I have installed the PUEL Edition, so USB support should be available. I have read the Wiki and followed all of the steps there.

I used to run the VMware server and it worked with the fstab entries I made for that.

Here's my VirtualBox fstab entry:

/sys/bus/usb/drivers /proc/bus/usb usbfs devgid=131,devmode=664 0 0

131 is the correct devgid.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Please look into the FAQ. On Ubuntu there is more to do.
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

Post by Sasquatch »

Code: Select all

none                            /proc/bus/usb   usbfs   devgid=505,devmode=664          0       0
That is my line for /etc/fstab and working. You don't need a mount point.
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.
Bill Roberts
Posts: 10
Joined: 7. Sep 2008, 22:26

Post by Bill Roberts »

stefan.becker wrote:Please look into the FAQ. On Ubuntu there is more to do.
Thank you - can you please supply a link? The FAQ on this forum doesn't mention ubuntu and the Manual doesn't specify any special needs for ubuntu USB support.
Bill Roberts
Posts: 10
Joined: 7. Sep 2008, 22:26

Post by Bill Roberts »

Found this for ubuntu/Gutsy:

/etc/init.d/mountdevsubfs.sh start

I'm on Hardy but I did it anyway, now I'm getting

Failed to create a proxy device for the USB device. (Error:VERR_FILE_NOT_FOUND)

which I hope is referenced elsewhere on this forum.
Bill Roberts
Posts: 10
Joined: 7. Sep 2008, 22:26

Post by Bill Roberts »

Finally found the problem...

If you have done all the steps called for in the various FACs and it still doesn't work then

REBOOT the host machine.
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

Post by Sasquatch »

You always have to reboot when changing system specific files. If you would have followed the link at the end of the FAQ to the Wiki FAQ, you would have seen the Ubuntu USB part. There will be some changes here and there when the new forum software is up to avoid these things.
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.
Bill Roberts
Posts: 10
Joined: 7. Sep 2008, 22:26

Post by Bill Roberts »

Sasquatch wrote:You always have to reboot when changing system specific files. If you would have followed the link at the end of the FAQ to the Wiki FAQ, you would have seen the Ubuntu USB part. There will be some changes here and there when the new forum software is up to avoid these things.
Why do you assume I didn't follow those links? The FAC specifically says ubuntu/Gutsy and I run ubuntu/Hardy. I only got the connection by visiting other sources.
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

Post by Sasquatch »

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.
Post Reply