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


[EMAIL PROTECTED] wrote:
> 
> In article
>  <[EMAIL PROTECTED]>,
> Benson Chow <[EMAIL PROTECTED]> 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);
        }

Reply via email to