Page 1 of 2

Usb grayed out...USB3 controller with USB2 device

Posted: 2. Dec 2013, 23:35
by Mannaggia
Hi all,

I'm struggling with this issue since some days...I really cannot understand...

I'm trying to connect usb device to a Windows 7 64 bits guest, from a 10.9 osx host without success.

I already tried the following:
  • Installed guest additions
  • installed extension pack
  • with and without enabling usb 2.0 EHCI controlled
  • changed guest config to only have one CPU (should be fixed in VB 4.2.14)
  • guest host usb filter only has Name, Vendor ID, Product ID filled and the rest is blank (tried remote option Yes, No, Any)
  • updated all software (vbox 4.3.4,guest additions 4.3.4, Extension 4.3.4)

I must admit that the dongle is behaving strangely as I must plug it several times before it works: here some related dmesg logs:

Code: Select all

USBF:    77.721    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 1 of Hub at 0x14000000)
USBF:    79.654    The IOUSBFamily was not able to enumerate a device.
USBF:    79.924    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 1 of Hub at 0x14000000)
USBF:    82.257    The IOUSBFamily was not able to enumerate a device.
USBF:    82.528    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 1 of Hub at 0x14000000)
USBF:    82.998    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 1 of Hub at 0x14000000)
USBF:    82.998    The IOUSBFamily was not able to enumerate a device.
USBF:    92.324    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    94.258    The IOUSBFamily was not able to enumerate a device.
USBF:    94.529    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    96.861    The IOUSBFamily was not able to enumerate a device.
USBF:    97.131    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    97.601    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 2 of Hub at 0x14000000)
USBF:    97.601    The IOUSBFamily was not able to enumerate a device.
USBF:    102.484    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    104.418    The IOUSBFamily was not able to enumerate a device.
USBF:    104.689    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    107. 23    The IOUSBFamily was not able to enumerate a device.
USBF:    107.294    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    107.763    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 2 of Hub at 0x14000000)
USBF:    107.763    The IOUSBFamily was not able to enumerate a device.
USBF:    113.506    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    115.440    The IOUSBFamily was not able to enumerate a device.
USBF:    115.711    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    118. 44    The IOUSBFamily was not able to enumerate a device.
USBF:    118.314    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    118.784    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 2 of Hub at 0x14000000)
USBF:    118.784    The IOUSBFamily was not able to enumerate a device.
USBF:    127.382    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x14000000)
USBF:    128.335    The IOUSBFamily has successfully enumerated the device (Port 2 of Hub at 0x14000000).
considerRebuildOfPrelinkedKernel org.virtualbox.kext.VBoxDrv triggered rebuild
VirtualBoxVM (map: 0xffffff803dce7f00) triggered DYLD shared region unnest for map: 0xffffff803dce7f00, region 0x7fff92a00000->0x7fff92c00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
VBoxDrv: host_vmxon  -> vmx_use_count=1 rc=0
VBoxDrv: host_vmxoff -> vmx_use_count=0
VBoxFltDrv: attached to 'en1' / c8 e0 eb 43 d4 4d
VBoxDrv: host_vmxon  -> vmx_use_count=1 rc=0
aio_queue_async_request(): too many in flight for proc: 16.
VBoxNetFlt: was detached from 'en1' (1023873088)
VBoxDrv: host_vmxoff -> vmx_use_count=0
Plugging the dongle on another machine, the detection is working each time instantly (tiger OSX)

Once the device connected on mavericks (after the several tries), it's correctly recognised in the system report under USB 3.0 Hi-Speed Bus

But when win7 is running, the damned usb device in 'Devices -> USB Devices -> xxx' is grated out... :|

Re: Usb grated out...

Posted: 3. Dec 2013, 00:42
by socratis
Mannaggia wrote:the system report under USB 3.0 Hi-Speed Bus
VBox does not support USB 3.0 yet.

Re: Usb grayed out...

Posted: 3. Dec 2013, 20:11
by Mannaggia
Hi socratis,

thanks for pointing me to the fact that USB 3.0 is not supported yet.

The device I'm using is USB 2.0 and I found in the VB change log the following:

VB 4.3.0 --> Windows hosts: fixed an issue with USB2 devices being inaccessible when plugged into USB 3.0 ports
VB 4.2.18 --> Windows hosts: fixed an issue with USB2 devices being inaccessible when plugged into USB3 ports

As the change logs only mentions Windows hosts, do you know if usb 2.0 devices are supported using USB 3.0 controllers on OSX hosts?

Of course this iMac has only USB 3.0 ports... :(

Re: Usb grayed out...

Posted: 3. Dec 2013, 20:17
by Mannaggia
CPU workaround should be fixed in 4.2.14, so I'm back with a 4 CPU configuration


VB 4.2.14 --> USB: fixed passing through devices on Mac OS X host to a VM with 2 or more virtual CPUs (bug #7462)

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 7. Dec 2013, 02:01
by Mannaggia
updated title.

Any hints?

Re: Usb grayed out...

Posted: 7. Dec 2013, 11:02
by socratis
Mannaggia wrote:Of course this iMac has only USB 3.0 ports... :(
I unfortunately cannot test it since my MBPro (early 2011) had not invented USB 3.0 ports. I welcome any donations towards solving your issue ;) .

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 7. Dec 2013, 11:11
by mpack
Mannaggia wrote:Any hints?
Hints will be in short supply until you provide Minimum information needed for assistance.

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 8. Dec 2013, 12:07
by Mannaggia
As requested:
  • VirtualBox 4.3.4 r91027
  • VirtualBox Extension Pack 4.3.4 r91027
  • Host OSX 10.9 (mavericks) build 13A603 with 16 GB RAM
  • Guest Windows 7 Professional x64 with 4 GB RAM
  • Guest additions 4.3.4 r91027
  • Guest log file in attachment

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 8. Dec 2013, 13:36
by mpack
The obvious reason for the device to be grayed out, in the devices menu when the VM is running, is that the device has already been grabbed. That would be expected if you configured a filter to grab the device when the VM starts. So what this really comes down to is that you can't get the device to work, is that correct?

There was reports recently of USB devices failing to work if you had CPUs > 1 on a Mac host. As far as I know that issue was supposed to be fixed, but you might want to test it. Nothing else leaps out.

What is the device?

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 8. Dec 2013, 16:12
by Mannaggia
The obvious reason for the device to be grayed out, in the devices menu when the VM is running, is that the device has already been grabbed. That would be expected if you configured a filter to grab the device when the VM starts. So what this really comes down to is that you can't get the device to work, is that correct?
I tried with and without filter and cant get the device to work.

The CPU workaround has already been tested without positive results, see previous comments.

The device is an adapter for plugging an rc helicopter transmitter in order to use it on simulators

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 8. Dec 2013, 16:56
by carbonkevlar
I am facing a similar situation on my mac mini with OSX Maverick on whick i installed Virtual Box to run windows XP
i connect a mass storage device on one of the USB port of the mac mini but it would not appear in Windows although i can access it in mac OX

any idea ?

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 9. Dec 2013, 08:13
by socratis
@Mannaggia
Can you post your filter settings? Typically you should need ProductID and VendorID only. Check another post of mine...

@carbonkevlar
Eject the HD from your host. If the host is using it, the guest can't use it.

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 9. Dec 2013, 22:25
by Mannaggia
socratis, see my initial post:
guest host usb filter only has Name, Vendor ID, Product ID filled and the rest is blank (tried remote option Yes, No, Any)

Here is the USB tab configuration:

Enable USB controller -> checked
Enable USB 2.0 (EHCI) Controller -> checked
USB Device Filters:
Name: xxx
Vendor ID: yyyy
Product ID: zzzz
Remote: Yes

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 9. Dec 2013, 23:05
by rpmurray
You have to use the actual Vendor ID and Product ID. yyyy and zzzz won't work.

Re: Usb grayed out...USB3 controller with USB2 device

Posted: 9. Dec 2013, 23:47
by Mannaggia
Of course the correct values are setted ...(1781 & 0898)