public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: USBLP_WRITE_TIMEOUT too short for Kyocera FS-1010.
@ 2002-08-08 23:33 Adam J. Richter
  2002-08-08 23:52 ` [linux-usb-devel] " Johannes Erdfelt
  0 siblings, 1 reply; 2+ messages in thread
From: Adam J. Richter @ 2002-08-08 23:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-usb-devel, mjr

Mark J Roberts writes:
>Printing complicated postscript documents makes my Kyocera FS-1010
>hit that timeout. I increased it to 240 seconds and the problem
>seems to have disappeared.
>
>I guess there ought to be a blacklist or something.

	I saw a similar thing a few weeks ago (under 2.5.27?) with the
Hewlett-Packard 656C ink jet printer, which only occurred when I would
send a page with images on it, so the printer really would need a long
time before it was ready to accept more data.

	I would hope that the kernel should be able to wait as long
as the printer wants before the printer indicates that it is ready for
more data.  I don't know if this is a bug in these printers' USB
implementations or if it is a real kernel bug.  I just haven't had
time to investigate it yet (and I no longer have access to that printer,
although 656C's are only $30 at Fry's).

Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-usb-devel] Re: USBLP_WRITE_TIMEOUT too short for Kyocera FS-1010.
  2002-08-08 23:33 USBLP_WRITE_TIMEOUT too short for Kyocera FS-1010 Adam J. Richter
@ 2002-08-08 23:52 ` Johannes Erdfelt
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Erdfelt @ 2002-08-08 23:52 UTC (permalink / raw)
  To: Adam J. Richter; +Cc: linux-kernel, linux-usb-devel, mjr

On Thu, Aug 08, 2002, Adam J. Richter <adam@yggdrasil.com> wrote:
> Mark J Roberts writes:
> >Printing complicated postscript documents makes my Kyocera FS-1010
> >hit that timeout. I increased it to 240 seconds and the problem
> >seems to have disappeared.
> >
> >I guess there ought to be a blacklist or something.
> 
> 	I saw a similar thing a few weeks ago (under 2.5.27?) with the
> Hewlett-Packard 656C ink jet printer, which only occurred when I would
> send a page with images on it, so the printer really would need a long
> time before it was ready to accept more data.
> 
> 	I would hope that the kernel should be able to wait as long
> as the printer wants before the printer indicates that it is ready for
> more data.  I don't know if this is a bug in these printers' USB
> implementations or if it is a real kernel bug.  I just haven't had
> time to investigate it yet (and I no longer have access to that printer,
> although 656C's are only $30 at Fry's).

I suspect it's a bug in the kernel.

It sounds like the printer is NAKing all of the transfers while it's
busy flushing out the data sent to it. This is to be expected because it
can only store so much data and sending data is MUCH faster than it can
print it.

I think the problem is that the printer driver has a timeout. I don't
think it should. It just doesn't make sense in this case. I say let the
device NAK as long as it wants. It's the applications job to decide if
it's been too long or not.

JE


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-08 23:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-08 23:33 USBLP_WRITE_TIMEOUT too short for Kyocera FS-1010 Adam J. Richter
2002-08-08 23:52 ` [linux-usb-devel] " Johannes Erdfelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox