Re: [PATCH] usblp.c (Was: usblp_write spins forever after an error)

From: David Woodhouse
Date: Mon May 10 2004 - 06:41:10 EST


On Fri, 2004-03-05 at 18:11 +0000, Paulo Marques wrote:
> Anyway, this time I tested it using blocking and non-blocking I/O and it works
> for both cases. Even better, this patch only changes the behaviour for
> non-blocking I/O, and keeps the same behaviour for the more usual blocking I/O
> (at least on kernel 2.6).

I'm still seeing problems with an HP LaserJet 1200.

May 7 07:12:56 imladris kernel: usb 1-1.3.2: new full speed USB device using address 10
May 7 07:12:56 imladris kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 10 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0317
May 8 20:26:12 imladris kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -110
May 8 20:26:12 imladris kernel: drivers/usb/class/usblp.c: usblp0: failed reading printer status
May 8 20:26:12 imladris kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -110
May 8 20:26:12 imladris kernel: drivers/usb/class/usblp.c: usblp0: error -110 reading printer status
May 8 20:26:43 imladris last message repeated 10225 times
May 8 20:27:09 imladris last message repeated 8780 times

--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/