Backend not finding USB printer
Stewart
sandreas41 at gmail.com
Sat Oct 25 12:25:06 PDT 2008
Somehow, my Canon Pixma USB printer no longer prints.
My fix in July to load printer support as modules in the kernel, no longer does the trick.
Now, it tries to print, and top shows 95% cpu usage:
2633 lp 20 R 95.0 0.1 2:22 usb://Canon/iP6220D 62 sandreas Untitled1
1 PageSize=Letter InputSlot=AutomaticFeed job-uuid=urn:uuid:799a00fd-3ae5-36ef-7
c8c-60a6f35069f6
The modules are loaded:
# lsmod
Module Size Used by
usb_storage 34432 0
usbhid 17828 0
usblp 11136 0
...
# lpstat -t
scheduler is running
system default destination: tp0
device for tp0: parallel:/dev/lp0
device for tp1: usb://Canon/iP6220D
device for tp2: usb://Canon/iP6220D
device for tp3: usb://Canon/iP6220D
device for tp4: parallel:/dev/lp0
device for tp5: usb://Canon/iP6220D
tp0 accepting requests since Thu 18 Sep 2008 11:43:36 AM PDT
tp1 accepting requests since Sat 25 Oct 2008 10:28:44 AM PDT
tp2 accepting requests since Sat 25 Oct 2008 11:29:02 AM PDT
tp3 accepting requests since Sun 05 Oct 2008 07:53:50 PM PDT
tp4 accepting requests since Tue 07 Oct 2008 06:47:35 AM PDT
tp5 accepting requests since Fri 15 Aug 2008 01:22:47 PM PDT
printer tp0 is idle. enabled since Thu 18 Sep 2008 11:43:36 AM PDT
printer tp1 is idle. enabled since Sat 25 Oct 2008 10:28:44 AM PDT
printer tp2 now printing tp2-62. enabled since Sat 25 Oct 2008 11:29:02 AM PDT
TurboPrint: printing page 1, 100% complete...
printer tp3 is idle. enabled since Sun 05 Oct 2008 07:53:50 PM PDT
printer tp4 is idle. enabled since Tue 07 Oct 2008 06:47:35 AM PDT
printer tp5 is idle. enabled since Fri 15 Aug 2008 01:22:47 PM PDT
tp2-62 sandreas 27648 Sat 25 Oct 2008 11:28:25 AM PDT
but backend now shows nothing:
# /usr/lib/cups/backend/usb
# ls --full /dev/usb/lp0
crw-rw-rw- 1 root lp 180, 0 Fri Jan 11 21:47:38 2008 /dev/usb/lp0
# lpinfo -v
network socket
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
# lsusb -s 2:2
Bus 002 Device 002: ID 04a9:10a8 Canon Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x04a9 Canon Inc.
idProduct 0x10a8
bcdDevice 1.03
iManufacturer 1 Canon
iProduct 2 iP6220D
iSerial 3 100D07
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 80
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 2 Bidirectional
iInterface 0
....[clip]
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
....[clip]
Interface Descriptor:
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
....
Do i need a custom backend because this printer also reports itself as a mass storage and HID devices?
Dare I ask what broke it? I did not upgrade or change anything.
Running Cups 1.3.6 on kernel 2.6.24.7
In 3 refresh cycles I watched the % printed move from 33 to 100%. It thinks it is sending it somewhere?
What could I check?
Stewart
More information about the cups
mailing list