Opened 13 years ago
Closed 9 years ago
#9762 closed defect (obsolete)
OSX 10.7.2 USB support broken
Reported by: | oli | Owned by: | |
---|---|---|---|
Component: | USB | Version: | VirtualBox 4.1.4 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Mac OS X |
Description (last modified by )
I can no longer attach USB devices since upgrading to OSX 10.7.2
https://forums.virtualbox.org/viewtopic.php?f=8&t=45376
Previously I could happily connect my iLok dongle via virtualbox's usb... now when I connect it it doesn't connect (doesn't show up in win XP guest and remains available in the virtualbox menu) when i try and save the virtual machine's state i get the error NS_ERROR_CALL_FAILED (0x800706BE). Likewise can't stop... all communication is lost.
Attachments (1)
Change History (26)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Also note that I have the same problem if the guest OS Linux or WIndows. The problem is on the VirtualBox side.
comment:3 by , 13 years ago
Could you please attach the logs?
And please note that your host might have pcscd daemon running, which could potentially lock your card reader.
comment:4 by , 13 years ago
I couldn't reproduce the issue locally my USB flash storages mounted fine here and card reader attaching to guest successfully (but I have to kill pscsd manually first).
Could you please paste here output of
# bash-4.2$ ps -axf | grep pcscd
?
comment:6 by , 13 years ago
I've noticed the same issue for freeing Bluetooth from Mac OS X host so the Windows host could use it.
Code available at http://github.com/rei-vilo/VirtualBox_Bluetooth_Management and explanations at http://bit.ly/r2hRr0
comment:7 by , 13 years ago
very weird. I had the same issue 2 hours ago. after doing almost nothing and a reboot of host OS X 10.7.2, I can attach USB devices now.
comment:8 by , 13 years ago
When I say nothing. I mean changing the IDE controller from ICH6 to PIIX4. Guest OS is XP x86 SP3.
comment:9 by , 13 years ago
I'm experiencing this as well. This is a major defect in my opinion I have Windows only hardware that I use that right now I'm stuck with not using anything. I hope a fix or workaround is discovered soon!
comment:10 by , 13 years ago
I do not think this is a 10.7.2 specific problem. I have this problem on 10.6.8 with Linux hosts, on a Macbook Pro with built-in USB and there is no pcscd running on Mac OS. Also the problem goes away when I set CPUs to 1 instead of 2 or more. See bug 9841.
comment:11 by , 13 years ago
after installing the extensions pack, USB started working again. I have my VM set to 1 processor
comment:12 by , 13 years ago
Just wanted to add another datapoint. I had upgraded to 10.7.2 and at the same time bumped my machine up from 1 to 4 CPUs. In this configuration no USB devices would work. I would get an indication that they were plugged in but it would always return an unrecognized device error.
I just updated to 4.1.6 and updated the extensions pack. Still had the same problem.
Changed the system back to 1 processor and USB works again! Still a bug but at least it can be worked around.
comment:13 by , 13 years ago
I am having the same general category of problems with two different USB serial port dongles, one being the hoary old PL2303 and the other being a FTDI. Both show up on the properly passed through to Windows when I migrated the Windows XP VM to Parallels 7 (which I downloaded as an eval *after* failing with VirtualBox) and were used successfully to communicate with a Kenwood ham radio from within the (Parallels-imported) virtual machine, thus the problem is clearly something to do with the VirtualBox USB functionality on OSx (since it works under Parallels). Mac OS X 10.7.2, VirtualBox 4.1.8 with latest extensions. Seems that, in general, USB on Mac is broken right now and needs someone to look at it with a debugger to see what's going on.
comment:14 by , 13 years ago
I am having the same issue with the latest VB 4.1.12 + Ext. pack + guest additions. running on Mac osx 10.7.3. The problem seems to be related to the VB does not properly unloads device drivers (kexts), which makes the device occupied by OSX. Also, I don't believe this issue is guest specific, I have tested this problem is consistent on guests running Windws XP (single or multiple CPU(s)) as well as on Linux (32bit or 64bit, single or multiple CPU(s)).
comment:15 by , 13 years ago
4.1.12 Same bug. It always was here from the third version as I remember. After rebooting OS X VBox attaches usb devices well until you need attach usb device again several days later. Then reboot again. Can someone explain how to restart only VBox instead whole OS X?
log: 215:40:22.288 nspr-2 Log continuation - Log started 2012-04-24T07:15:53.968639000Z 215:41:23.455 nspr-2 ERROR [COM]: aRC=NS_ERROR_INVALID_ARG (0x80070057) aIID={173b4b44-d268-4334-a00d-b6521c9a740a} aComponent={HostUSBDevice} aText={USB device 'AKS HASP HL 3.25' with UUID {2332d924-7b7e-4f35-930a-855498b3b709} is busy with a previous request. Please try again later}, preserve=false
comment:17 by , 13 years ago
Hi everyone,
I run Virtual Box 4.1.14 r77400 on my MacBook Air with Mac OS X 10.7.3. I've got the NS_ERROR_INVALID_ARG message for the following devices: a) USB to SERIAL controller b) SafeNet USB hardkey which were working before the last VB upgrade.
I think that's a VB bug and I hope it'll be solved soon. Currently I can't go on with my work because of the USB hardkey failures. As I can understand a VirtualBox 4.1.15 for OS X Mountain Lion hosts is available. Do you think I can use that to solve the problem?
Bye
David
follow-up: 19 comment:18 by , 13 years ago
David, just reboot your Mac (may be just logoff-logon). The VBox is stuck on loading usb drivers on host system. These drivers must be loaded BEFORE you attach the usb device to guest system.
comment:19 by , 13 years ago
Replying to zhivotnoe:
David, just reboot your Mac (may be just logoff-logon). The VBox is stuck on loading usb drivers on host system. These drivers must be loaded BEFORE you attach the usb device to guest system.
Regards, Anton.
Hi Anton, thanks for the suggestion. It works, great answer fast and effective. I've done the following: a) removed all the usb keys/adapters b) reboot the mac c) inserted all the usb devices d) started Virtual Box
Bye and thanks again David
comment:20 by , 13 years ago
Hi, I'm here again to bother you with my stupid issues.
Now I've a handheld device wich I usually connect to the VB Win XP on my mac. I use the XP "active sync" to browse the handheld. Unfortunately the device doesn't appear in the USB port configuration of VB (I've the USB 2.0 (EHCI) controller enabled but no USB device for the handheld device is available).
Any idea?
David
follow-up: 22 comment:21 by , 13 years ago
No idea, David. Try Parallels Desktop 7 for Mac: http://www.parallels.com It's the best virtual hypervizor on OS X.
comment:22 by , 13 years ago
Replying to zhivotnoe:
No idea, David. Try Parallels Desktop 7 for Mac: http://www.parallels.com It's the best virtual hypervizor on OS X.
Ok Thanks
David
comment:23 by , 13 years ago
I use VBx 4.1.4 with a MacBookAir as a Host... and had this USB issue for weeks. Since I rebooted, problem disappeared.
Thanks for the tip
comment:25 by , 9 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
I have the same/identical problem here with a USB smart card reader. When I try to connect it to the guest system I get the error (sorry it is in French):
In my case the error is NS_ERROR_INVALID_ARG and not NS_ERROR_CALL_FAILED.
Of course the device is not used on the Mac OS X host (Lion 10.7.2 but the problem was already present in 10.7.1 and maybe also 10.7.0). I guess Apple changed something in the USB layer and broke USB support in VirtualBox.