Hi!
Printer timeout seems much too short to me:
If something goes wrong (paper jam), I put printer offline with a
button, fix problem, put it back online and expect it to
work. However, this is not case with usb printer: one minute timeout
is much too short. Fix is to extend timeout to one hour (which should
be enough for user action).
Pavel
PS: One minute definitely is NOT enough for user action on my star
lc-20 matrix printer: it prints slowly and any interference (font
change from front panel?) causes usb to fail.
--- clean/drivers/usb/printer.c Mon Jun 26 19:31:21 2000
+++ linux/drivers/usb/printer.c Wed Jun 28 12:07:51 2000
@@ -70,7 +70,7 @@
#define USBLP_MINORS 16
#define USBLP_MINOR_BASE 0
-#define USBLP_WRITE_TIMEOUT (60*HZ) /* 60 seconds */
+#define USBLP_WRITE_TIMEOUT (60*60*HZ) /* 60 minutes */
struct usblp {
struct usb_device *dev; /* USB device */
--
I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]