drivers/usb/class/usblp.c: usblp0: failed reading printer status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.15 (Ubuntu) |
Fix Released
|
Medium
|
Ben Collins |
Bug Description
No matter which application I am using, after printing a first job the second will
not work. I have to pull the plug and switch it on again. Then, in the
printer-dialog, I need to "Resume" the printer. After that the job is printed but the
next one will again not work.
If I print, pull the plug, switch on and print again it works. So it has nothing to
do with the spooler or so but with something low level.
Software: Ubuntu Breezy, last softwareupdate on Sep 13, no selfcompiled packages,
only ubuntu-debs.
CUPS: 1.1.23-10ubuntu3
Hardware:
Computer: HP Omnibook xt1000
The printer:
Bus 001 Device 011: ID 03f0:1017 Hewlett-Packard
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x03f0 Hewlett-Packard
idProduct 0x1017
bcdDevice 1.00
iManufacturer 1 Hewlett-Packard
iProduct 2 hp LaserJet 1300
iSerial 3 00CNBD017532
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 78
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 3
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 255
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
carsten@
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.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.12-8-386 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S: SerialNumber=
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=315/900 us (35%), #Int= 4, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.12-8-386 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S: SerialNumber=
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0605 Rev= 6.09
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 11 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=1017 Rev= 1.00
S: Manufacturer=
S: Product=hp LaserJet 1300
S: SerialNumber=
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=03 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
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=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=07(print) Sub=01 Prot=01 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=04a9 ProdID=220d Rev= 1.00
S: Manufacturer=Canon
S: Product=CanoScan
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=16ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c00e Rev=11.10
S: Manufacturer=
S: Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=04 Dev#= 5 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0566 ProdID=3002 Rev= 1.00
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=82(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
=======
My dmesg sais:
[ 504.448684] usb 1-1.1: new full speed USB device using uhci_hcd and address 6
[ 505.034028] drivers/
0 alt 1 proto 2 vid 0x03F0 pid 0x
1017
[ 505.043909] usbcore: registered new driver usblp
[ 505.043938] drivers/
[ 572.750561] acpi-cpufreq: Transition failed
[ 604.867626] acpi-cpufreq: Transition failed
[ 616.030768] acpi-cpufreq: Transition failed
[ 853.093675] acpi-cpufreq: Transition failed
[ 575.413261] drivers/
[ 874.058222] drivers/
[ 884.064601] drivers/
[ 894.070984] drivers/
[ 904.080382] drivers/
[ 914.086751] drivers/
[ 922.959075] acpi-cpufreq: Transition failed
[ 924.093106] drivers/
[ 1004.539170] usb 1-1.1: USB disconnect, address 6
[ 1004.546047] drivers/
[ 1092.391575] usb 1-1.1: new full speed USB device using uhci_hcd and address 7
[ 1092.471059] drivers/
0 alt 1 proto 2 vid 0x03F0 pid 0x
1017
[ 1288.698681] drivers/
[ 1288.703601] drivers/
received: -71
[ 1288.704672] drivers/
[ 1288.705628] drivers/
[ 1288.706627] drivers/
[ 1288.707610] drivers/
[ 1288.710076] drivers/
[ 1288.710649] drivers/
[ 1288.711611] drivers/
[ 1288.712661] usb 1-1.1: USB disconnect, address 7
[ 1288.723159] drivers/
[ 1288.746684] drivers/
[ 1299.603408] usb 1-1.1: new full speed USB device using uhci_hcd and address 8
[ 1299.675520] drivers/
0 alt 1 proto 2 vid 0x03F0 pid 0x
1017
[ 1351.417512] drivers/
[ 1351.422494] drivers/
received: -71
Changed in linux-source-2.6.15: | |
status: | Fix Committed → Fix Released |
"pull the plug" means: Pull the printer plug, of course. Switch it off.
I forgot to give you my cups-log. These are the last few pages of it.
I [14/Sep/ 2005:16: 15:02 +0200] Started filter /usr/lib/ cups/filter/ foomatic- rip (PID 7769) for 2005:16: 15:02 +0200] Started backend /usr/lib/ cups/backend/ usb (PID 7770) for job 22. 2005:16: 15:08 +0200] [Job 22] Unable to send print file to printer: No such device 2005:16: 15:08 +0200] PID 7770 stopped with status 1! 2005:16: 15:08 +0200] Hint: Try setting the LogLevel to "debug" to find out more. 2005:16: 15:08 +0200] PID 7769 stopped with status 9! 2005:16: 15:08 +0200] Hint: Try setting the LogLevel to "debug" to find out more. 2005:16: 15:08 +0200] Saving printers.conf... 2005:16: 16:02 +0200] Saving printers.conf... 2005:16: 16:02 +0200] Printer 'LaserJet-1300' started by 'root'. 2005:16: 16:02 +0200] Started filter /usr/lib/ cups/filter/ pstops (PID 7996) for job 22. 2005:16: 16:02 +0200] Started filter /usr/lib/ cups/filter/ foomatic- rip (PID 7997) for 2005:16: 16:02 +0200] Started backend /usr/lib/ cups/backend/ usb (PID 7998) for job 22. 2005:16: 23:59 +0200] Adding start banner page "none" to job 23. 2005:16: 23:59 +0200] Adding end banner page "none" to job 23. 2005:16: 23:59 +0200] Job 23 queued on 'LaserJet-1300' by 'carsten'. 2005:16: 23:59 +0200] Started filter /usr/lib/ cups/filter/ pstops (PID 8203) for job 23. 2005:16: 23:59 +0200] Started filter /usr/lib/ cups/filter/ foomatic- rip (PID 8204) for 2005:16: 23:59 +0200] Started backend /usr/lib/ cups/backend/ usb (PID 8205) for job 23. 2005:16: 24:05 +0200] [Job 23] Unable to send print file to printer: No such device 2005:16: 24:05 +0200] PID 8205 stopped with status 1! 2005:16: 24:05 +0200] Hint: Try setting the LogLevel to "debug" to find out more. 2005:16: 24:05 +0200] Saving printers.conf... 2005:16: 24:35 +0200] Saving printers.conf... 2005:16: 24:35 +0200] Printer 'LaserJet-1300' started by 'root'. 2005:16: 24:35 +0200] Started filter /usr/lib/ cups/filter/ pstops (PID 8290) for job 23. 2005:16: 24:35 +0200] Started filter /usr/lib/ cups/filter/ foomatic- rip (PID 8291) for 2005:16: 24:35 +0200] Started backend /usr/lib/ cups/backend/ usb (PID 8292) for job 23. 2005:16: 24:36 +0200] PID 8292 stopped with status 1! 2005:16: 24:36 +0200] Hint: Try setting the LogLevel to "debug" to find out more. 2005:16: 24:36 +0200] [Job 23] Unable to open USB device "usb:// HP/LaserJet% 201300" : No 2005:16: 24:36 +0200] PID 8291 stopped with status 9! 2005:16: 24:36 +0200] Hint: Try setting the LogLevel to "debug" to find out more. 2005:16: 24:36 +0200] Saving printers.conf... 2005:16: 24:41 +0200] Saving printers.conf... 2005:16: 24:41 +0200] Printer 'LaserJet-1300' started by 'root'. 2005:16: 24:41 +0200] Started filter /usr/lib/ cups/filter/ pstops (PID 8423...
job 22.
I [14/Sep/
E [14/Sep/
E [14/Sep/
I [14/Sep/
E [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
job 22.
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
job 23.
I [14/Sep/
E [14/Sep/
E [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
job 23.
I [14/Sep/
E [14/Sep/
I [14/Sep/
E [14/Sep/
such device
E [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/
I [14/Sep/