[sane-devel] connecting to Epson PX-A550 (CX4600)

David D. Smith davidsmith@acm.org
Thu, 07 Apr 2005 13:34:00 +0900


--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Transfer-Encoding: quoted-printable

I am attempting to use an Epson PX-A550 (US model CX4600) using the
epkowa backend (1.0.195 in sane-backends 1.0.15) from an IBM ThinkPad
X40 laptop using kernel 2.6.11 and libusb 0.1.10a both from Debian
GNU/Linux. sane-find-scanner finds the scanner but when I try to use
it e.g. with scanimage -L, it fails. Attached is a debug log captured
with `SANE_DEBUG_SANEI_USB=3D128 SANE_DEBUG_DLL=3D128
SANE_DEBUG_EPKOWA=3D128 scanimage -L` and my /proc/bus/usb/devices file
at that time. My dll.conf file only contains the single entry for
epkowa as this scanner is supported only by that driver. The error
point is the first time epkowa attempts to send the initialize command
to the device; the command apparently never reaches the scanner
because libusb returns a "No such file or directory" error immediately
when trying to talk to the found endpoint. I can't tell if something
is failing earlier in the initialization.

Any advice greatly appreciated,
=2D-=20
  David D. Smith
A man without doubt is a monster.

--=-=-=
Content-Disposition: attachment
Content-Description: log

[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.11 from sane-backends 1.0.15
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `epkowa'
[dll] sane_init/read_dlld: processing /etc/sane.d/dll.d ...
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
[dll] sane_init/read_config: reading dll.d/libsane-extras
[dll] sane_init/read_dlld: done.
[dll] sane_get_devices
[dll] load: trying to load `/usr/lib/sane/libsane-epkowa.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-epkowa.so.1'
[dll] init: initializing backend `epkowa'
[sanei_debug] Setting debug level of epkowa to 128.
[epkowa] sane_init: sane-backends 1.0.15
[sanei_debug] Setting debug level of sanei_usb to 128.
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 004
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 003
error obtaining child information: Operation not permitted
usb_os_find_devices: Found 014 on 002
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Operation not permitted
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x080e) interface 0  at libusb:002:014
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 1 devices
[epkowa] sane_init, ># epkowa.conf<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># examples for how to configure the SANE EPSON KOWA Backend<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># SCSI scanner:<
[epkowa] sane_init, >#scsi EPSON<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># Parallel port scanner:<
[epkowa] sane_init, >#pio 0x278<
[epkowa] sane_init, >#pio 0x378<
[epkowa] sane_init, >#pio 0x3BC<
[epkowa] sane_init, >#<
[epkowa] sane_init, ># USB scanner - only enable this if you have an EPSON scanner. It could<
[epkowa] sane_init, >#               otherwise block your non-EPSON scanner from being<
[epkowa] sane_init, >#               recognized.<
[epkowa] sane_init, >usb 0x4b8 0x80e<
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080e
[epkowa] attach_one_usb(libusb:002:014)
[epkowa] SANE EPSON KOWA Backend 1.13.1 - 2005-01-07
[epkowa] attach(libusb:002:014, 3)
[epkowa] attach: opening libusb:002:014
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:014'
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 1)
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 2)
[sanei_usb] sanei_usb_open: opened usb device `libusb:002:014' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04b8, productID: 0x080e
[epkowa] Found valid EPSON scanner: 0x4b8/0x80e (vendorID/productID)
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 40 @
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 40                                           .@..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Resource temporarily unavailable
[epkowa] receive buf, expected = 1, got = 0
[epkowa] get_identity_information()
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] 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
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] 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
[epkowa] ident failed
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 66 f
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 66                                           .f..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 66 f
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 66                                           .f..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
[epkowa] Extended status flag request failed
[sanei_usb] sanei_usb_close: closing device 0
[epkowa] sane_init, >usb<
[epkowa] attach_one_usb()
[epkowa] SANE EPSON KOWA Backend 1.13.1 - 2005-01-07
[epkowa] attach(, 3)
[epkowa] attach: opening 
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0101
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0103
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0104
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0106
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0107
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0109
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010a
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010b
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010c
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010e
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010f
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0110
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0112
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0116
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0118
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011b
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011c
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011d
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011e
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0126
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0128
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0129
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x012a
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0801
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0802
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0805
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0806
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0807
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080d
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080e
[epkowa] attach_one_usb(libusb:002:014)
[epkowa] SANE EPSON KOWA Backend 1.13.1 - 2005-01-07
[epkowa] attach(libusb:002:014, 3)
[epkowa] attach: opening libusb:002:014
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:014'
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 1)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 129), ignoring the new one
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 2)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 2), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:002:014' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04b8, productID: 0x080e
[epkowa] Found valid EPSON scanner: 0x4b8/0x80e (vendorID/productID)
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 40 @
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 40                                           .@..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Resource temporarily unavailable
[epkowa] receive buf, expected = 1, got = 0
[epkowa] get_identity_information()
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] 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
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] 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
[epkowa] ident failed
[sanei_usb] sanei_usb_close: closing device 0
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080f
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0810
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0811
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0814
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080e
[epkowa] attach_one_usb(libusb:002:014)
[epkowa] SANE EPSON KOWA Backend 1.13.1 - 2005-01-07
[epkowa] attach(libusb:002:014, 3)
[epkowa] attach: opening libusb:002:014
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:014'
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 1)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 129), ignoring the new one
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 2)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 2), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:002:014' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04b8, productID: 0x080e
[epkowa] Found valid EPSON scanner: 0x4b8/0x80e (vendorID/productID)
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 40 @
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 40                                           .@..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Resource temporarily unavailable
[epkowa] receive buf, expected = 1, got = 0
[epkowa] get_identity_information()
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] 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
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] 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
[epkowa] ident failed
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 66 f
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 66                                           .f..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
[epkowa] send buf, size = 2
[epkowa] buf[0] 1b .
[epkowa] buf[1] 66 f
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 66                                           .f..............
USB error: error submitting URB: No such file or directory
[sanei_usb] sanei_usb_write_bulk: write failed: No such file or directory
[epkowa] Extended status flag request failed
[sanei_usb] sanei_usb_close: closing device 0
[epkowa] sane_init, ><
[dll] init: backend `epkowa' is version 1.0.195
[epkowa] sane_get_devices()
[dll] sane_get_devices: found 0 devices
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `epkowa's exit function
[epkowa] sane_exit
[dll] sane_exit: finished

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

--=-=-=
Content-Disposition: attachment
Content-Description: devices


T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.11-1-686 ehci_hcd
S:  Product=Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller
S:  SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.11-1-686 uhci_hcd
S:  Product=Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
S:  SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.11-1-686 uhci_hcd
S:  Product=Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
S:  SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 14 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04b8 ProdID=080e Rev= 1.00
S:  Manufacturer=EPSON
S:  Product=USB MFP
S:  SerialNumber=HR0100411060938260
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.11-1-686 uhci_hcd
S:  Product=Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
S:  SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCVLhKEJGOueZRHH4RAlE2AJsH4XItZQPGNQbWZaWYbolrYgOeXwCdFDp+
DHMzGlPODiTMykhZoqcbwi0=
=jCKW
-----END PGP SIGNATURE-----
--==-=-=--