Hi,
 I got a new HP 1022 USB printer and found it didn't work real well
 with Linux - Took forever (3min) to print a page, and sometimes gave
 up half way through.
 Google found suggestions that it works better with USB2 (my desktop
 only had USB1) and indeed it works fine on my notebook.
 So I got a USB2.0 card for the desk top, but that doesn't work any
 better (possibly worse).  Ofcourse it works fine with the other
 operating system...

 So I'm after some help.

 When I plug it into a USB 1.1 (Intel 82801BA/BAM USB) which is driven
 by uhci_hcd,  I get lots of 
   usblp0: off-line
 messages, every 10 seconds or so.  The page sometimes prints
 successfully (After 3-4 minutes) or sometime the printer seems to
 give up and prints a partial page.

 When I plug into a USB2 port (ALi Corp USB 10b9:5239) driven by
 ehci_hcd, I get much worse.
   usblp0:  error -71 reading printer status
 many times a second. (-71 is EPROTO).

 I recompiled with USB_DEBUG and now I also get
   echi_hcd 0000:02:09.3: devpath 3 ep0in 3strikes
 with each 'error -71 reading printer status' message.

 My notebook which works well and fast has 
   USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI 
Controller 


 What does this all mean?  How can I fix?  What more info can I extract?

 I just tried running on the ochi_hcd driver, by removing the ehci_hcd
 driver, and it is still a bit slow but seems to work reliably.


 Only tangentially related:  
   When I plug two printers in (the HP and a canon i320) it reports


Jul 29 14:26:34 elijah kernel: usb 4-1: new full speed USB device using 
ohci_hcd and address 10
Jul 29 14:26:35 elijah kernel: drivers/usb/class/usblp.c: usblp0: USB 
Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2C17
Jul 29 14:28:52 elijah kernel: usb 1-2: new full speed USB device using 
uhci_hcd and address 7
Jul 29 14:28:53 elijah kernel: drivers/usb/class/usblp.c: usblp0: USB 
Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04A9 pid 0x107B

 note that BOTH are 'usblp0'.
 and only 'lp0' shows up in /sys/class/printer
 (udev manages to create both /dev/usb/lp[12])

 When I unplug them, 
Jul 29 14:31:00 elijah kernel: usb 1-2: USB disconnect, address 7
Jul 29 14:31:00 elijah kernel: drivers/usb/class/usblp.c: usblp1: removed
Jul 29 14:31:02 elijah kernel: usb 4-1: USB disconnect, address 10
Jul 29 14:31:03 elijah kernel: drivers/usb/class/usblp.c: usblp0: removed

 it reports usblp1 and usblp0 as you would expect, but 
 lp0 remains in /sys/class/printer

 Any hints before I dive into the code and try to figure it out
 myself?

Thanks,
NeilBrown
(not subscribed, so please include me in replies).



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to