Comment 44 for bug 468701

Revision history for this message
devnulljp (sendittodevnull) wrote :

/I have the same issue with a Canon ip4000 since upgrading to Kubuntu 10.04. It worked perfectly in 9.x, but now it doesn't show up.
I tried running the patch above #21 with
sudo ./cups-deviced-allow-device-ids-with-newline.patch -patch
patching file scheduler/cups-deviced.c
Hunk #1 FAILED at 577.
1 out of 1 hunk FAILED -- saving rejects to file scheduler/cups-deviced.c.rej

Here's the output of the commands above
sudo /usr/lib/cups/backend/usb
DEBUG: list_devices_libusb
DEBUG: usb_find_busses=8
DEBUG: usb_find_devices=12
direct usb://Canon/iP4000 "Canon iP4000" "Canon iP4000" "MFG:Canon;CMD:BJL,BJRaster3,BSCCe;SOJ:TXT01;MDL:iP4000;CLS:PRINTER;DES:Canon iP4000;VER:1.06;STA:10;FSI:02;" ""

sudo usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Canon;CMD:BJL,BJRaster3,BSCCe;SOJ:TXT01;MDL:iP4000;CLS:PRINTER;DES:Canon iP4000;VER:1.06;STA:10;FSI:02;

sudo usb_printerid /dev/usb/lp1
Error: No such file or directory: can't open '/dev/usb/lp1'

lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 04a9:1093 Canon, Inc. PIXMA iP4000
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0a5c:2145 Broadcom Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04b3:3107 IBM Corp. ThinkPad 800dpi Optical Travel Mouse
Bus 001 Device 003: ID 04b3:4485 IBM Corp. Serial Converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 2010-05-13 13:20 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 2 2010-05-13 13:20 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 3 2010-05-13 13:20 /dev/bus/usb/001/004
crw-rw-r-- 1 root root 189, 128 2010-05-13 13:20 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 256 2010-05-13 13:20 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 384 2010-05-13 13:20 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 385 2010-05-13 13:20 /dev/bus/usb/004/002
crw-rw-r-- 1 root root 189, 512 2010-05-13 13:20 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 2010-05-13 13:20 /dev/bus/usb/006/001
crw-rw-r-- 1 root lp 189, 643 2010-05-13 14:40 /dev/bus/usb/006/004
crw-rw-r-- 1 root root 189, 768 2010-05-13 13:20 /dev/bus/usb/007/001
crw-rw-r-- 1 root root 189, 896 2010-05-13 13:20 /dev/bus/usb/008/001
crw-rw---- 1 root lp 180, 0 2010-05-13 14:40 /dev/usb/lp0

I'd love to get this working again.