qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] usb_linux_update_endp_table: Broken pipe


From: Paul Wise
Subject: [Qemu-devel] usb_linux_update_endp_table: Broken pipe
Date: Mon, 11 May 2009 15:35:06 +0800

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: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]