lkml.org 
[lkml]   [2004]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectUSB: missing rcomplete=0 in printer.c (David Woodhouse)
Synopsys: CUPS refuses to work with HP 1200, kernel produces silly messages.

I do not remember if David Woodhouse actually wrote it, but he certainly
reported the problem.

-- Pete

--- linux-2.4.27-rc3/drivers/usb/printer.c 2004-07-25 23:00:17.000000000 -0700
+++ linux-2.4.27-rc3-usbx/drivers/usb/printer.c 2004-07-27 10:28:53.000000000 -0700
@@ -747,6 +757,7 @@ static ssize_t usblp_read(struct file *f
usblp->minor, usblp->readurb->status);
usblp->readurb->dev = usblp->dev;
usblp->readcount = 0;
+ usblp->rcomplete = 0;
if (usb_submit_urb(usblp->readurb) < 0)
dbg("error submitting urb");
count = -EIO;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.029 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site