Page 1 of 2

USB 2.0 aka EHCI does not work

Posted: 1. Aug 2008, 13:19
by monikapueppchen
Hallo,

I have a problem with EHCI in respect to USB 2.0. As long as EHCI remains unactivated, the access from VirtualBox to all USB-Devices are without any problem. However when I activate EHCI nothing seems to fuction at all. For e.g: USB Stick is plugged, Guestsystem (WinXP) tries to install the matching Drive but fails bringing the Error "An error is found and the Device may eventually not function properly" and the access to USB-Stick is not possible. In the Systemcontrol of WinXP, you can find the Device, furnished with Exclamation mark! Deinstallation of Device followed by renewed installation of the Drive etc. do not bring the needed result. So the Device remains inaccessible.

I use following Configuration:
  • VirtualBox 1.6.2
    Guest Additions 1.6.2
    Host System WinXP SR3
    Guest System WinXP SR3
My Hardware supports USB 2.0. I have tried in two differnt machines without any USB Hub.

Does EHCI (USB 2.0) function at your end? Or is this a Bug in VirtualBox.

Would be thankful, if somebody could give me a hint or tell me how to go about this problem.

Posted: 8. Aug 2008, 14:52
by monikapueppchen
Once again my question: is there anybody using USB 2.0 in Virtualbox? Does it work? With WinXP?

Posted: 12. Aug 2008, 05:16
by war59312
Nope, cant get usb working at all, though my keyboard does work as long as you do not minimize the window.

I get this every time I try to enable..

Application: VirtualBox 1.6.4
Host: Windows XP Pro. SP3 VL
Guest: Windows XP Pro. SP3 OEM

Code: Select all

USB device 'Logitech Logitech USB Keyboard' with UUID {5a7b76e3-7b37-4020-8180-bba7ae1b29fa} is busy with a previous request. Please try again later.

Result Code: 
E_INVALIDARG (0x80070057)
Component: 
HostUSBDevice
Interface: 
IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
Again it even works every time I re-enable but only if I dont minimize the guest os window.

However, none of these work, ever:

Code: Select all

USB device 'PHILIPS SPD3100L' with UUID {4d639c24-d2f7-4954-b44f-0d5bb06041da} is busy with a previous request. Please try again later.

Result Code: 
E_INVALIDARG (0x80070057)
Component: 
HostUSBDevice
Interface: 
IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}

Code: Select all

USB device 'Best Buy Geek Squad U3' with UUID {98e9355e-6405-4e3e-bf7f-dad0d93b87cf} is busy with a previous request. Please try again later.

Result Code: 
E_INVALIDARG (0x80070057)
Component: 
HostUSBDevice
Interface: 
IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}

Posted: 13. Aug 2008, 07:25
by nabamer.
I too am unable to get USB to work properly for my Zune. I got a flash drive to mount ok though.

VirtualBox .6.4, Host: Windows XP Pro x64, Guest: Windows XP Pro

Posted: 13. Aug 2008, 12:35
by Ted-UK
I also have never been able to get USB 2 + EHCI to work in VBox (Linux Host, Windows Guest). I've tried this on one laptop and two desktops.

As long as the USB2/EHCI is not enabled, my usb devices work perfectly. As soon as it's enabled, the usb devices (memory sticks, external hard drives) aren't recognised.

I think it's probably a bug.

Ted-UK

Posted: 14. Aug 2008, 14:39
by systems04
I was able to enable USB Support in Ubuntu Hardy Heron as Guest System by following these instructions:
http://www.ubuntu-unleashed.com/2008/04 ... heron.html

Posted: 20. Aug 2008, 06:46
by war59312
Just noticed this in the log file, hope it helps:
Log created: 2008-08-20T04:37:17.968750000Z
Executable: C:\PROGRA~1\Sun\xVM VirtualBox\VBoxSVC.exe
Commandline: "C:\PROGRA~1\Sun\xVM VirtualBox\VBoxSVC.exe" -Embedding

!!Assertion Failed!!
Expression: <NULL>
Location : C:\vbox\branch\w32-1.6\src\VBox\Main\HostUSBDeviceImpl.cpp(2455) HostUSBDevice::canonicalState
this=0172a5d0 mUniState=9

!!Assertion Failed!!
Expression: <NULL>
Location : C:\vbox\branch\w32-1.6\src\VBox\Main\HostUSBDeviceImpl.cpp(2455) HostUSBDevice::canonicalState
this=0172a5d0 mUniState=9

!!Assertion Failed!!
Expression: <NULL>
Location : C:\vbox\branch\w32-1.6\src\VBox\Main\HostUSBDeviceImpl.cpp(2455) HostUSBDevice::canonicalState
this=0172a5d0 mUniState=9

!!Assertion Failed!!
Expression: <NULL>
Location : C:\vbox\branch\w32-1.6\src\VBox\Main\HostUSBDeviceImpl.cpp(2455) HostUSBDevice::canonicalState
this=0172a5d0 mUniState=9

!!Assertion Failed!!
Expression: <NULL>
Location : C:\vbox\branch\w32-1.6\src\VBox\Main\HostUSBDeviceImpl.cpp(2455) HostUSBDevice::canonicalState
this=0172a5d0 mUniState=9

Posted: 20. Aug 2008, 14:24
by TerryE
It doesn't help the non sun guys here because this module is not released in source version :-(

Posted: 20. Aug 2008, 18:44
by zartr
I'd love to have my ipod (touch) connected to my virtual machine (windows 2003 server). USB support seems to be tricky. I hope it will get fixed(?) soon.

XP won't boot at all when USB 2.0 enabled (on OS/X host)

Posted: 22. Aug 2008, 16:49
by RonPinkas
In my case XP SP3 won't boot at all when I enable USB 2.0. It shows the XP logo, and the blue progress bar, and then goes into a blank black screen, and appears stuck. Otherwise with USB 1.0 all works perfect.

VirtualBox 1.6.4
Guest Additions 1.4 (?)

Mac Mini, Intel Core Duo 1.66
2GB 667MHz DDR2 SDRAM
OS/X 10.4.11

Since I do have those huge unintended debug logs, is there anything I could look for to help resolve this issue?

Ron

Posted: 23. Aug 2008, 12:52
by Ted-UK
Hi All,

I have just upgraded to VBox 1.6.4. I uninstalled the old guest additions, rebooted the WinXP VM and then installed the new guest additions that came with 1.6.4 and rebooted the WinXP VM again.

Now with both EHCI plus USB 2 enabled everything seems to be working on my WinXP+SP3 guest running in Debian-Testing host. I can plug-in and remove USB sticks or USB hard drives with no problem. I haven't tried mp3 players or digital cameras because I don't play with those.

I haven't benchmarked speed, because previously, with USB 2 enabled, my USB devices weren't recognised at all! Now they seem to be recognised and behaving properly.

I hope the rest of you manage to get this sorted.

All the best,
Ted

System:
Intel dual core 2.8 GHz
4 GB RAM (so using 2.6.24-1-686-bigmem kernel)
nVidia GeForce 8600 GT
Debian Testing (Lenny)
xfce4

Posted: 24. Aug 2008, 02:10
by RonPinkas
Ted-UK wrote: I have just upgraded to VBox 1.6.4. I uninstalled the old guest additions, rebooted the WinXP VM and then installed the new guest additions that came with 1.6.4 and rebooted the WinXP VM again.
Which version does your Guest Additions report? The reason I ask is because the first and only version of VB I installed is 1.6.4 but the Guest Additions says it's 1.4 (and I can't even boot when I enable USB 2.0)

Ron

Posted: 24. Aug 2008, 09:15
by Ted-UK
Hi Ron,

My Guest Additions report 1.6.4r33808 so I don't know how yours says 1.4 ??! Is your Guest Windows or Linux? And your host is ...?

And since you say this was the first time you installed VBox, then I doublt it's a GuestAdditions.iso left over from a previous installation.

Assuming it's a Windows VM in a Linux host, my only idea would be to:
1. uninstall the GuestAdditions from the VM and shutdown the VM.
2. in the File > Virtual Disk Manager > CD/DVD Images tab > Add the VBox GuestAddtions.iso to the list of available iso images. The path to the GuestAdditions is /usr/share/virtualbox/VBoxGuestAdditions.iso Close this window by clicking OK.
3. Select your Windows VM, click on Settings > CD/DVD-ROM. Select Mount CD/DVD Drive and select Iso Image File. From the scrolling list, select the VBoxGuestAdditions you added in step 2. Click OK.
4. Start your VM. With luck, when Windows starts, you'll get a dialog about installing the Sun VBox Guest Additions. Answer yes to everything. Then shutdown the VM (don't reboot).
5. Select your Windows VM, click on Settings > CD/DVD-ROM. Unselect Mount CD/DVD Drive and/or unselect Iso Image File. You don't want/need the GuestAdditions installed more than once. Click OK.
6. Start the VM. Hopefully you'll see a little VBox GuestAdditions icon in the tray and when you hover your mouse over it, you'll get the right version number.

If the above doesn't work, then I'd download the latest version of VBox from Sun, reinstall it and try again.

I hope you succeed.

All the best,
Ted

Posted: 27. Aug 2008, 01:52
by RonPinkas
Hi Ted,
Ted-UK wrote:Hi Ron,

My Guest Additions report 1.6.4r33808 so I don't know how yours says 1.4 ??! Is your Guest Windows or Linux? And your host is ...?

And since you say this was the first time you installed VBox, then I doublt it's a GuestAdditions.iso left over from a previous installation.

Assuming it's a Windows VM in a Linux host, my only idea would be to:
1. uninstall the GuestAdditions from the VM and shutdown the VM.
2. in the File > Virtual Disk Manager > CD/DVD Images tab > Add the VBox GuestAddtions.iso to the list of available iso images. The path to the GuestAdditions is /usr/share/virtualbox/VBoxGuestAdditions.iso Close this window by clicking OK.
3. Select your Windows VM, click on Settings > CD/DVD-ROM. Select Mount CD/DVD Drive and select Iso Image File. From the scrolling list, select the VBoxGuestAdditions you added in step 2. Click OK.
4. Start your VM. With luck, when Windows starts, you'll get a dialog about installing the Sun VBox Guest Additions. Answer yes to everything. Then shutdown the VM (don't reboot).
5. Select your Windows VM, click on Settings > CD/DVD-ROM. Unselect Mount CD/DVD Drive and/or unselect Iso Image File. You don't want/need the GuestAdditions installed more than once. Click OK.
6. Start the VM. Hopefully you'll see a little VBox GuestAdditions icon in the tray and when you hover your mouse over it, you'll get the right version number.

If the above doesn't work, then I'd download the latest version of VBox from Sun, reinstall it and try again.

I hope you succeed.

All the best,
Ted
My VB is running under OS/X 10.4.11. The Guest Addition ISO image is actually included in the VirtualBox.app which is 1.6.4, yet the Session Information Dialog, reports:

Guest Addition Version 1.4.

I'm just as puzlled as you, and would greatly appreciate a confirmation from someone, as to what should be the Version reported by the Session Information Dialog, under the Machine Menu, on OS/X.

Ron

Posted: 27. Aug 2008, 11:29
by Sasquatch
I think it's a typo there. I have the same, XP Host, XP Guest. Wouldn't worry about it too much.

For those who are still having problems mounting the USB device from a Windows Hosts (with the error the device is busy), try removing it from the USB port, give focus to the VM and plug it back in. I noticed that when the VM does not have focus, or the device is installed for the first time, it tends to give that error.
I have no problems with these kinds of errors on my Linux Hosts.