Hi!

Ok, I'll try to fix it.

Vojtech

On Wed, Jun 28, 2000 at 08:28:17AM -0700, Dunlap, Randy wrote:
> Yes, it's definitely still broken.  I knew that and I
> expect that at least KHK & Stephen Gowdy know it also.
> 
> I'll apply your 1-hour timeout patch [as a workaround],
> but I really believe that there should not be a timeout
> associated with the printer reporting an error.
> [I could be printing an important <something> overnight
> and have a printer error.  I'd like to be able to fix
> the printer error and resume printing when I find the
> problem the next morning -- not start the whole thing
> over again.]
> 
> A timeout on USB transfers is fine, but once the bulk
> transfer times out, the driver should notice that the
> printer is {off-line, out-of-paper, on-fire} and then
> just wait.........a long time, if needed,
> until that error condition goes away or the user kills
> the printing program => usblp_close().
> 
> Of course, one (other) problem with this is that the
> USB printer driver and HCD may have successfully
> transferred all of the data to the printer, gone thru
> usblp_close(), and the printer has lots of data
> buffered, when the printer has an error and there's
> nothing on the host that knows or cares about this,
> but I don't know how to solve this one.
> 
> Anyone is welcome to submit patches on this.  I'll get
> back to it one of these days.
> 
> ~Randy
> 
> P.S.:  Please switch to [EMAIL PROTECTED] .
> 
> ___________________________________________________
> 
> > -----Original Message-----
> > From: Pavel Machek [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 28, 2000 3:04 AM
> > To: [EMAIL PROTECTED]
> > Subject: [linux-usb] Printer still b0rken in -test2?
> > 
> > Hi!
> > 
> > I tried to print big file on my usb printer, and got this result:
> > 
> > Jun 28 12:01:48 bug kernel: printer.c: usblp_control_msg: rq: 0x01
> > dir: 1 recip: 1 value: 0 len: 0x1 result: 1
> > Jun 28 12:02:48 bug kernel: printer.c: nonzero read/write bulk status
> > received: -2
> > Jun 28 12:02:48 bug kernel: printer.c: usblp0: timed out
> > Jun 28 12:03:12 bug login[109]: `pavel' logged in on `tty4'
> > 
> > cat said "I/O error :-(".
> > -- 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Vojtech Pavlik
SuSE Labs

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to