From: MikeFrysinger <vapier@gentoo.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1385934] Re: USB with passthrougth guest cannot enumerate USB host
Date: Mon, 10 Nov 2014 17:52:46 -0000 [thread overview]
Message-ID: <20141110175246.13477.10696.malone@soybean.canonical.com> (raw)
In-Reply-To: 20141026182810.4047.56419.malonedeb@soybean.canonical.com
i've attached the `lsusb -v` output for the device. it is USB 2.0. the
sysfs speed file shows 480.
the qemu cmdline:
qemu-system-x86_64 \
-hda images/root \
-hdb images/var \
-hdc images/usr \
-append "root=/dev/hda console=ttyS0 panic=3 init=/ginit" \
-kernel images/bzImage \
-nographic \
-no-reboot \
-m 512 \
-enable-kvm \
-usbdevice host:1307:0163
** Attachment added: "lsusb.txt"
https://bugs.launchpad.net/qemu/+bug/1385934/+attachment/4257409/+files/lsusb.txt
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1385934
Title:
USB with passthrougth guest cannot enumerate USB host
Status in QEMU:
New
Bug description:
Following the guide at http://www.linux-kvm.org/page/USB_Host_Device_Assigned_to_Guest
Qemu is launched with qemu-system-x86_64 /dev/vgstripe/kvm_wifi -enable-kvm -m 512 -k fr -net nic -net tap,ifname=tap1,script=/bin/ifup.script -kernel /usr/src/linux_git/arch/x86_64/boot/bzImage -append root=/dev/sda -usb -device usb-host,hostbus=1,hostaddr=6
The USB device does not show and USB stack seems not working
On the guest:
dmesg |grep -i usb
[ 1.416966] hub 1-0:1.0: USB hub found
[ 1.420431] usbcore: registered new interface driver usb-storage
[ 1.445374] usbcore: registered new interface driver usbhid
[ 1.446839] usbhid: USB HID core driver
[ 1.863226] usb 1-1: new low-speed USB device number 2 using uhci_hcd
[ 2.126173] usb 1-1: Invalid ep0 maxpacket: 64
[ 2.373161] usb 1-1: new low-speed USB device number 3 using uhci_hcd
[ 2.648112] usb 1-1: Invalid ep0 maxpacket: 64
[ 2.892404] usb 1-1: new low-speed USB device number 4 using uhci_hcd
[ 2.913001] usb 1-1: Invalid ep0 maxpacket: 64
[ 3.161367] usb 1-1: new low-speed USB device number 5 using uhci_hcd
[ 3.180070] usb 1-1: Invalid ep0 maxpacket: 64
[ 3.181633] usb usb1-port1: unable to enumerate USB device
lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
On the host:
lsusb
Bus 001 Device 006: ID 0457:0163 Silicon Integrated Systems Corp. SiS163U 802.11 Wireless LAN Adapter
qemu-system-x86_64 --version
QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1385934/+subscriptions
next prev parent reply other threads:[~2014-11-10 18:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 18:28 [Qemu-devel] [Bug 1385934] [NEW] USB with passthrougth guest cannot enumerate USB host montjoie
2014-10-27 14:44 ` [Qemu-devel] [Bug 1385934] " Iggy
2014-11-08 18:47 ` MikeFrysinger
2014-11-10 6:04 ` Gonglei
2014-11-10 17:52 ` MikeFrysinger [this message]
2014-11-11 1:40 ` Gonglei
2014-12-10 9:54 ` Leen Keus
2014-12-31 2:52 ` Mike Frysinger
2015-03-25 8:20 ` montjoie
2018-01-18 15:17 ` Thomas Huth
2018-03-20 4:17 ` Launchpad Bug Tracker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141110175246.13477.10696.malone@soybean.canonical.com \
--to=vapier@gentoo.org \
--cc=1385934@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).