CUPS does not recognize CANON MP 220 printer

Bug #438858 reported by Martin Beltov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: cups

Cups does not recognize my Canon MP 220 printer when I plugin the usb cable. It doesn't see it at all.
Instead it mounts internal the card reader

dmesg:
[ 90.728069] usb 2-2: new high speed USB device using ehci_hcd and address 2
[ 90.863053] usb 2-2: configuration #1 chosen from 1 choice
[ 90.992260] Initializing USB Mass Storage driver...
[ 90.992468] scsi6 : SCSI emulation for USB Mass Storage devices
[ 90.992606] usb-storage: device found at 2
[ 90.992610] usb-storage: waiting for device to settle before scanning
[ 90.992626] usbcore: registered new interface driver usb-storage
[ 90.992631] USB Mass Storage support registered.
[ 95.992812] usb-storage: device scan complete
[ 95.995148] scsi 6:0:0:0: Direct-Access Canon MP220 series 1050 PQ: 0 ANSI: 2
[ 96.000933] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 96.010255] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 101.394149] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[ 110.660092] ===>rt_ioctl_giwscan. 9(9) BSS returned, data->length = 1019
[ 110.660392] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=6)

ProblemType: Bug
Architecture: i386
Date: Tue Sep 29 20:17:15 2009
DistroRelease: Ubuntu 9.10
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: Acer Aspire 5737Z
NonfreeKernelModules: nvidia
Package: cups 1.4.1-2
Papersize: letter
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-11-generic root=UUID=720dde5d-768e-40c1-bd8e-5bfe98bd4a14 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: cups
Uname: Linux 2.6.31-11-generic i686
dmi.bios.date: 06/22/2009
dmi.bios.vendor: Acer
dmi.bios.version: V1.10
dmi.board.name: KALA0
dmi.board.vendor: Acer
dmi.board.version: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrV1.10:bd06/22/2009:svnAcer:pnAspire5737Z:pvrV1.10:rvnAcer:rnKALA0:rvrN/A:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5737Z
dmi.product.version: V1.10
dmi.sys.vendor: Acer

Revision history for this message
Martin Beltov (mbeltov) wrote :
Revision history for this message
Martin Beltov (mbeltov) wrote :

udev monitor log :

KERNEL[1254249561.664331] add /devices/pci0000:00/0000:00:06.1/usb2/2-2 (usb)
KERNEL[1254249561.665177] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.0 (usb)
KERNEL[1254249561.665226] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.1 (usb)
KERNEL[1254249561.665262] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2 (usb)
KERNEL[1254249561.665696] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10 (scsi)
KERNEL[1254249561.665733] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/scsi_host/host10 (scsi_host)
UDEV [1254249561.674319] add /devices/pci0000:00/0000:00:06.1/usb2/2-2 (usb)
UDEV [1254249561.684790] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2 (usb)
UDEV [1254249561.693737] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.0 (usb)
UDEV [1254249561.704217] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10 (scsi)
UDEV [1254249561.705026] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/scsi_host/host10 (scsi_host)
UDEV [1254249561.708861] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.1 (usb)
KERNEL[1254249566.674079] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0 (scsi)
KERNEL[1254249566.674134] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0 (scsi)
KERNEL[1254249566.674165] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0 (scsi_disk)
KERNEL[1254249566.674195] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0 (scsi_device)
KERNEL[1254249566.674288] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV [1254249566.674739] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0 (scsi)
UDEV [1254249566.675276] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0 (scsi)
UDEV [1254249566.675910] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0 (scsi_device)
UDEV [1254249566.676917] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[1254249566.679598] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/block/sdb (block)
UDEV [1254249566.682642] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0 (scsi_disk)
KERNEL[1254249566.682811] add /devices/virtual/bdi/8:16 (bdi)
UDEV [1254249566.683080] add /devices/virtual/bdi/8:16 (bdi)
UDEV [1254249567.872219] add /devices/pci0000:00/0000:00:06.1/usb2/2-2/2-2:1.2/host10/target10:0:0/10:0:0:0/block/sdb (block)

Revision history for this message
Steven Harms (sharms) wrote :

This is likely bug #420015 which will be fixed after first beta. For fun try this:

Run:
lsusb

and look for the line of your printer. The printer has a Bus and a Device number. Now run

sudo chgrp lp /dev/bus/usb/<bus number>/<device number>
sudo chmod 664 /dev/bus/usb/<bus number>/<device number>

with <bus number> and <device number> being padded with zeros to be always of 3 digits (8 -> 008, 11 -> 011, ...).

Example:

till@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ lsusb
Bus 002 Device 029: ID 03f0:1c02 Hewlett-Packard PhotoSmart A710 series
till@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ sudo chgrp lp /dev/bus/usb/002/029
till@till-laptop:~/ubuntu/cups/bzr/debian-trunk$ sudo chmod 664 /dev/bus/usb/002/029

Then try to add a print queue and print to it. Does it work?

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Beltov (mbeltov) wrote :

No I get the same result

Revision history for this message
Martin Beltov (mbeltov) wrote :

Oh sorry it appeared .Thanks for the fix

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.