USB support on OS X El Capitan

Discussions related to using VirtualBox on Mac OS X hosts.
van2222
Posts: 5
Joined: 2. Nov 2015, 13:56

Re: USB support on OS X El Capitan

Post by van2222 »

Hey guys, I would just like to add that this does not seem to be fixed in VirtualBox 5.0.8 since I am unable to use my USB device. This exact VM is working fine using Arch Linux as a host by the way. The error I am getting is,

Code: Select all

Failed to create a proxy device for the USB device. (Error: VERR_GENERAL_FAILURE).
Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
ConsoleWrap
Interface: 
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Here is the erelevant output from vboxmanage list usbhost:

Code: Select all

vboxmanage list usbhost 
Host USB Devices:

UUID:               2209df4c-c199-44f5-9cb0-5fb971a220eb
VendorId:           0x0403 (0403)
ProductId:          0xe4a1 (E4A1)
Revision:           6.0 (0600)
Port:               1
USB version/speed:  0/Full
Manufacturer:       EFILive
Product:            EFILive FlashScan V2
SerialNumber:       FSWQ5O46
Address:            p=0xe4a1;v=0x0403;s=0x00000071a4a7e11f;l=0x14100000
Current State:      Busy

UUID:               f825b3b2-fece-4085-93da-74f7b6cc1401
VendorId:           0x05ac (05AC)
ProductId:          0x0259 (0259)
Revision:           2.36 (0236)
Port:               4
USB version/speed:  0/Full
Manufacturer:       Apple Inc.
Product:            Apple Internal Keyboard / Trackpad
Address:            p=0x0259;v=0x05ac;s=0x000000003f555ea0;l=0x14400000
Current State:      Unavailable

UUID:               3e266535-4bfe-4645-b375-e5e1c70b2139
VendorId:           0x05ac (05AC)
ProductId:          0x8289 (8289)
Revision:           1.18 (0118)
Port:               3
USB version/speed:  0/Full
Manufacturer:       Apple Inc.
Product:            Bluetooth USB Host Controller
Address:            p=0x8289;v=0x05ac;s=0x0000000054086625;l=0x14330000
Current State:      Busy
As you can see all the USB devices are either busy or unavailable. It is strange because these devices are visible and selectable under the filters menu. I'm not sure if this is related, but there is no /dev/vboxusb on my OS X install as there is under Linux.

Thanks
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: USB support on OS X El Capitan

Post by loukingjr »

The USB devices listed should be busy or unavailable unless you don't want the keyboard or any Bluetooth devices working on your Mac.

Normal USB devices work fine for my guests.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
van2222
Posts: 5
Joined: 2. Nov 2015, 13:56

Re: USB support on OS X El Capitan

Post by van2222 »

Ok, to be more specific, FlashScan is listed as busy and is giving the error I posted when plugged in. It works fine on the same hardware and same VM when I dual boot into Linux.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: USB support on OS X El Capitan

Post by loukingjr »

You may need to create a USB filter for it if you haven't already and plug in the device after the guest is running. Linux hosts didn't need filters AFAIK. What is the guest BTW?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
van2222
Posts: 5
Joined: 2. Nov 2015, 13:56

Re: USB support on OS X El Capitan

Post by van2222 »

Yes I have created a filter and I am plugging the device in after the guest has booted.
Last edited by van2222 on 2. Nov 2015, 17:21, edited 1 time in total.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: USB support on OS X El Capitan

Post by loukingjr »

Since my reply makes no sense after you completely changed your post…
Last edited by loukingjr on 2. Nov 2015, 17:56, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
van2222
Posts: 5
Joined: 2. Nov 2015, 13:56

Re: USB support on OS X El Capitan

Post by van2222 »

Ok thanks for your help, I overreacted.
chrisale
Posts: 2
Joined: 2. Jan 2015, 03:00

Re: USB support on OS X El Capitan

Post by chrisale »

Is it safe to say that this and an error I am now getting "Failed to Attach the USB Device "Error: VERR_SHARING_VIOLATION" is related to the update to 10.11?

Further details:
Result Code: NS_ERROR_FAILURE
0x8000_4005
Component: Console/Wrap
Interface: Console{.....}

This is on VBox 5.0.8.
Host: 10.11.1
Guest: WinXP

Should I go back to VBox 4.3 for better results perhaps? I did not realize until just now that WinXP was removed from the supported platforms for 5.x.

I have two USB devices. They are identical, two camera plugged in for control via USB. They have worked OK in the past, with just intermittent dropouts that was fixed by cycling the power on the cameras so they disconnected/reconnected. But this is a much more persistent problem.
Cheers,
Chris
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: USB support on OS X El Capitan

Post by michaln »

chrisale wrote:Should I go back to VBox 4.3 for better results perhaps?
On OS X 10.11 host it's guaranteed to work worse than 5.0.x. But you can certainly try.
I did not realize until just now that WinXP was removed from the supported platforms for 5.x.
As a host OS, yes. As a guest OS, that's news to me -- where did you find that?
I have two USB devices. They are identical, two camera plugged in for control via USB. They have worked OK in the past, with just intermittent dropouts that was fixed by cycling the power on the cameras so they disconnected/reconnected. But this is a much more persistent problem.
As usual, without a VBox.log there's not much to say.
amammothsparkler
Posts: 5
Joined: 10. Nov 2015, 16:33

Re: USB support on OS X El Capitan

Post by amammothsparkler »

Code 10 on the VM IE8 - WinXP after inserting three different 2GB clean USB sticks. All three sticks get recognized by the Guest VM (in other words I see the balloon pops in the lower right-corner of the GuestOS WinXP stating as much).

USB Filters are created in VM Manager>>Ports>>USB.

Host machine is Macbook Air Early 2014. Uninstalled and re-installed VirtualBox-5.0.8-103449-OSX.dmg and Oracle_VM_VirtualBox_Extension_Pack-5.0.8-103449.vbox-extpack

Happy to share additional information to aid getting USB sticks working. In this case "working" means the USB sticks get recognized by the GuestOS (WinXP) and I can read/write access the sticks within the GuestOS (WindowsXP w/ServicePack 3 installed).

Cheers!
Attachments
VBox.log
(72.88 KiB) Downloaded 17 times
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: USB support on OS X El Capitan

Post by loukingjr »

FWIW you shouldn't need USB filters with VB 5.0.8. At least I don't.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
amammothsparkler
Posts: 5
Joined: 10. Nov 2015, 16:33

Re: USB support on OS X El Capitan

Post by amammothsparkler »

FWIW I tried with and without filters. Without filters the Host just assumes control over the USB sticks.

Anything more useful to try?
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: USB support on OS X El Capitan

Post by Martin »

You will need USB filters if you want the guest to automatically grab an USB device as soon as it is plugged in.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: USB support on OS X El Capitan

Post by loukingjr »

amammothsparkler wrote:FWIW I tried with and without filters. Without filters the Host just assumes control over the USB sticks.

Anything more useful to try?
Unmount the sticks from the Finder then select them from the Devices menu.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: USB support on OS X El Capitan

Post by loukingjr »

Martin wrote:You will need USB filters if you want the guest to automatically grab an USB device as soon as it is plugged in.
Probably true.

Edit: I probably shouldn't have said probably but I was explaining how to mount USB sticks without filters. :D
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply