Received: from eggs.gnu.org ([2001:4830:134:3::10]:59053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZhSJ-00086E-BH for qemu-devel@nongnu.org; Sat, 27 Feb 2016 11:10:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZhSG-0007Z2-3t for qemu-devel@nongnu.org; Sat, 27 Feb 2016 11:10:55 -0500 Received: from indium.canonical.com ([91.189.90.7]:46996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZhSF-0007Yy-Tm for qemu-devel@nongnu.org; Sat, 27 Feb 2016 11:10:52 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1aZhSE-0002PL-TR for ; Sat, 27 Feb 2016 16:10:50 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D4BEB2E80C0 for ; Sat, 27 Feb 2016 16:10:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 27 Feb 2016 16:05:44 -0000 From: Bert Brecht Sender: bounces@canonical.com Message-Id: <20160227160544.1630.72757.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1550743] [NEW] connect low speed host devices to qemu ehci does not work Reply-To: Bug 1550743 <1550743@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: $ qemu-system-i386 -hda my_x86.img -device ich9-usb-ehci1,id=3Dehci -device= usb-host,vendorid=3D0x045e,productid=3D0x071d -serial stdio qemu-system-i386: Warning: speed mismatch trying to attach usb device "Micr= osoft? 2.4GHz Transceiver V" (=03 speed) to bus "ehci.0", port "1" (high sp= eed) qemu-system-i386: Warning: speed mismatch trying to attach usb device "Micr= osoft? 2.4GHz Transceiver V" (=03 speed) to bus "ehci.0", port "1" (high sp= eed) qemu-system-i386: Warning: speed mismatch trying to attach usb device "Micr= osoft? 2.4GHz Transceiver V" (=03 speed) to bus "ehci.0", port "1" (high sp= eed) Which is obviously wrong. The ehci specification states: Low-speed device, release ownership of port <=3D Table 2-16. Table 2-6: Number of Companion Controller (N_CC). This field indicates the number of companion controllers associated with this USB 2.0 host controller. A zero in this field indicates there are no companion host controllers. Por= t-ownership hand-off is not supported. Only high-speed devices are supported on the hos= t controller root ports. A value larger than zero in this field indicates there are companion USB 1.= 1 host controller(s). Port-ownership hand-offs are supported. High, Full- and Low-= speed devices are supported on the host controller root ports. Which is not longer true, as for example skylake and baytrail offers a dual usb stack of ehci and xhci. In that case, EHCI handles the low speed device as well. brgds, Bert ** Affects: qemu Importance: Undecided Status: New ** Tags: ehci usb -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1550743 Title: connect low speed host devices to qemu ehci does not work Status in QEMU: New Bug description: $ qemu-system-i386 -hda my_x86.img -device ich9-usb-ehci1,id=3Dehci -devi= ce usb-host,vendorid=3D0x045e,productid=3D0x071d -serial stdio qemu-system-i386: Warning: speed mismatch trying to attach usb device "Mi= crosoft? 2.4GHz Transceiver V" (=03 speed) to bus "ehci.0", port "1" (high = speed) qemu-system-i386: Warning: speed mismatch trying to attach usb device "Mi= crosoft? 2.4GHz Transceiver V" (=03 speed) to bus "ehci.0", port "1" (high = speed) qemu-system-i386: Warning: speed mismatch trying to attach usb device "Mi= crosoft? 2.4GHz Transceiver V" (=03 speed) to bus "ehci.0", port "1" (high = speed) Which is obviously wrong. The ehci specification states: Low-speed device, release ownership of port <=3D Table 2-16. Table 2-6: Number of Companion Controller (N_CC). This field indicates the number of companion controllers associated with this USB 2.0 host controller. A zero in this field indicates there are no companion host controllers. P= ort-ownership hand-off is not supported. Only high-speed devices are supported on the h= ost controller root ports. A value larger than zero in this field indicates there are companion USB = 1.1 host controller(s). Port-ownership hand-offs are supported. High, Full- and Lo= w-speed devices are supported on the host controller root ports. Which is not longer true, as for example skylake and baytrail offers a dual usb stack of ehci and xhci. In that case, EHCI handles the low speed device as well. brgds, Bert To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1550743/+subscriptions