Usb grayed out...USB3 controller with USB2 device

Discussions related to using VirtualBox on Mac OS X hosts.
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

Usb grayed out...USB3 controller with USB2 device

Post 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... :|
Last edited by Mannaggia on 7. Dec 2013, 02:00, edited 3 times in total.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Usb grated out...

Post by socratis »

Mannaggia wrote:the system report under USB 3.0 Hi-Speed Bus
VBox does not support USB 3.0 yet.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

Re: Usb grayed out...

Post 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... :(
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

Re: Usb grayed out...

Post 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)
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

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

Post by Mannaggia »

updated title.

Any hints?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Usb grayed out...

Post 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 ;) .
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post by mpack »

Mannaggia wrote:Any hints?
Hints will be in short supply until you provide Minimum information needed for assistance.
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

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

Post 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
Attachments
VB.log
Guest Log File
(114.84 KiB) Downloaded 16 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post 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?
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

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

Post 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
carbonkevlar
Posts: 6
Joined: 6. Dec 2013, 22:50

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

Post 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 ?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

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

Post 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
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

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

Post by rpmurray »

You have to use the actual Vendor ID and Product ID. yyyy and zzzz won't work.
Mannaggia
Posts: 9
Joined: 2. Dec 2013, 23:18

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

Post by Mannaggia »

Of course the correct values are setted ...(1781 & 0898)
Post Reply