VirtualBox

Ticket #8748 (new defect)

Opened 3 years ago

Last modified 3 years ago

The USB device in host mode is not correctly managed (E_FAIL (0x80004005))

Reported by: afouille Owned by:
Priority: major Component: other
Version: VirtualBox 4.0.4 Keywords: USB hostmode
Cc: Guest type: other
Host type: Windows

Description

The USB device is not correctly managed (E_FAIL (0x80004005))

Guest: Windows 7 Enterprise (2009) 32Bits Host: Windows 7 Enterprise N (2009) 64Bits USB device: android phone in USB debug mode (host mode)

On host, register cleaned On guest and host: driver set up set up: 4.0.4 VirtualBox Extension Pack and 4.0.5 Guest Additions pre-release.

When I connect the USB device after system boot:

Contrôleurs de bus USB (Contrôleur hôte USB standard) Port_#0001.Hub_#0002 Windows a arrêté ce périphérique car il présente des problèmes. (Code 43)

Translation, "An issue occurs with this device. (Code 43)"

When I try to reconnect: Failed to create a proxy device for the USB device. (Error: VERR_GENERAL_FAILURE). Code d'erreur : E_FAIL (0x80004005) Composant : Console Interface : IConsole {515e8e8d-f932-4d8e-9f32-79a52aead882}

When I connect a device working with a previously working device: working

When I connect the not working device on my host, without running my guest: working

The ticket might be similar to #7213, however the USB hostmode is not mentionned.

I will try to do it on ubuntu as guest.

Attachments

2011-04-21 VirtualBox v4.0.6 USB Errors Ticket 8748.7z Download (226.0 KB) - added by LinxPatrick 3 years ago.
Additional information regarding USB host errors
2011-04-26 Failed to Determine the State of the Media.7z Download (24.0 KB) - added by LinxPatrick 3 years ago.

Change History

comment:1 Changed 3 years ago by afouille

Same issue with ubuntu host:

Code d'erreur : E_INVALIDARG (0x80070057) Composant : HostUSBDevice Interface : IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a} Fonction appelée : IConsole {515e8e8d-f932-4d8e-9f32-79a52aead882}*

the usb is not host in fact.

Changed 3 years ago by LinxPatrick

Additional information regarding USB host errors

comment:2 Changed 3 years ago by LinxPatrick

Definately a host issue as it occurs with Windows and Linux guests. The error messages are being generated at the Host level.

comment:3 follow-up: ↓ 4 Changed 3 years ago by frank

Did you install the 4.0.6 extension pack?

comment:4 in reply to: ↑ 3 ; follow-up: ↓ 5 Changed 3 years ago by afouille

Replying to frank:

Did you install the 4.0.6 extension pack?

I got the same issue with Oracle_VM_VirtualBox_Extension_Pack-4.0.6-71344 Code d'erreur : E_INVALIDARG (0x80070057) Composant : HostUSBDevice Interface : IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a} Fonction appelée : IConsole {515e8e8d-f932-4d8e-9f32-79a52aead882}

However the filter is working with another device, so I suspect the USB driver to be not fully compliant with USB standarts ( Google USB driver package, revision 4).

comment:5 in reply to: ↑ 4 Changed 3 years ago by afouille

Replying to afouille:

Replying to frank:

Did you install the 4.0.6 extension pack?

I got the same issue with Oracle_VM_VirtualBox_Extension_Pack-4.0.6-71344 Code d'erreur : E_INVALIDARG (0x80070057) Composant : HostUSBDevice Interface : IHostUSBDevice {.........-....-....-....-.......} Fonction appelée : IConsole {.........-....-....-....-.......}

However the filter is working with another device, so I suspect the USB driver to be not fully compliant with USB standarts ( Google USB driver package, revision 4).

this is independent from device: tested with HTC tattoo (click) , HTC Magic , HTC Sense and NexusS (I am a Android fan ...)

The device is seen in menu->devices->USB devices; is seen as captured as: UUID: ..... VendorId: 0x0bb4 (0BB4) ProductId: ..... Revision: 2.38 (0238) Manufacturer: HTC Product: Android Phone SerialNumber: ..... Current State: Captured

comment:6 Changed 3 years ago by afouille

under ubuntu, dmesg | grep -i usb didn't return log associated to devices. I add that the Setting up a Device for Development was done properly:  http://developer.android.com/guide/developing/device.html#VendorIds

comment:7 Changed 3 years ago by LinxPatrick

Replying to Frank

The 4.0.6 Extensions are installed on both hosts. The issue occurs with Windows and Linux hosts. I mentioned Windows and Linux guests in my last post. There was a time when I could get USB to work but it was a pain. I don't recall the VBox version or if it was specifically Windows or Linux on the host when it did work. In 4.0.6 USB will not work no matter what I do.

comment:8 Changed 3 years ago by frank

Please download the Windows package again. 4.0.6-71344 was replaced by 4.0.6-71416 to fix a regression which prevented to access the USB subsystem on Windows hosts.

Changed 3 years ago by LinxPatrick

comment:9 Changed 3 years ago by LinxPatrick

Added another attachment. I have seen this error before but could not reproduce it on demand.

I uninstalled VBox 71344 and attachments. Installed VBox 71417 and reinstalled the attachments, 71344. Absolutely no change.

Something that I didn't mention before is that even though the USB drive is in the list of devices in the GUI it has to be plugged into the host computer at boot-up or else it doesn't show up in the list of devices to choose from in the client. When I referred to adding a USB device in previous versions of VBox, this what I was referring too.

comment:10 Changed 3 years ago by afouille

I installed VBox 71416 and the associated guest add-on.
The connexion of usb devices print in host: Virtualbox drievr successfuly set up. The device appears in in menu->devices->USB devices; but I got still the same error:

Code d'erreur :
E_INVALIDARG (0x80070057)
Composant :
HostUSBDevice
Interface :
IHostUSBDevice {.........-....-....-....-.......}
Fonction appelée :
IConsole {515e8e8d-f932-4d8e-9f32-79a52aead882}

comment:11 Changed 3 years ago by afouille

If more investigations are necessary, I can do it on my platform and provide logs and results. So don't hesitate to give me a procedure.

comment:12 Changed 3 years ago by LinxPatrick

Tested with Virtual Box 4.0.8. Worked on one host machine with Windows 7 64 bit. Worked on another host machine with Ubuntu 10.04.

On another Windows 7 64 bit host I now get a message that the device is busy waiting on another request. When I plug in a certain USB device my wireless USB network adapter cuts out. I beleive the issue with VirtualBox has been fixed and the current issue that I'm experiencing has to do with USB drivers on the host.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use