[sane-devel] Please Help with Epson Stylus CX-5800

Craig Setera craig at setera.org
Sun May 7 02:25:18 UTC 2006


Hello,

I just bought an Epson Stylus CX-5800 All-In-One machine the other day 
that I'm hosting on my network.  I have printing working fine at this 
point, but I can't seem to get the Sane Epson backend to talk to this 
new machine.  I have the USB device information explicitly called out in 
the Epson configuration file and have verified that the Epson driver is 
being loaded/tested.  It appears to be some kind of protocol error or 
something.

I could use some help in getting this going.  I'm including an excerpt 
from the logged information that seemed relevant.  I'm more than willing 
to collect more debugging information.

This is an Ubuntu Dapper installation with kernel 2.6.15.
Sane version 1.0.17

Thanks in advance for any help you can give me,
Craig

[epson] sane_init: sane-backends 1.0.17
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
usb_os_init: Found USB VFS at /dev/bus/usb
usb_set_debug: Setting debugging level to 255 (on)
[sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x0821) 
interface 0  at libusb:002:020
[sanei_usb] sanei_usb_init: device 0x067b/0x2507, interface 0 doesn't 
look like a scanner (0/8)
[sanei_usb] sanei_usb_init: device 0x067b/0x2507: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x051d/0x0002, interface 0 doesn't 
look like a scanner (0/3)
[sanei_usb] sanei_usb_init: device 0x051d/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 1 devices
[epson] sane_init, ># epson.conf<
[epson] sane_init, >#<
[epson] sane_init, ># here are some examples for how to configure the 
EPSON backend<
[epson] sane_init, >#<
[epson] sane_init, ># SCSI scanner:<
[epson] sane_init, ># scsi EPSON<
[epson] sane_init, ># for the GT-6500, comment out the previous line and 
uncomment the following line:<
[epson] sane_init, >#scsi<
[epson] sane_init, >#<
[epson] sane_init, ># Parallel port scanner:<
[epson] sane_init, >#pio 0x278<
[epson] sane_init, >#pio 0x378<
[epson] sane_init, >#pio 0x3BC<
[epson] sane_init, >#<
[epson] sane_init, ># USB scanner:<
[epson] sane_init, ># There are two different methods of configuring a 
USB scanner: libusb and the kernel module<
[epson] sane_init, ># For any system with libusb support (which is 
pretty much any recent Linux distribution) the<
[epson] sane_init, ># following line is sufficient. This however assumes 
that the connected scanner (or to be more<
[epson] sane_init, ># accurate, it's device ID) is known to the backend.<
[epson] sane_init, ># usb<
[epson] sane_init, ># For libusb support for unknown scanners use the 
following command<
[epson] sane_init, ># usb <product ID> <device ID><
[epson] sane_init, ># e.g.:<
[epson] sane_init, >usb 0x04b8 0x0821<
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0821
[epson] attach_one_usb(libusb:002:020)
[epson] SANE Epson Backend v0.2.45 - 2000-01-09
[epson] attach(libusb:002:020, 3)
[epson] attach: opening libusb:002:020
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:020'
USB error: could not set config 1: Device or resource busy
[sanei_usb] sanei_usb_open: libusb complained: could not set config 1: 
Device or resource busy
[sanei_usb] Maybe the kernel scanner driver or usblp claims the 
interface? Ignoring this error...
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 7 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x07)
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 7 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x07)
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 1
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint 
(address: 0x07), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 
0x87), ignoring the new one
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 2
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 6 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x06)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint 
(address: 0x07), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 6 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x06)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 
0x87), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:002:020' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04b8, 
productID: 0x0821
[epson] Found valid EPSON scanner: 0x4b8/0x821 (vendorID/productID)
[epson] reset()
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 40 @
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 40                                           
. at ..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
USB error: could not clear/halt ep 7: Protocol error
[epson] w_cmd_count = 1
[epson] r_cmd_count = 0
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_read_bulk: read failed: No such file or directory
USB error: could not clear/halt ep 135: Protocol error
[epson] w_cmd_count = 1
[epson] r_cmd_count = 0
[epson] receive buf, expected = 1, got = 0
[epson] get_identity_information()
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 49 I
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 49                                           
.I..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
USB error: could not clear/halt ep 7: Protocol error
[epson] w_cmd_count = 2
[epson] r_cmd_count = 0
[epson] send buf, size = 2
[epson] buf[0] 1b .
[epson] buf[1] 49 I
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 49                                           
.I..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
USB error: could not clear/halt ep 7: Protocol error
[epson] w_cmd_count = 3
[epson] r_cmd_count = 0
[epson] ident failed
[epson] sane_init, ># And for the scanner module, use the following 
configuration:<
[epson] sane_init, >#usb /dev/usbscanner0<
[epson] sane_init, >#usb /dev/usb/scanner0<
[epson] sane_get_devices()
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory




More information about the sane-devel mailing list