VirtualBox 2.0.4 USB Support

I’m trying to get USB support to work with VirtualBox 2.0.4. The advice I found at Virtualbox USB Support - openSUSE suggests editing fstab. One other site suggested adding a line to /etc/init.d/boot.local.

Here follows my fstab:

/etc/fstab: static file system information.

<file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF4QPEZ-part2 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF4QPEZ-part3 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST3160811AS_6PT0WQW7-part1 /windows/C ntfs defaults,nls=utf8,umask=0222,users 0 0
/dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part5 /windows/D ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part6 /windows/E ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part7 /windows/F ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part8 /windows/G ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF4QPEZ-part1 swap swap defaults 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
none /proc/bus/usb usbfs auto,busgid=109,busmode=0775,devgid=109,devmode=0664 0 0

Here is my boot.local:

#! /bin/sh

Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved.

Author: Werner Fink <werner@suse.de>, 1996

Burchard Steinbild, 1996

/etc/init.d/boot.local

script with local commands to be executed from init on system startup

Here you should add things, that should happen directly after booting

before we’re going to the first run level.

mount usbfs

Despite my best efforts, nothing seems to quite result in my USB devices being detected by VirtualBox.

Any ideas?

I think it’s important to note:

This section does not apply to the Open Source Edition (OSE), as the OSE version does not have USB support.

I was reading that page a few days ago and noticed that. Not very highlighted but it’s the very first sentence. Also confirmed in Editions - VirtualBox so I tried no further. I only needed it to access USB storage devices so it’s no big problem for me.

I don’t use the OSE version for that very reason. My query relates to the closed source version.

I learned that mount usbfs is the wrong command to include in /etc/init.d/boot.local. I changed it to mount -a and now all my USB devices are detected by VirtualBox.

I am happy!

Hello,
I am also attempting to enable USB support on xVM 2.04, without any success.

Despite I have installed kernel-source and kernel-syms and modified my /etc/fstab usbfs line on my OS11, I am still getting the following error:

Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.
Codice&nbspd’uscita:
NS_ERROR_FAILURE (0x00004005)
Componente:
Host
Interfaccia:
IHost {489fb370-c227-4d43-9761-ceb28484fd9f}
Chiamante:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}

Well, if I issue “mount -a”, then that error disappears, but even so, apparently the usb icon on xVM window reports “no devices connected”.
Which other checks should I do in order to have USB support?

Can you post the line you added to your fstab?

here it is:

usbfs /proc/bus/usb usbfs noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0

Try the following:

none /proc/bus/usb usbfs auto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0

I’m assuming your gid is 1000.

Hi chyrania,

Question: Why replace “usbsf” at the beginning of the line with “none” ?

BTW: I didn’t have installed Xalan-c, Xerces-c, pkgs.
After providing such pkgs and recompiling vboxdrv, the problems disappeared.

My /etc/fstab is the same as in my original post.
BR,
amdturion

Virtualbox USB Support - openSUSE says that 2.0.4 has to be configured in a slightly different way to older versions. I followed these instructions and my USB devices work properly.

Yes I red that procedure, anyway in my case the “usbfs” its still on the fstab line.
Instead I have to correct what I wrote before, regarding no changes on the other switches: particularly I did changed “noauto” into “auto”, as you correctly pointed out.
I have installed OpenSolaris 2008.05 on this VMbox and I am appreciating this OS, particularly their IPS (Image Packaging System) through which is possible to upgrade a full installation without risk to loose the old one.

chyrania;1899010 Wrote:
> Can you post the line you added to your fstab?

here it is:

usbfs /proc/bus/usb usbfs
noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0


Linux 2.6.25.18-0.2-default x86_64
AMD Turion™ 64 Mobile Technology MK-36 - GeForce Go 6150 - Gnome
2.22.1

amdturion’s Profile: http://forums.opensuse.org/member.php?userid=620
View this thread: http://forums.opensuse.org/showthread.php?t=399790

amdturion;1899044 Wrote:
> here it is:
>
> usbfs /proc/bus/usb usbfs
> noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0

Try the following:

none /proc/bus/usb usbfs
auto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0

I’m assuming your gid is 1000.


chyrania

chyrania’s Profile: http://forums.opensuse.org/member.php?userid=298
View this thread: http://forums.opensuse.org/showthread.php?t=399790

chyrania;1899061 Wrote:
> Try the following:
>
> none /proc/bus/usb usbfs
> auto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0
>
> I’m assuming your gid is 1000.

Hi chyrania,

Question: Why replace “usbsf” at the beginning of the line with “none”
?

BTW: I didn’t have installed Xalan-c, Xerces-c, pkgs.
After providing such pkgs and recompiling vboxdrv, the problems
disappeared.

My /etc/fstab is the same as in my original post.
BR,
amdturion


Linux 2.6.25.18-0.2-default x86_64
AMD Turion™ 64 Mobile Technology MK-36 - GeForce Go 6150 - Gnome
2.22.1

amdturion’s Profile: http://forums.opensuse.org/member.php?userid=620
View this thread: http://forums.opensuse.org/showthread.php?t=399790

amdturion;1899246 Wrote:
> Hi chyrania,
>
> Question: Why replace “usbsf” at the beginning of the line with “none”
> ?
>
> BTW: I didn’t have installed Xalan-c, Xerces-c, pkgs.
> After providing such pkgs and recompiling vboxdrv, the problems
> disappeared.
>
> My /etc/fstab is the same as in my original post.
> BR,
> amdturion

‘Virtualbox USB Support - openSUSE’
(http://en.opensuse.org/Virtualbox_USB_Support) says that 2.0.4 has to
be configured in a slightly different way to older versions. I followed
these instructions and my USB devices work properly.


chyrania

chyrania’s Profile: http://forums.opensuse.org/member.php?userid=298
View this thread: http://forums.opensuse.org/showthread.php?t=399790

chyrania;1899276 Wrote:
> ‘Virtualbox USB Support - openSUSE’
> (http://en.opensuse.org/Virtualbox_USB_Support) says that 2.0.4 has to
> be configured in a slightly different way to older versions. I followed
> these instructions and my USB devices work properly.
Yes I red that procedure, anyway in my case the “usbfs” its still on
the fstab line.
Instead I have to correct what I wrote before, regarding no changes on
the other switches: particularly I did changed “noauto” into “auto”, as
you correctly pointed out.
I have installed OpenSolaris 2008.05 on this VMbox and I am
appreciating this OS, particularly their IPS (Image Packaging System)
through which is possible to upgrade a full installation without risk to
loose the old one.


Linux 2.6.25.18-0.2-default x86_64
AMD Turion™ 64 Mobile Technology MK-36 - GeForce Go 6150 - Gnome
2.22.1

amdturion’s Profile: http://forums.opensuse.org/member.php?userid=620
View this thread: http://forums.opensuse.org/showthread.php?t=399790