[opensuse] VirtualBox and USB storage
Hi, I'm failing to use my USB stick within a Windows guest (actually not Windows' fault as VBox doesn't offer to pass it through). In the list of available USB devices I got some greyed out and some which can be enabled. The difference seems to be that my user has access to the enabled ones (the printer and the cardreader). The USB stick is displayed greyed out so I cannot connect it to the guest. So my first guess is that the user cannot access it: Hygiea:~ # lsusb | grep Cruzer Bus 006 Device 011: ID 0781:5408 SanDisk Corp. Cruzer Titanium U3 Hygiea:~ # ll /dev/bus/usb/006/011 crw-r--r-- 1 root root 189, 650 9. Aug 11:14 /dev/bus/usb/006/011 Ok, this is quite clear. Hygiea:~ # chmod 666 011 Hygiea:~ # ll /dev/bus/usb/006/011 crw-rw-rw- 1 root root 189, 650 9. Aug 11:14 /dev/bus/usb/006/011 Restarted the guest VM and still greyed out. Anyone an idea what the issue is? I've read somewhere that a device is not accessible once it's used from a non-generic USB driver on the host system. The stick is used by usb-storage actually on the host already. Is that the issue? How could I make sure that the stick is not integrated as usb-storage on a case-by-case base? Thanks, Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2009-08-09 at 11:30 +0200, Wolfgang Rosenauer wrote: ...
Restarted the guest VM and still greyed out.
Anyone an idea what the issue is? I've read somewhere that a device is not accessible once it's used from a non-generic USB driver on the host system. The stick is used by usb-storage actually on the host already. Is that the issue? How could I make sure that the stick is not integrated as usb-storage on a case-by-case base?
I can tell you what vmware does: I get a a list of devices, and when I click on one, I get a popup that it is going to disconnect the device from the host system and claim it to use by vmware and its guest. And it does so... the kernel stops using that device, and windows or linux guests detect that device, whatever it is. I suppose virtualbox must do something similar. Just make sure it is not mounted at the time, perhaps that's the trick. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkp+y1YACgkQtTMYHG2NR9UIigCeK+A4AyRkheY/J6fQxJrO9kuf P5kAn2JLr62repagVh40TM8fw7g9cW12 =3qi/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Restarted the guest VM and still greyed out.
Anyone an idea what the issue is? I've read somewhere that a device is not accessible once it's used from a non-generic USB driver on the host system. The stick is used by usb-storage actually on the host already. Is that the issue? How could I make sure that the stick is not integrated as usb-storage on a case-by-case base?
This is something to do with openSUSE 11.1 and VBox... a quirk of the two from what I can figure out... and the topic of this discussion on the forum (which also links to another parallel thread on the subject): http://forums.opensuse.org/applications/412870-virtualbox-usb-grey.html I am having the exact same issue... I haven't yet worked my way through the whole thread just yet... so no solution yet on my end (I'm still working on my mailserver... which still isn't right). C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Wolfgang Rosenauer schreef:
Hi,
I'm failing to use my USB stick within a Windows guest (actually not Windows' fault as VBox doesn't offer to pass it through).
(snip) First a stupid question. Are you using the Opensuse Vbox? It does not support USB devices. You must use the Sun version. Regards, -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I'm failing to use my USB stick within a Windows guest (actually not Windows' fault as VBox doesn't offer to pass it through).
(snip)
First a stupid question. Are you using the Opensuse Vbox? It does not support USB devices. You must use the Sun version.
In my case, it's the Sun version... it also appears to be the Sun version with all the other cases reported of this USB devices greyed out thing. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Clayton schreef:
I'm failing to use my USB stick within a Windows guest (actually not Windows' fault as VBox doesn't offer to pass it through).
(snip)
First a stupid question. Are you using the Opensuse Vbox? It does not support USB devices. You must use the Sun version.
In my case, it's the Sun version... it also appears to be the Sun version with all the other cases reported of this USB devices greyed out thing.
OK. Then in the Details tab on the right half of the VB screen you have to click USB and check the boxes "Enable USB controller" and "Enable USB 2.0 (EHCI) Controller" in the pop up menu. I also have a line usbfs /proc/bus/usb usbfs auto,busgid=114,busmode=0775,devgid=114,devmode=0664 0 0 (one line) in /etc/fstab but I'm not sure if that's really necessary. Regards, -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
In my case, it's the Sun version... it also appears to be the Sun version with all the other cases reported of this USB devices greyed out thing.
OK. Then in the Details tab on the right half of the VB screen you have to click USB and check the boxes "Enable USB controller" and "Enable USB 2.0 (EHCI) Controller" in the pop up menu.
I also have a line
usbfs /proc/bus/usb usbfs auto,busgid=114,busmode=0775,devgid=114,devmode=0664 0 0 (one line) in /etc/fstab but I'm not sure if that's really necessary.
Done and done.. a long time ago. This is a bigger and more annoying issue that simply enabling USB2 in the options. Take a look at the openSUSE forum thread I linked earlier in this thread. The problem is not unique... and definitely not a simple option setting problem. This is something new.... and it also does not hit all USB devices. USB mouse and keyboard work fine as does my iPhone. The iPhone is selectable - ie not greyed out... but other USB devices are... basically exactly as Wolfgang described when he started this thread... a mix/match of selectable and non-selectable devices. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Clayton schreef:
In my case, it's the Sun version... it also appears to be the Sun version with all the other cases reported of this USB devices greyed out thing.
OK. Then in the Details tab on the right half of the VB screen you have to click USB and check the boxes "Enable USB controller" and "Enable USB 2.0 (EHCI) Controller" in the pop up menu.
I also have a line
usbfs /proc/bus/usb usbfs auto,busgid=114,busmode=0775,devgid=114,devmode=0664 0 0 (one line) in /etc/fstab but I'm not sure if that's really necessary.
Done and done.. a long time ago. This is a bigger and more annoying issue that simply enabling USB2 in the options. Take a look at the openSUSE forum thread I linked earlier in this thread. The problem is not unique... and definitely not a simple option setting problem. This is something new.... and it also does not hit all USB devices. USB mouse and keyboard work fine as does my iPhone. The iPhone is selectable - ie not greyed out... but other USB devices are... basically exactly as Wolfgang described when he started this thread... a mix/match of selectable and non-selectable devices.
Hm. Strange. Then it must be a kernel thing or (shudder) a KDE4 thing although I cannot fathom how KDE could throw a spanner into the works. I'm on 11.0, KDE 3.5 and VB 3.0.2 and everything works perfectly well. Regards, -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hm. Strange. Then it must be a kernel thing or (shudder) a KDE4 thing although I cannot fathom how KDE could throw a spanner into the works. I'm on 11.0, KDE 3.5 and VB 3.0.2 and everything works perfectly well.
All the reports I've read on this so far... and there are a few scattered around the web... are all openSUSE 11.1 and VBox 3.x (and DE makes no diff). C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Clayton wrote:
Hm. Strange. Then it must be a kernel thing or (shudder) a KDE4 thing although I cannot fathom how KDE could throw a spanner into the works. I'm on 11.0, KDE 3.5 and VB 3.0.2 and everything works perfectly well.
All the reports I've read on this so far... and there are a few scattered around the web... are all openSUSE 11.1 and VBox 3.x (and DE makes no diff).
C.
You may want to check if this is a bug on the virtualbox website. Roman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
You may want to check if this is a bug on the virtualbox website.
Did that... it looks exactly like this bug report: http://www.virtualbox.org/ticket/3041 which essentially mirrors teh discussion on the openSUSE forum on this topic (linked earlier in this thread). C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Montag, 10. August 2009 schrieb Jos van Kan:
Hm. Strange. Then it must be a kernel thing or (shudder) a KDE4 thing although I cannot fathom how KDE could throw a spanner into the works. I'm on 11.0, KDE 3.5 and VB 3.0.2 and everything works perfectly well.
It's probably a kernel change. vmware seems to suffer from the same problem With 11.0 and kernel 2.6.25 vmwares USB mass storage access works fine for me. With 11.1 and kernel 2.6.27 it is broken. And if I run a 2..6.27 kernel on the 11.0 installation it's also broken. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jos van Kan wrote:
Wolfgang Rosenauer schreef:
Hi,
I'm failing to use my USB stick within a Windows guest (actually not Windows' fault as VBox doesn't offer to pass it through).
(snip)
First a stupid question. Are you using the Opensuse Vbox? It does not support USB devices. You must use the Sun version.
Regards,
USB devices are supported with the VirtualBox version from SUN rather than OSE that's provided by openSUSE. Personally, I prefer using the version including user manual that can be downloaded from http://www.virtualbox.org Cheers! Roman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
Clayton
-
Jos van Kan
-
Markus Koßmann
-
Roman B.
-
Wolfgang Rosenauer