Unable to print to my kodak esp 3250 printer

Bug #916652 reported by Ken Knarr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have installed the appropriate drivers but usb subsystem doesn't seem to detect that the printer is present.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cups 1.5.0-8ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Sat Jan 14 20:15:37 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
Lpstat: device for Kodak_ESP_3250: usb://Eastman%20Kodak%20Company/KODAK%203200%20AiO?serial=E058623
Lsusb: Error: command ['lsusb'] failed with exit code -11:
MachineType: Dell Inc. OptiPlex GX620
Papersize: letter
PpdFiles: Kodak_ESP_3250: Kodak ESP 3200
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=92fccaa3-8361-4876-9bd9-ebf275be7153 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/30/2006
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0HH807
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd11/30/2006:svnDellInc.:pnOptiPlexGX620:pvr:rvnDellInc.:rn0HH807:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex GX620
dmi.sys.vendor: Dell Inc.
mtime.conffile..etc.cups.cupsd.conf: 2012-01-08T12:34:40.998922

Revision history for this message
Ken Knarr (kenknarr) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you try the package

cups - 1.5.0-8ubuntu7~ppa1

from my PPA

https://launchpad.net/~till-kamppeter/+archive/ppa

Its USB backend is based on the new libusb 1.0.x. Perhaps this helps on your problem.

The backend can sttill have bugs, so tell us exactly what the behavior is after having installed the new CUPS package.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you also run the following commands in a terminal window (with your printer connected to the USB and turned on, before and after installing the PPA package of CUPS):

lsusb
ls -l /dev/bus/usb/*/*
ls -l /dev/usb/lp*
sudo /usr/lib/cups/backend/usb
ldd /usr/lib/cups/backend/usb | grep usb
lpinfo -v

Post the output of the commands here.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

If the installation of the PPA package of CUPS does not solve your problem, run the following commands in a terminal window, also with the printer connected and turned on:

sudo modprobe usblp
lsmod | grep usb
sudo usb_printerid /dev/usb/lp0
sudo usb_printerid /dev/usb/lp1

Post all the output here. Run also these commands

sudo usb_printerid /dev/usb/lp0 > id0.txt
sudo usb_printerid /dev/usb/lp1 > id1.txt

and attach the two files to this bug report. Do not compress or package together these two files.

After that run the command

sudo rmmod usblp

Revision history for this message
Ken Knarr (kenknarr) wrote :

Here are the results of those commands, both before and after installing the updates:
ken@ken-OptiPlex-GX620:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 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 001 Device 005: ID 040a:4043 Kodak Co.
Bus 001 Device 006: ID 0830:0101 Palm, Inc. Pre
Bus 002 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
Bus 002 Device 003: ID 045e:0095 Microsoft Corp. IntelliMouse Explorer 4.0 (IntelliPoint)
Bus 003 Device 002: ID 046d:089d Logitech, Inc. QuickCam E2500 series
ken@ken-OptiPlex-GX620:~$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 2012-01-15 10:04 /dev/bus/usb/001/001
crw-rw-r-- 1 root lp 189, 4 2012-01-15 10:08 /dev/bus/usb/001/005
crw-rw-r-- 1 root root 189, 5 2012-01-15 10:04 /dev/bus/usb/001/006
crw-rw-r-- 1 root root 189, 128 2012-01-15 10:04 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 2012-01-15 10:04 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 130 2012-01-15 10:04 /dev/bus/usb/002/003
crw-rw-r-- 1 root root 189, 256 2012-01-15 10:04 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 2012-01-15 10:04 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 384 2012-01-15 10:04 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 2012-01-15 10:04 /dev/bus/usb/005/001
ken@ken-OptiPlex-GX620:~$ ls -l /dev/usb/lp*
ls: cannot access /dev/usb/lp*: No such file or directory
ken@ken-OptiPlex-GX620:~$ sudo /usr/lib/cups/backend/usb
[sudo] password for ken:
DEBUG: list_devices
DEBUG: libusb_get_device_list=10
ken@ken-OptiPlex-GX620:~$ ldd /usr/lib/cups/backend/usb | grep usb
 libusb-1.0.so.0 => /lib/i386-linux-gnu/libusb-1.0.so.0 (0x00f6f000)
ken@ken-OptiPlex-GX620:~$ lpinfo -v
network smb
network ipp
network lpd
network beh
network socket
network http
serial serial:/dev/ttyS0?baud=115200
direct parallel:/dev/lp0

ken@ken-OptiPlex-GX620:~$ sudo modprobe usblp
ken@ken-OptiPlex-GX620:~$ lsmod | grep usb
usblp 17833 0
snd_usb_audio 108433 1
snd_pcm 88504 3 snd_intel8x0,snd_usb_audio,snd_ac97_codec
snd_hwdep 13276 1 snd_usb_audio
snd_usbmidi_lib 24185 1 snd_usb_audio
usbnet 25214 3 rndis_wlan,rndis_host,cdc_ether
snd_rawmidi 25113 1 snd_usbmidi_lib
snd 62152 17 snd_intel8x0,snd_usb_audio,snd_ac97_codec,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq_midi_event,snd_seq,snd_timer,snd_seq_device
usb_storage 44173 0
usbhid 41905 0
hid 77367 1 usbhid
ken@ken-OptiPlex-GX620:~$ sudo usb_printerid /dev/usb/lp0
Error: No such file or directory: can't open '/dev/usb/lp0'
ken@ken-OptiPlex-GX620:~$ sudo usb_printerid /dev/usb/lp1
Error: No such file or directory: can't open '/dev/usb/lp1'

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thank you very much. Looks much like a kernel bug, not only the "usb" backend (both versions for old and new libusb) of CUPS detects and accesses your printer but even the "usblp" kernel module succeeds to access your printer.

Revision history for this message
Ken Knarr (kenknarr) wrote :
Download full text (4.4 KiB)

I just realized that for some reason only the "After" showed up above. Here is the full before and after output from the commands:

BEFORE INSTALLATION:
ken@ken-OptiPlex-GX620:~$ Segmentation fault
Segmentation: command not found
ken@ken-OptiPlex-GX620:~$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 2012-01-14 18:59 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 5 2012-01-14 18:59 /dev/bus/usb/001/006
crw-rw-r-- 1 root root 189, 13 2012-01-14 20:27 /dev/bus/usb/001/014
crw-rw-r-- 1 root root 189, 128 2012-01-14 18:59 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 2012-01-14 18:59 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 130 2012-01-14 18:59 /dev/bus/usb/002/003
crw-rw-r-- 1 root root 189, 256 2012-01-14 18:59 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 2012-01-14 18:59 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 384 2012-01-14 18:59 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 2012-01-14 18:59 /dev/bus/usb/005/001
ken@ken-OptiPlex-GX620:~$ ls -l /dev/usb/lp*
ls: cannot access /dev/usb/lp*: No such file or directory
ken@ken-OptiPlex-GX620:~$ sudo /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: usb_find_busses=5
DEBUG: usb_find_devices=10
ken@ken-OptiPlex-GX620:~$ ldd /usr/lib/cups/backend/usb | grep usb
 libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x004cf000)
ken@ken-OptiPlex-GX620:~$ lpinfo -v
network lpd
network socket
serial serial:/dev/ttyS0?baud=115200
direct parallel:/dev/lp0
network ipp
network http
network smb
network beh

AFTER INSTALLATION:
ken@ken-OptiPlex-GX620:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 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 001 Device 005: ID 040a:4043 Kodak Co.
Bus 001 Device 006: ID 0830:0101 Palm, Inc. Pre
Bus 002 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
Bus 002 Device 003: ID 045e:0095 Microsoft Corp. IntelliMouse Explorer 4.0 (IntelliPoint)
Bus 003 Device 002: ID 046d:089d Logitech, Inc. QuickCam E2500 series
ken@ken-OptiPlex-GX620:~$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 2012-01-15 10:04 /dev/bus/usb/001/001
crw-rw-r-- 1 root lp 189, 4 2012-01-15 10:08 /dev/bus/usb/001/005
crw-rw-r-- 1 root root 189, 5 2012-01-15 10:04 /dev/bus/usb/001/006
crw-rw-r-- 1 root root 189, 128 2012-01-15 10:04 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 2012-01-15 10:04 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 130 2012-01-15 10:04 /dev/bus/usb/002/003
crw-rw-r-- 1 root root 189, 256 2012-01-15 10:04 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 2012-01-15 10:04 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 384 2012-01-15 10:04 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 2012-01-15 10:04 /dev/bus/usb/005/001
ken@ken-OptiPlex-GX620:~$ ls -l /dev/usb/lp*
ls: cannot access /dev/usb/lp*: No such file or directory
ken@ken-OptiPlex-GX620:~$ sudo /usr/lib/cups/backend/usb
[sudo] password for ken:
DE...

Read more...

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you update your system to get my new (~ppa2) CUPS package from my PPA? I have added a small fix on printer detection. Perhaps it helps in your case.

Revision history for this message
Ken Knarr (kenknarr) wrote :

That definitely helped with the detection. After I updated and rebooted, I went into the CUPS web interface and it detected the printer with the url of
usb://Eastman%20Kodak%20Company/KODAK%20ESP%203200%20Series%20AiO?serial=E058623&interface=1

Now when I print to it, instead of "Waiting for device to become available" the test page state is reading: stopped "Unable to send data to the printer

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you do a complete system update and try again? If it still does not print, follow the instructions of the sections "USB printer", "CUPS error_log", and "Capturing print job data" on https://wiki.ubuntu.com/DebuggingPrintingProblems. Thanks.

Try also whether the command

sudo aa-complain cupsd

solves your problem. Run the command

sudo apt-get install apparmor-utils

if aa-complain is not installed.

Changed in cups (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Please also try a live CD of Ubuntu Precise 12.04 beta 1 and do all system updates in the live session. If this does not work, follow all instructions of comment #11 in the live session.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
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.