From: Randy Dunlap <randy.dunlap@intel.com>
To: Gerald.Haese@gmx.de
Cc: linux-kernel@vger.kernel.org, blc@q.dyndns.org
Subject: Re: USB Printer, in 2.4.0-test9
Date: Fri, 27 Oct 2000 14:05:55 -0700 [thread overview]
Message-ID: <39F9EE33.B65ABE71@intel.com> (raw)
In-Reply-To: <2915.972470910@www33.gmx.net>
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
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
[-- Attachment #2: printer_c_patch --]
[-- Type: text/plain, Size: 458 bytes --]
--- 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);
}
next parent reply other threads:[~2000-10-27 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2915.972470910@www33.gmx.net>
2000-10-27 21:05 ` Randy Dunlap [this message]
2000-11-01 0:16 USB Printer, in 2.4.0-test9 Dunlap, Randy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39F9EE33.B65ABE71@intel.com \
--to=randy.dunlap@intel.com \
--cc=Gerald.Haese@gmx.de \
--cc=blc@q.dyndns.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox