From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36468 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POo53-0003CV-98 for qemu-devel@nongnu.org; Sat, 04 Dec 2010 04:06:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POo51-0007wh-Ry for qemu-devel@nongnu.org; Sat, 04 Dec 2010 04:06:56 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:50158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POo51-0007wQ-Db for qemu-devel@nongnu.org; Sat, 04 Dec 2010 04:06:55 -0500 Message-ID: <4CFA0462.8080407@web.de> Date: Sat, 04 Dec 2010 10:05:38 +0100 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] State of EHCI emulation for QEMU References: <4CDEE6C5.3010808@web.de> <4CF988EC.6010004@redhat.com> In-Reply-To: <4CF988EC.6010004@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig012AC9B0FEEABA64DC2E4CA0" Sender: jan.kiszka@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Jes Sorensen , qemu-devel , "David S. Ahern" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig012AC9B0FEEABA64DC2E4CA0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 04.12.2010 01:18, Gerd Hoffmann wrote: > Hi, >=20 >> as you may know, there is an experimental git repository at >> >> git://git.kiszka.org/qemu.git ehci >=20 > Looking into this right now as I'm busy with various usb issues anyway.= > Current state: > http://cgit.freedesktop.org/spice/qemu/log/?h=3Dusb.1 >=20 >> - lacks integration with UHCI (currently, only EHCI is provided by >> that tree, breaking USB 1.1 devices) >=20 > Sort-of fixed (see docs/usb2.txt). Very nice. Some remarks: - command line must look like this: ... -drive if=3Dnone,id=3Dusbstick,file=3D/path/to/image \ -device usb-storage,bus=3Dehci.0,drive=3Dusbstick ie. register driver device referencing it, and there was a typo id->if - long-term, "-usb" should become a shorthand for "-device usb-uhci,id=3Duhci -device usb-ehci,id=3Dehci" (at least for x86) Unfortunately, msd is not yet magically healed: non queue head request in async schedule processing error - resetting ehci HC >=20 >> David furthermore provided the following to-dos: >> - lacks periodic frames support >> - lacks isochronous traffic support >=20 > --verbose please. There seems to be some code for that? >=20 >> - lacks split transactions support >=20 > That would need a USB 2.0 HUB emulation to be useful. > We lack that one too ;) >=20 >> - NAK/reload support is kludgy at best >=20 > --verbose please. >=20 Those are questions for David. Jan PS: Your tree lacks conversion of usb-musb.c. --------------enig012AC9B0FEEABA64DC2E4CA0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkz6BGUACgkQitSsb3rl5xSw/ACgja/7rTKtD03kpjoODqK7odLg jscAninFPI1/km3hPoZXMZpRq+CR6uLx =a2PM -----END PGP SIGNATURE----- --------------enig012AC9B0FEEABA64DC2E4CA0--