Messages in this thread Patch in this message | | | Date | Fri, 27 Oct 2000 14:05:55 -0700 | From | Randy Dunlap <> | Subject | Re: USB Printer, in 2.4.0-test9 |
| |
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
Gerald.Haese@gmx.de wrote: > > In article > <linux.kernel.Pine.LNX.4.21.0010232241360.7434-100000@q.dyndns.org>, > Benson Chow <blc@q.dyndns.org> wrote: > > > I get a bunch of form feeds too but it continues to print a few > > characters fine and some that are totally wrong. > > 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--- linux/drivers/usb/printer.c.org Thu Oct 26 17:36:50 2000 +++ linux/drivers/usb/printer.c Thu Oct 26 17:09:53 2000 @@ -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); } | |