[sane-devel] Epson V600 Photo

George Clark geosane at fenachrone.com
Sat Dec 14 03:20:04 UTC 2013


I've got a Epson V600 Photo which used to work with iscan backend,
although it was quite slow during initial startup.  However with recent
system updates, it's completely stopped working.  The scanner is proven
to work fine on Windows.

System is gentoo.   Recently updated to kernel 3.10.17

Software installed:

sane-backends-1.0.24-r1:0
iscan-2.29.1.5:0
iscan-data-1.22.0.1:0
iscan-plugin-gt-x820-2.2.0.1:0

/etc/sane.d/epkowa.conf - active lines:

usb
usb 0x04b8 0x013a

/etc/sane.d/dll.conf - active lines:
epkowa



 $ sane-find-scanner 
found USB scanner (vendor=0x04b8 [EPSON], product=0x013a [EPSON
Scanner]) at libusb:001:004

 $ scanimage -L
device `epkowa:usb:001:004' is a Epson (unknown model) flatbed scanner

I've tried running as root, and moved the scanner to different USB 
ports, with no change.

I've also run with older versions of sane-backends (1.0.23)  and iscan
(2.26.2),  with the same symptoms.  Also I've dropped back to kernel
3.8.13.  No changes.

Below is the debug output from scanimage.  If I can do anything else to
track this down, please  let me know.

 $ SANE_DEBUG_SANEI_USB=11 scanimage -v -v -v>   test.pnm
[sanei_debug] Setting debug level of sanei_usb to 11.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
[sanei_usb] sanei_usb_init: initializing libusb-1.0
[sanei_usb] sanei_usb_init: Looking for libusb-1.0 devices
[sanei_usb] sanei_usb_init: found libusb-1.0 device (0x04b8/0x013a)
interface 0 at libusb:001:004
[sanei_usb] store_device: add dn 0 with libusb:001:004
libusb: 0.000000 error [op_open] libusb couldn't open USB device
/dev/bus/usb/002/002: Permission denied.
libusb: 0.000022 error [op_open] libusb requires write access to USB
device nodes.
[...]
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:001:004
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0101
[...]
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x08ab
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x013a
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:004'
[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: 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: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x02)
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:004' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04b8,
productID: 0x013a
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 000 1B 66                                          
.f             
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 4 bytes
[sanei_usb] 000 15                                             
.              
[sanei_usb] sanei_usb_read_bulk: wanted 4 bytes, got 1 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 42 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[sanei_usb] sanei_usb_close: closing device 0
 ...

This sequence repeats and eventually the driver gives up.


Output from lsusb  (Scanner was unplugged and the bus address has changed)


Bus 001 Device 006: ID 04b8:013a Seiko Epson Corp. GT-X820 [Perfection
V600 Photo]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0x04b8 Seiko Epson Corp.
  idProduct          0x013a GT-X820 [Perfection V600 Photo]
  bcdDevice            1.00
  iManufacturer           1 EPSON
  iProduct                2 EPSON Scanner
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Thanks for any help.

George



More information about the sane-devel mailing list