• Alan Stern's avatar
    [PATCH] USB: 2.6-BK usb (printing) broken · b39c9f7e
    Alan Stern authored
    On Sat, 29 May 2004, Jens Axboe wrote:
    
    > > > Both 2.6.7-rc1 and BK current spit out a bunch of:
    > > >
    > > > drivers/usb/class/usblp.c: usblp1: nonzero read/write bulk status received: -2
    > > > drivers/usb/class/usblp.c: usblp1: error -2 reading from printer
    > > > drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
    > > > drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
    > > > ...
    > > >
    > > > (about ~80 of that last line) but work for me.
    
    > Sorry wasn't quite clear - the above messages are with 2.6.7-rc1 and
    > current bk with your patch backed out. Current bk with the patch reports
    > only the timeouts I originally listed.
    
    Okay, I feel better.
    
    It looks like those errors you see are caused by a bug in the usblp
    driver.  The patch below ought to help.
    b39c9f7e
usblp.c 33 KB