From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3Q37-00070C-0v for qemu-devel@nongnu.org; Mon, 11 May 2009 03:35:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3Q34-0006z4-CY for qemu-devel@nongnu.org; Mon, 11 May 2009 03:35:44 -0400 Received: from [199.232.76.173] (port=52376 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3Q34-0006z1-5d for qemu-devel@nongnu.org; Mon, 11 May 2009 03:35:42 -0400 Received: from mx20.gnu.org ([199.232.41.8]:26795) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3Q33-0002BG-KQ for qemu-devel@nongnu.org; Mon, 11 May 2009 03:35:41 -0400 Received: from ns1.bonedaddy.net ([70.91.141.202]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3Q30-0002cb-8t for qemu-devel@nongnu.org; Mon, 11 May 2009 03:35:38 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by ns1.bonedaddy.net (8.14.2/8.14.2) with ESMTP id n4B7Mdiu028467 for ; Mon, 11 May 2009 03:22:41 -0400 From: Paul Wise Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nLUX8RRUpJv6gwiBAjA8" Date: Mon, 11 May 2009 15:35:06 +0800 Message-Id: <1242027306.22141.38.camel@chianamo> Mime-Version: 1.0 Subject: [Qemu-devel] usb_linux_update_endp_table: Broken pipe List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=-nLUX8RRUpJv6gwiBAjA8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi all, [Please CC me on any replies, I'm not subscribed] I'm attempting to get a nicer setup for reverse engineering my scanner's USB protocol. By using libpcap 1.0, wireshark and Linux's usbmon I can capture USB packets. Add qemu's USB pass-through to that mix and I can capture the communication between the Windows driver and my scanner. Unfortunately qemu fails to add my USB scanner to the guest: $ qemu -M pc -m 256 -smp 1 -name winders -boot c -drive file=3Dwinders.img,= if=3Dide,index=3D0 -usb -usbdevice tablet -usbdevice host:043d:00bb husb: open device 4.6 husb: config #1 need -1 husb: 3 interfaces claimed for configuration 1 husb: grabbed usb device 4.6 usb_linux_update_endp_table: Broken pipe Warning: could not add USB device host:043d:00bb I note these messages on the list about this issue: http://lists.gnu.org/archive/html/qemu-devel/2008-03/msg00121.html http://lists.gnu.org/archive/html/qemu-devel/2008-09/msg00277.html http://lists.gnu.org/archive/html/qemu-devel/2008-09/msg00304.html I note a workaround in this post and I confirm it works (FSVO): http://ubuntuforums.org/showpost.php?p=3D5744172&postcount=3D5 Any thoughts as to what a proper fix might be? It would be good to not have to rebuild qemu with the workaround every time I update my system. The above workaround works in that it allows Windows to detect the scanner but there seems to be some other issue because the Windows scanner app can initiate scans but comes up with a generic error dialog half way through. Unsure if this has anything to do with qemu. --=20 bye, pabs http://bonedaddy.net/pabs3/ --=-nLUX8RRUpJv6gwiBAjA8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkoH1ScACgkQ5Sc9mGvjxCMfYwCeJs40oLyDwLPck7l93NY4pTjq KB8AoJyu+ffDZRbkSSOW+Npu1w1pBEQ0 =Z8JQ -----END PGP SIGNATURE----- --=-nLUX8RRUpJv6gwiBAjA8--