Mac OS X cannot passthrough USB device to guest

Bug #1369347 reported by Aaron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

I'm using Mac OS 10.9.4 with qemu-system-arm installed from brew (version 1.7.1) and verified with qemu-system-x86_64. I'm trying to pass a Ralink 5370 WiFi USB dongle to my guest system, it appears in my system profiler as:

802.11 n WLAN:

  Product ID: 0x5370
  Vendor ID: 0x148f
  Version: 1.01
  Serial Number: 1.0
  Speed: Up to 480 Mb/sec
  Manufacturer: Ralink
  Location ID: 0x1d110000 / 6
  Current Available (mA): 500
  Current Required (mA): 450

Using the docs, I'm passing "-usb -device usb-host,vendorid=0x148f,productid=0x5370" and getting this error back:
"qemu-system-arm: -device usb-host,vendorid=0x148f,productid=0x5370: Parameter 'driver' expects device type"

Tags: usb mac mavericks
Revision history for this message
Peter Maydell (pmaydell) wrote : Re: [Qemu-devel] [Bug 1369347] [NEW] Mac OS X cannot passthrough USB device to guest

On 14 September 2014 15:23, Aaron <email address hidden> wrote:
> Public bug reported:
>
> I'm using Mac OS 10.9.4 with qemu-system-arm installed from brew
> (version 1.7.1) and verified with qemu-system-x86_64. I'm trying to pass
> a Ralink 5370 WiFi USB dongle to my guest system, it appears in my
> system profiler as:

I don't imagine anybody's tested trying to get USB passthrough to
work on Macs. If it works it will be by happy side effect of the code
written for and tested on Linux happening to work.

It may not help, but it would be useful to try against a newer version
of QEMU, ie 2.1. You'll need to make sure you have the libusb
dev libraries installed so our configure can find them.

thanks
-- PMM

Revision history for this message
Aaron (spaceribs) wrote :

I'll give it a shot, thanks :)

Revision history for this message
Aaron (spaceribs) wrote :

For future googlers, I first ran "brew uninstall qemu" then "brew install libusb".

After that, download the source, "./configure", "make", "sudo make install" and you're done.

Revision history for this message
Thomas Huth (th-huth) wrote :

Comment #3 sounds like this bug has been fixed, right? So I'm closing this bug ticket now.

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.