[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 685096] Re: USB Passthrough not working for Windows 7
From: |
Manuel Baesler |
Subject: |
[Qemu-devel] [Bug 685096] Re: USB Passthrough not working for Windows 7 guest |
Date: |
Sat, 01 Feb 2014 18:19:54 -0000 |
Hi, I had the same problem. Tested a lot. My solution to passthrough usb
devices to a windows 7 x64 guest:
parameter part:
-device usb-ehci,id=usb,bus=pci.0,addr=0x4 -device usb-
host,vendorid=0x{},productid=0x{},id=hostdev0,bus=usb.0
I also tried the device
piix4-usb-uhci
instead of usb-ehci
piix4-usb-uhci caused the Code 10 error in the windows device manager.
lsusb will give you a list of plugged in usb devices. eg.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
1d6b:0002
and
1d6b:0003
are vendorid:prouctid
replace {} with the ids and it should work. I tested it with
- ssd usb 3.0 drive
- retail usb seagate usb 2.0 hdd drive.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/685096
Title:
USB Passthrough not working for Windows 7 guest
Status in QEMU:
Confirmed
Status in “qemu-kvm” package in Ubuntu:
Confirmed
Bug description:
USB Passthrough from host to guest is not working for a 32-bit Windows
7 guest, while it works perfectly for a 32-bit Windows XP guest.
The device appears in the device manager of Windows 7, but with "Error
code 10: device cannot start". I have tried this with numerous USB
thumbdrives and a USB wireless NIC, all with the same result. The
device name and functionality is recognized, so at least some USB
negotiation is taking place.
I am trying this with the latest git-pull of QEMU-KVM.
The command line to launch qemu-kvm for win7 is:
sudo /home/user/local_install/bin/qemu-system-x86_64 -cpu core2duo -m 1024
-smp 2 -vga std -hda ./disk_images/win7.qcow -vnc :1 -boot c -usb -usbdevice
tablet -usbdevice host:0781:5150
The command line to launch qemu-kvm for winxp is:
sudo /home/user/local_install/bin/qemu-system-x86_64 -cpu core2duo -m 1024
-smp 2 -usb -vga std -hda ./winxpsp3.qcow -vnc :0 -boot c -usbdevice tablet
-usbdevice host:0781:5150
Any help is appreciated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/685096/+subscriptions
- [Qemu-devel] [Bug 685096] Re: USB Passthrough not working for Windows 7 guest,
Manuel Baesler <=