QEMU usb

189 views
Skip to first unread message

Евгений Коцарев

unread,
Sep 22, 2018, 6:21:29 AM9/22/18
to Android-x86
Hi, big thanks for you work.
I m trying to pass usb in qemu. 

What I have:
  • Android x86 MM (x86 and x86_64)
  • Kernel 4.4 (stock from android x86)
  • Windows 10 x64 as host
  • Core i5 2nd gen (hamx)
  • QEMU
  • usb device for test (hardware ID is USB\VID_04D9&PID_1503&MI_00\7&360b1f&0&0000)

Keys for QEMU:
C:\Program Files\qemu>qemu-system-x86_64.exe -name Android_x86 -vga std -accel hax -cdrom "android_x86_64_0922-1116.iso " -m 3G -smp 3 -soundhw ac97 -net nic,model=e1000 -net user -usb -device usb-ehci,id=ehci -device usb-host,vendorid=0x04D9,productid=0x1503"



What I want:
  •  pass usb device by vendor/product ID

What happend:
qemu-system-x86_64.exe: Warning: speed mismatch trying to attach usb device "USB Keyboard" (а∙ speed) to bus "ehci.0", port "1" (high speed)
libusb
: warning [hid_open] could not open HID device in R/W mode (keyboard or mouse?) - trying without
qemu
-system-x86_64.exe: libusb_kernel_driver_active: -12 [NOT_SUPPORTED]


Евгений Коцарев

unread,
Sep 22, 2018, 6:31:34 AM9/22/18
to Android-x86
I can't figure out where I have to dig: qemu side or android kernel side 

Chih-Wei Huang

unread,
Sep 25, 2018, 12:34:09 AM9/25/18
to Android-x86
2018-09-22 18:31 GMT+08:00 Евгений Коцарев <kots...@gmail.com>:
> I can't figure out where I have to dig: qemu side or android kernel side

I have no experience to run qemu on Windows.
Maybe you can ask help from qemu community.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Reply all
Reply to author
Forward
0 new messages