usb printer not detetcted in 1.4 [Solved]

Ajay ajay.s at gmx.com
Wed Jan 13 01:13:38 PST 2010


Issue solved, thanks to help on Archlinux irc channel. Documenting the solution here for others

The problem seems to be some canon usb printers not identifying themselves correctly. So even while it declares itself as a printer in lsusb -s -v, it is not picked by the kernel.

The workaround is

To load the usblp module. Yes usblp module is required,

install hal-cups-utils package. Not sure if this is archlinux specific,

restart cups

The printer should show up add printer dialog box!


> Update,
>
> /var/log/messages shows some arror, not sure if it affects CUPS
>
> new high speed USB device using ehci_hcd and address 3
> Jan 13 12:31:46 phobos kernel: usb 1-1: configuration #1 chosen from 1 choice
> Jan 13 12:31:46 phobos load-modules.sh: Not loading module 'usblp' for alias 'usb:v04A9p26A3d0100dc00dsc00dp00ic07isc01ip02' because it is blacklisted
> Jan 13 12:31:46 phobos load-modules.sh: 'usb:v04A9p26A3d0100dc00dsc00dp00icFFisc00ipFF' is not a valid module or alias name
>
> dmesg output
>
> usb 1-1: new high speed USB device using ehci_hcd and address 3
> usb 1-1: configuration #1 chosen from 1 choice
>
>
> > Hi,
> >
> > Canon MF 4150 worked fine in Cups 1.3x with the UFRII driver from canon,I'm running Arch Linux and the system is updated
> >
> > CUPS 1.4 fails to even detect the printer,
> >
> > It shows up on lsusb
> >
> > Bus 001 Device 002: ID 04a9:26a3 Canon, Inc. MF4100 series
> >
> > output of usb -v s 1:2 is pasted at http://pastebin.org/75295
> > looks like the device is identifying itself as a printer,
> > blacklisted usbllp module and created custom udev rule as discussed in this thread
> >
> > http://bbs.archlinux.org/viewtopic.php?pid=681730
> >
> > and it works, udev assigns ownership to lp group
> >
> > crw-rw-r-- 1 root root 189,   0 Jan 13 09:39 /dev/bus/usb/001/001
> > crw-rw-r-- 1 root lp   189,   1 Jan 13 11:57 /dev/bus/usb/001/002
> >
> > my username is in lp group,
> > CUPS Loglevel is set debug,the relevant section is at http://pastebin.org/75312
> > usb backed starts, but fails to detect the printer,
> >
> > [CGI] usb_find_devices=5
> > D [13/Jan/2010:11:25:38 +0530] [cups-deviced] PID 4030 (usb) exited with no errors
> >
> > lpinfo -v shows nothing as expected,
> >
> > network socket
> > network http
> > network lpd
> > network ipp
> > network smb
> > direct scsi
> > direct parallel:/dev/lp0
> >
> > i guess this is a problem with the new libusb backend,
> >
> > Is there something i'm missing or any workaround that maybe of use?
>





More information about the cups mailing list