> Stephen-
> I can reproduce the error easily with the file that you sent to me
> using my Epson SC 740 and the stcany driver. I haven't tried any
> other drivers yet.
>
> You had some valuable info in your email (which I can't see right
> now for some reason)...about the printer not seeing any errors
> and retval == 0. It turns out that usblp_read_status() didn't
> check the "I have an error" bit correctly since it's a low-true
> (negative logic) bit. The attached patch corrects this, so now
> I get lots of "out of paper" errors in my kernel log file (maybe
> too many). (The rest of the patch is cosmetic.)
>
> I expect that more patches are still required in this area, but
> I'm out of time today.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It looks to me like usblp_write() can detect URB timeout
on an out-of-paper or off-line condition (and abort the XXX)
when it should just detect no-paper/off-line/on-fire and
wait for that condition to go away, so I think that some
reordering of the code in write() is needed.
I also plan to look at parport_lp (or whatever it's called)
and compare them, although it looks like Vojtech already
modeled usb printer.c on the parport lp code.
~Randy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]