Hi,

i have problems printing to a HP 840C Deskjet printer using various
kernels (2.4.20 from SuSE, 2.4.22 vanilla, 2.4.25 vanilla). The usb
printer driver reports error -110 when submitting the print job
(ETIMEOUT).
I also have a similar system (same chipset, same hostcontroller, same
printer, same OS environment, different processor and board though)
which works fine with that printer, the printer also works fine on a
Via USB2.0 Hostcontroller.

The printer is switching to unidirectional mode instead of
bidirectional mode (USB_QUIRK_BIDIR) when getting connected.

Apr 14 12:22:45 nop kernel: printer.c: usblp0: USB Unidirectional printer dev 3 if 0 
alt 1 proto 2 vid 0x03F0 pid 0x0604

Huge and constant usb bulk transfers on that usb bus work fine (i.e.
usb-storage).

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 93/900 us (10%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=045e ProdID=0040 Rev= 3.00
S:  Manufacturer=Microsoft
S:  Product=Microsoft 3-Button Mouse with IntelliEye(TM)
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbmouse
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03f0 ProdID=0604 Rev= 1.00
S:  Manufacturer=Hewlett-Packard 
S:  Product=DeskJet 840C
S:  SerialNumber=HU1181Y1TJKV
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=01 Driver=usblp
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

uhci-debug is printing the following dumps right before the usblp
error is showing up:
Apr 14 12:23:50 nop kernel: [c5f000c0] link (05f00092) element (0614bdb0)
Apr 14 12:23:50 nop kernel:  Element != First TD
Apr 14 12:23:50 nop kernel:   0: [c614b030] link (0614b060) e3 SPD Length=3f MaxLen=3f 
DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332000)
Apr 14 12:23:50 nop kernel:   1: [c614b060] link (0614b090) e3 SPD Length=3f MaxLen=3f 
DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332040)
Apr 14 12:23:50 nop kernel:   2: [c614b090] link (0614b0c0) e3 SPD Length=3f MaxLen=3f 
DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332080)
Apr 14 12:23:50 nop kernel:   3: [c614b0c0] link (0614b0f0) e3 SPD Length=3f MaxLen=3f 
DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=013320c0)
Apr 14 12:23:50 nop kernel:   4: [c614b0f0] link (0614b124) e3 SPD Length=3f MaxLen=3f 
DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332100)
Apr 14 12:23:50 nop kernel:   5: [c614b120] link (0614b150) e3 SPD Length=3f MaxLen=3f 
DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332140)
Apr 14 12:23:50 nop kernel:   6: [c614b150] link (0614b180) e3 SPD Length=3f MaxLen=3f 
DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332180)
Apr 14 12:23:50 nop kernel:   7: [c614b180] link (0614b1b0) e3 SPD Length=3f MaxLen=3f 
DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=013321c0)
Apr 14 12:23:50 nop kernel:   8: [c614b1b0] link (0614b1e0) e3 SPD Length=3f MaxLen=3f 
DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332200)
Apr 14 12:23:50 nop kernel:   9: [c614b1e0] link (0614b214) e3 SPD Length=3f MaxLen=3f 
DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332240)
Apr 14 12:23:50 nop kernel:   10: [c614b210] link (0614b240) e3 SPD Length=3f 
MaxLen=3f DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332280)
Apr 14 12:23:50 nop kernel:   11: [c614b240] link (0614b270) e3 SPD Length=3f 
MaxLen=3f DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=013322c0)
Apr 14 12:23:50 nop kernel:   12: [c614b270] link (0614b2a0) e3 SPD Length=3f 
MaxLen=3f DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332300)
Apr 14 12:23:50 nop kernel:   13: [c614b2a0] link (0614b2d0) e3 SPD Length=3f 
MaxLen=3f DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332340)
Apr 14 12:23:50 nop kernel:   14: [c614b2d0] link (0614b304) e3 SPD Length=3f 
MaxLen=3f DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332380)
Apr 14 12:23:50 nop kernel:   15: [c614b300] link (0614b330) e3 SPD Length=3f 
MaxLen=3f DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=013323c0)
Apr 14 12:23:50 nop kernel:   16: [c614b330] link (0614b360) e3 SPD Length=3f 
MaxLen=3f DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332400)
Apr 14 12:23:50 nop kernel:   17: [c614b360] link (0614b390) e3 SPD Length=3f 
MaxLen=3f DT1 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332440)
Apr 14 12:23:50 nop kernel:   18: [c614b390] link (0614b3c0) e3 SPD Length=3f 
MaxLen=3f DT0 EndPt=1 Dev=3, PID=e1(OUT) (buf=01332480)

usblp error:
Apr 14 12:23:50 SYSTEM kernel: printer.c: usblp0: nonzero read/write bulk status 
received: -110

Any hints what could be going wrong here?

cheers, alex
-- 
alexander goller                [EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to