[sane-devel] Scanning with CX6400

David Masterson david.masterson@ucd.ie
Mon, 01 Dec 2003 14:46:13 +0000


Hi,

I'm trying to set up my new CX6400 for scanning, and I've tried some of
the ideas given on this list and on the epson printing list. Someone
asked for some specific output from commands, so here ye go (I've added
a line to my epson.conf file as described in an earlier mail to this
list):

dave@linux:~> cat /etc/sane.d/epson.conf
# USB scanner
usb /dev/usbscanner
usb 0x4b8 0x805

dave@linux:~> sane-find-scanner
  # No SCSI scanners found. If you expected something different, make
sure that
  # you have loaded a SCSI driver for your SCSI adapter.
 
found USB scanner (vendor=0x04b8, product=0x0805) at /dev/usb/scanner0
found USB scanner (vendor=0x04b8, product=0x0805) at /dev/usbscanner
found USB scanner (vendor=0x04b8, product=0x0805) at libusb:002:003
  # Your USB scanner was (probably) detected. It may or may not be
supported by
  # SANE. Try scanimage -L and read the backend's manpage.
 
  # Scanners connected to the parallel port or other proprietary ports
can't be
  # detected by this program.
 
  # You may want to run this program as root to find all devices. Once
you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

dave@linux:~> scanimage -L
[epson] The device at /dev/usbscanner is not a supported EPSON scanner
(product id=0x805)
[epson] Unknown type R or level d, using B3
[epson] Unknown type R or level d, using B3
device `epson:/dev/usb/scanner0' is a Epson PX-A650 flatbed scanner
device `epson:/dev/usbscanner' is a Epson PX-A650 flatbed scanner

<NB: I've abbreviated the ouput of the next command to only include the
part relevant to the printer/scanner>

linux:/home/dave # lsusb -v
Bus 002 Device 003: ID 04b8:0805 Seiko Epson Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04b8 Seiko Epson Corp.
  idProduct          0x0805
  bcdDevice            1.00
  iManufacturer           1 EPSON
  iProduct                2 USB2.0 MFP(Hi-Speed)
  iSerial                 3 H20140309201009530
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           78
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          4
    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              5 EPSON Scanner
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize        512
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize        512
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              6 USB2.0 Printer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize        512
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize        512
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              7 USB2.0 Mass Storage
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize        512
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize        512
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)


Hope this is of some use,

Dave