Page 1 of 1
Mac & USB issues
Posted: 22. Dec 2010, 14:54
by ericsusername
Host: Mac OS X 10.5.8
VM: Ubuntu 10.4 -64b
Has anyone uncovered a better way to handle USB devices on a mac OS X host?
For every new device I have to shutdown the VM, add a USB filter. Turn the VM back on without the USB, and then plug it in.
And still the results are very inconsistent.
It appears the only the port you specify in the filter will work. when plugged into the other port..
# dmesg | grep usb
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
#lsusb //just hangs while the the address number continues to climb and attempt to mount.
Can't tell if that's a different problem with the VM and my 2 USB ports?
I'm just at the early stages of diagnosing this.. If anyone else has any insight or a fix I'd very much appreciate it.
Re: Mac & USB issues
Posted: 22. Dec 2010, 15:37
by ChipMcK
You do not need to specify the port in the USBFilter - leave it blank/empty.
Then VBox will accept the device on any port.
Good Holidays!
Re: Mac & USB issues
Posted: 22. Dec 2010, 16:56
by ericsusername
I never specified a port on the filter, but still there seems to be an issue with which port I select (when inserting the device, I realize my previous lack of clarity, apologies).
It appears that prior to connecting any device that one port is using an EHCI controller and the other is using an OHCI controller. But when a device is connected to the OHCI controlled port, it's recognized as an EHCI device.
#usb-devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=02.06
S: Manufacturer=Linux 2.6.32-27-generic ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:0b.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 8
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=02.06
S: Manufacturer=Linux 2.6.32-27-generic ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:06.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
#dmesg | grep usb //when connecting to the OHCI controlled port.
usb 1-1: new high speed USB device using ehci_hcd
usb 1-1: device descriptor read/64, error -110
Is there a way to set both ports as EHCI controlled?
Also the way the Mac grabs the devices is still somewhat annoying..
Re: Mac & USB issues
Posted: 4. Jan 2011, 06:20
by ericsusername
I fixed this.. in case anyone comes across the same problem here's what I did.
1) Upgrade to VirtualBox 4.0 (Do they still call it PUEL?)
2) Install virtual box USB extension
3) Upgrade guest additions
4) Power off guest
5) Connect device
6) Add USB filter
7) Power On guest
Re: Mac & USB issues
Posted: 31. Oct 2011, 08:49
by chrismurphy
I am having this problem on a Macbook Pro 8,2 running Mac OS X 10.6.8 (host) and VirtualBox 4.1.4. Guest system is Fedora 16, Linux 3.1.0-5.fc16.x86_64.
The flash drive is a Kingston DT R500. Sometimes it's available as /dev/sdb but usually isn't found and instead I get the same errors listed by the original poster, error -110 from Fedora VM. Guest Additions are installed. In the VM window, bottom status bar, USB icon, the Kingston is listed and checked. It is not available in either Mac OS or Fedora.
[root@f16 chris]# usb-devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=03.01
S: Manufacturer=Linux 3.1.0-5.fc16.x86_64 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:0b.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 8
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.01
S: Manufacturer=Linux 3.1.0-5.fc16.x86_64 ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:06.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=80ee ProdID=0021 Rev=01.00
S: Manufacturer=VirtualBox
S: Product=USB Tablet
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
Re: Mac & USB issues
Posted: 1. Nov 2011, 07:39
by chrismurphy
This problem is reproducible with CentOS 6.
Linux 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
Re: Mac & USB issues
Posted: 1. Nov 2011, 07:45
by chrismurphy
Looks like maybe a very long standing VirtualBox bug.
https://wiki.rice.edu/confluence/displa ... ox+on+iMac
When I changed the setup for the two virtual machines from two CPUs to one, the problem is apparently resolved.
Re: Mac & USB issues
Posted: 2. Nov 2011, 00:07
by chrismurphy
Re: Mac & USB issues
Posted: 17. May 2013, 11:30
by frank
Please try the test build provided in ticket
7462. It should fix this problem.
Re: Mac & USB issues
Posted: 13. Jun 2013, 05:16
by aktaylor
The download link for ticket 7462 is no longer working. Anyone know of a location that it is available?
Thanks!