USB Printer, in 2.4.0-test9
A message that is not in the archive (sent off-list or not yet received): [email protected]
Gerald, Benson-
USB in 2.4.0-test9 had several broken pieces in it. Something like 2.4.0-test10-pre6 is much better IMO. However, the USB printer driver in test10-pre6 still needs the attached patch (already sent to Linus).
Please try test10-pre6 with this patch and let me know how it is.
Thanks,
~Randy
Quoted 8 lines · [email protected] wrote:
In article
<linux.kernel.Pine.LNX.4.21.0010232241360.7434-100000@q.dyndns.org>,Quoted 2 lines · Benson Chow
I get a bunch of form feeds too but it continues to print a few characters fine and some that are totally wrong.
Quoted 6 lines
The same problem here. I'am using a dual Pentium (GA586-DX) with 2 x 233 MHz PentiumMMX and a PCI USB controller card with a VIA Chip. The printer is
a DeskJet 970Cxi. Printing via USB is completely impossible.Gerald
drivers/usb/printer.c renamed from drivers/usb/printer.c.org +3 -0
@@ -190,6 +190,8 @@ retval = retval >1 ? -EIO : -ENOSPC ; goto out; } +#else + retval =0 ;#endif usblp->used =1 ;
@@ -383,6 +385,7 @@return -EFAULT ;if ((usblp->readcount += count) == usblp->readurb.actual_length) { + usblp->readcount =0 ; usblp->readurb.dev = usblp->dev;usb_submit_urb (&usblp->readurb); }