From: Paul Wise <pabs3@bonedaddy.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] usb_linux_update_endp_table: Broken pipe
Date: Mon, 11 May 2009 15:35:06 +0800 [thread overview]
Message-ID: <1242027306.22141.38.camel@chianamo> (raw)
[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]
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=winders.img,if=ide,index=0 -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=5744172&postcount=5
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.
--
bye,
pabs
http://bonedaddy.net/pabs3/
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2009-05-11 7:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 7:35 Paul Wise [this message]
2009-05-12 8:33 ` [Qemu-devel] usb_linux_update_endp_table: Broken pipe Pantelis Koukousoulas
2009-05-12 10:06 ` Paul Wise
2009-05-12 16:52 ` Pantelis Koukousoulas
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=1242027306.22141.38.camel@chianamo \
--to=pabs3@bonedaddy.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).