Local Epson printer R300 not recognised

Bug #865613 reported by Tony Fuge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

lsusb gives Bus 001 Device 003: ID 04b8:0803 Seiko Epson Corp. Printer (Composite Device)
but the systems package gives printer not found

tsg1zzn (tsg1zzn)
affects: ubuntu → cups (Ubuntu)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you follow the instructions in the section "USB Printer" of https://wiki.ubuntu.com/DebuggingPrintingProblems. Thanks.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Tony Fuge (tonyf) wrote :

Data from Terminal following debug printer::
tony@Playroom:~$ lsmod | grep usb
usbhid 47198 0
hid 95463 1 usbhid
usb_storage 57901 0
tony@Playroom:~$ tail -f /var/log/messages
tail: cannot open `/var/log/messages' for reading: No such file or directory
tony@Playroom:~$ sudo tail -f /var/log/messages
[sudo] password for tony:
tail: cannot open `/var/log/messages' for reading: No such file or directory
tony@Playroom:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 006 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 001 Device 004: ID 04b8:0803 Seiko Epson Corp. Printer (Composite Device)
Bus 001 Device 003: ID 04cc:1521 ST-Ericsson USB 2.0 Hub
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 003: ID 04b8:012e Seiko Epson Corp.
Bus 002 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 007 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
tony@Playroom:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
ls: cannot access /dev/usb/lp*: No such file or directory
crw-rw-r-- 1 root root 189, 0 2011-10-04 18:50 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 2 2011-10-04 18:50 /dev/bus/usb/001/003
crw-rw-r-- 1 root lp 189, 3 2011-10-04 19:32 /dev/bus/usb/001/004
crw-rw-r-- 1 root root 189, 128 2011-10-04 18:50 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 2011-10-04 18:50 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 130 2011-10-04 18:50 /dev/bus/usb/002/003
crw-rw-r-- 1 root root 189, 132 2011-10-04 18:50 /dev/bus/usb/002/005
crw-rw-r-- 1 root root 189, 256 2011-10-04 18:50 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 384 2011-10-04 18:50 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 2011-10-04 18:50 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 2011-10-04 18:50 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189, 768 2011-10-04 18:50 /dev/bus/usb/007/001
crw-rw-r-- 1 root root 189, 769 2011-10-04 18:50 /dev/bus/usb/007/002
tony@Playroom:~$ sudo usb_printerid /dev/usb/lp0
Error: No such file or directory: can't open '/dev/usb/lp0'
tony@Playroom:~$ sudo usb_printerid /dev/usb/lp1
Error: No such file or directory: can't open '/dev/usb/lp1'
tony@Playroom:~$ lpinfo -v
network socket
network http
network ipp
serial serial:/dev/ttyS0?baud=115200
network beh
network lpd
network smb
direct hp
direct hpfax
tony@Playroom:~$

There are no USB folders in the dev directory!!

Tony.

Revision history for this message
Tony Fuge (tonyf) wrote :

there are two files in /var/log/cups::

Access_log
localhost - - [04/Oct/2011:18:21:52 +0100] "POST / HTTP/1.1" 200 360 Create-Printer-Subscription successful-ok
localhost - - [04/Oct/2011:18:50:39 +0100] "POST / HTTP/1.1" 200 360 Create-Printer-Subscription successful-ok
localhost - - [04/Oct/2011:19:35:31 +0100] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - tony [04/Oct/2011:19:35:32 +0100] "POST / HTTP/1.1" 200 1514 CUPS-Get-Devices -

error_log
W [04/Oct/2011:18:21:32 +0100] no access to /System/Library/ColorSync/Profiles/sRGB Profile.icc
W [04/Oct/2011:18:21:32 +0100] no access to /System/Library/ColorSync/Profiles/sRGB Profile.icc
W [04/Oct/2011:18:21:32 +0100] no access to /System/Library/ColorSync/Profiles/Generic CMYK Profile.icc
W [04/Oct/2011:18:50:24 +0100] no access to /System/Library/ColorSync/Profiles/sRGB Profile.icc
W [04/Oct/2011:18:50:24 +0100] no access to /System/Library/ColorSync/Profiles/sRGB Profile.icc
W [04/Oct/2011:18:50:24 +0100] no access to /System/Library/ColorSync/Profiles/Generic CMYK Profile.icc

Tony.

Revision history for this message
Tony Fuge (tonyf) wrote :

Syslog (var/log/)
contains::
Oct 4 19:31:33 Playroom kernel: [ 2481.710215] usb 1-3: USB disconnect, device number 2
Oct 4 19:31:33 Playroom udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.7/usb1/1-3
Oct 4 19:32:28 Playroom kernel: [ 2536.628025] usb 1-3: new high speed USB device number 4 using ehci_hcd
Oct 4 19:32:28 Playroom kernel: [ 2536.761777] scsi9 : usb-storage 1-3:1.0
Oct 4 19:32:28 Playroom mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3"
Oct 4 19:32:28 Playroom mtp-probe: bus: 1, device: 4 was not an MTP device
Oct 4 19:32:28 Playroom udev-configure-printer: add /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.1
Oct 4 19:32:28 Playroom udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1a.7/usb1/1-3
Oct 4 19:32:28 Playroom udev-configure-printer: Device vendor/product is 04B8:0803
Oct 4 19:32:28 Playroom udev-configure-printer: failed to claim interface 0
Oct 4 19:32:29 Playroom kernel: [ 2537.761061] scsi 9:0:0:0: Direct-Access EPSON Stylus Storage 1.00 PQ: 0 ANSI: 2
Oct 4 19:32:29 Playroom kernel: [ 2537.860302] sd 9:0:0:0: Attached scsi generic sg3 type 0
Oct 4 19:32:29 Playroom kernel: [ 2537.864184] sd 9:0:0:0: [sdc] Attached SCSI removable disk
Oct 4 19:35:32 Playroom kernel: [ 2720.761348] usb 1-3: usbfs: interface 0 claimed by usb-storage while 'usb' sets config #1
Oct 4 19:35:32 Playroom kernel: [ 2720.761446] usb 1-3: usbfs: process 8354 (usb) did not claim interface 0 before use

From the usb disconnect and reconnect period. Tony.

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

Can you run the command

sudo /usr/lib/cups/backend/usb

and post its output here?

If it does not output anything, or anything not containing manufacturer and model names of your printer, post also what got added to /var/log/syslog by this command.

Revision history for this message
Tony Fuge (tonyf) wrote :

tony@Playroom:~$ sudo /usr/lib/cups/backend/usb
[sudo] password for tony:
DEBUG: list_devices
DEBUG: usb_find_busses=7
DEBUG: usb_find_devices=13

syslog output:
Oct 4 22:25:26 Playroom kernel: [12914.501247] usb 1-3: usbfs: interface 0 claimed by usb-storage while 'usb' sets config #1
Oct 4 22:25:26 Playroom kernel: [12914.501382] usb 1-3: usbfs: process 8895 (usb) did not claim interface 0 before use

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

According to comment #4 it looks like that in your printer only a USB mass storage device is recognized, but not the printing function.

Does you printer have a memory card reader? Does the card reader work?

Are you using the printer also with Windows or Mac OS X? Does it need a driver CD to get set up on that operating systems? Or do these systems get the driver somehow from the printer?

Revision history for this message
Tony Fuge (tonyf) wrote :

The printer does include a memory card reader USB and multi format. The printer recognises a memory stick via its small screen and buttons but Ubuntu does not. previous versions (11.04) were okay with this.

I used the printer with my works Windows XP laptop at the weekend. yes it requires drivers available from Epson's support site and was fine when loaded. I tried setting up the printer with linux drivers from http://www.avasys.jp/english/linux_e/ on an earlier install of 11.10 but there were too many missing dependencies.

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

Your posted information ("lsusb" reports printer, "ls -l /dev/bus/usb/*/*" shows that UDEV has set correct permissions, but /usr/lib/cups/backend/usb does not list the printer) matches exactly with bug 872711 which I have found and reported today. It is a kernel bug which affects many printers of different brands, but not all printers.

Marking as duplicate of that bug ...

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.