Daniel Drake wrote:
Hi,
I'm having trouble with usblp on the 2.6 series kernels.
I have an Epson Stylus Color 680 printer plugged in through USB.

In the more recent 2.6 kernels, when plugging in my printer, it gets detected and assigned usblp (previously, nothing happened).
But when I try and print I get the following message in dmesg:


ohci-hcd 0000:00:02.1: urb df65dc80 path 3 ep2in 92d20000 cc 9 --> status -121

Which means that the host controller saw "data underrun"; and status -EREMOTEIO is listed in Documentation/usb/error-codes.txt as:

-EREMOTEIO              The data read from the endpoint did not fill the
                        specified buffer, and URB_SHORT_NOT_OK was set in
                        urb->transfer_flags.

But I don't think that was reflected up to usblp.c, since the
0x92d20000 is just the hardware status for that transfer, and
the only interesting bit there is the 00020000 bit ... it means
that "usblp.c" did not set URB_SHORT_NOT_OK.

That is, the printer driver will see that as a "normal" URB
completion, nothing to worry about even if it did kick in a
hardware fault report mechanism that sometimes indicates
problems (but typically doesn't, so I may tweak that message.)


usb 3-3: hcd_unlink_urb dca7d680 fail -22
usb 3-3: hcd_unlink_urb df65dc80 fail -22

That's usbcore reporting that the printer driver did something rather pointless, unlinking urbs that weren't linked.


And the printer doesnt respond.

Hard to say precisely what went wrong, the printer driver doesn't turn on any diagnostics when kernel config says CONFIG_USB_DEBUG.

(Feel like submitting a patch to make it do so?)


I've filed a bug (#1194) here:
http://bugme.osdl.org/show_bug.cgi?id=1194

If I can provide any more information or test any patches then please let me know.

Configure usblp debug info. This is likely a bug in that driver (printer driver needs attenion), the other stuff is just debug noise at the moment (other than pointing out nothing strange was going on).

- Dave




Please CC me as I'm not on the list.

Thanks.





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to