> SANE_DEBUG_DLL=127 SANE_DEBUG_EPSON2=127 scanimage -L
[sanei_debug] Setting debug level of dll to 127.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: using config directory `./dll.d'
[dll] sane_init/read_dlld: considering ./dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'
[dll] add_backend: adding backend `agfafocus'
[dll] add_backend: adding backend `apple'
[dll] add_backend: adding backend `avision'
[dll] add_backend: adding backend `artec'
[dll] add_backend: adding backend `artec_eplus48u'
[dll] add_backend: adding backend `as6e'
[dll] add_backend: adding backend `bh'
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `canon_dr'
[dll] add_backend: adding backend `cardscan'
[dll] add_backend: adding backend `coolscan'
[dll] add_backend: adding backend `coolscan3'
[dll] add_backend: adding backend `dell1600n_net'
[dll] add_backend: adding backend `dmc'
[dll] add_backend: adding backend `epjitsu'
[dll] add_backend: adding backend `epson2'
[dll] add_backend: adding backend `fujitsu'
[dll] add_backend: adding backend `genesys'
[dll] add_backend: adding backend `gt68xx'
[dll] add_backend: adding backend `hp'
[dll] add_backend: adding backend `hp3900'
[dll] add_backend: adding backend `hpsj5s'
[dll] add_backend: adding backend `hp3500'
[dll] add_backend: adding backend `hp4200'
[dll] add_backend: adding backend `hp5400'
[dll] add_backend: adding backend `hp5590'
[dll] add_backend: adding backend `hpljm1005'
[dll] add_backend: adding backend `hs2p'
[dll] add_backend: adding backend `ibm'
[dll] add_backend: adding backend `kodak'
[dll] add_backend: adding backend `kvs1025'
[dll] add_backend: adding backend `kvs20xx'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `lexmark'
[dll] add_backend: adding backend `ma1509'
[dll] add_backend: adding backend `magicolor'
[dll] add_backend: adding backend `matsushita'
[dll] add_backend: adding backend `microtek'
[dll] add_backend: adding backend `microtek2'
[dll] add_backend: adding backend `mustek'
[dll] add_backend: adding backend `mustek_usb'
[dll] add_backend: adding backend `mustek_usb2'
[dll] add_backend: adding backend `nec'
[dll] add_backend: adding backend `niash'
[dll] add_backend: adding backend `pie'
[dll] add_backend: adding backend `pixma'
[dll] add_backend: adding backend `plustek'
[dll] add_backend: adding backend `qcam'
[dll] add_backend: adding backend `ricoh'
[dll] add_backend: adding backend `rts8891'
[dll] add_backend: adding backend `s9036'
[dll] add_backend: adding backend `sceptre'
[dll] add_backend: adding backend `sharp'
[dll] add_backend: adding backend `sm3600'
[dll] add_backend: adding backend `sm3840'
[dll] add_backend: adding backend `snapscan'
[dll] add_backend: adding backend `sp15c'
[dll] add_backend: adding backend `tamarack'
[dll] add_backend: adding backend `teco1'
[dll] add_backend: adding backend `teco2'
[dll] add_backend: adding backend `teco3'
[dll] add_backend: adding backend `u12'
[dll] add_backend: adding backend `umax'
[dll] add_backend: adding backend `umax1220u'
[dll] add_backend: adding backend `v4l'
[dll] add_backend: adding backend `xerox_mfp'
[dll] sane_get_devices
[dll] load: searching backend `xerox_mfp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-xerox_mfp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-xerox_mfp.so.1'
[dll] init: initializing backend `xerox_mfp'
[dll] init: backend `xerox_mfp' is version 1.0.12
[dll] load: searching backend `v4l' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-v4l.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-v4l.so.1'
[dll] init: initializing backend `v4l'
[dll] init: backend `v4l' is version 1.0.5
[dll] load: searching backend `umax1220u' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-umax1220u.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-umax1220u.so.1'
[dll] init: initializing backend `umax1220u'
[dll] init: backend `umax1220u' is version 1.0.2
[dll] load: searching backend `umax' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-umax.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-umax.so.1'
[dll] init: initializing backend `umax'
[dll] init: backend `umax' is version 1.0.45
[dll] load: searching backend `u12' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-u12.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-u12.so.1'
[dll] init: initializing backend `u12'
[dll] init: backend `u12' is version 1.0.0
[dll] load: searching backend `teco3' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-teco3.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco3.so.1'
[dll] init: initializing backend `teco3'
[dll] init: backend `teco3' is version 1.0.1
[dll] load: searching backend `teco2' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-teco2.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco2.so.1'
[dll] init: initializing backend `teco2'
[dll] init: backend `teco2' is version 1.0.10
[dll] load: searching backend `teco1' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-teco1.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco1.so.1'
[dll] init: initializing backend `teco1'
[dll] init: backend `teco1' is version 1.0.10
[dll] load: searching backend `tamarack' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-tamarack.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-tamarack.so.1'
[dll] init: initializing backend `tamarack'
[dll] init: backend `tamarack' is version 1.0.0
[dll] load: searching backend `sp15c' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sp15c.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sp15c.so.1'
[dll] init: initializing backend `sp15c'
[dll] init: backend `sp15c' is version 1.0.0
[dll] load: searching backend `snapscan' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-snapscan.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-snapscan.so.1'
[dll] init: initializing backend `snapscan'
[dll] init: backend `snapscan' is version 1.4.53
[dll] load: searching backend `sm3840' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sm3840.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sm3840.so.1'
[dll] init: initializing backend `sm3840'
[dll] init: backend `sm3840' is version 1.0.0
[dll] load: searching backend `sm3600' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sm3600.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sm3600.so.1'
[dll] init: initializing backend `sm3600'
[dll] init: backend `sm3600' is version 1.0.6
[dll] load: searching backend `sharp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sharp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sharp.so.1'
[dll] init: initializing backend `sharp'
[dll] init: backend `sharp' is version 1.0.0
[dll] load: searching backend `sceptre' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-sceptre.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sceptre.so.1'
[dll] init: initializing backend `sceptre'
[dll] init: backend `sceptre' is version 1.0.10
[dll] load: searching backend `s9036' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-s9036.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-s9036.so.1'
[dll] init: initializing backend `s9036'
[dll] init: backend `s9036' is version 1.0.0
[dll] load: searching backend `rts8891' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-rts8891.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-rts8891.so.1'
[dll] init: initializing backend `rts8891'
[dll] init: backend `rts8891' is version 1.0.31
[dll] load: searching backend `ricoh' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-ricoh.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-ricoh.so.1'
[dll] init: initializing backend `ricoh'
[dll] init: backend `ricoh' is version 1.0.0
[dll] load: searching backend `qcam' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-qcam.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-qcam.so.1'
[dll] init: initializing backend `qcam'
[dll] init: backend `qcam' is version 1.0.0
[dll] load: searching backend `plustek' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-plustek.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-plustek.so.1'
[dll] init: initializing backend `plustek'
[dll] init: backend `plustek' is version 1.0.0
[dll] load: searching backend `pixma' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-pixma.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-pixma.so.1'
[dll] init: initializing backend `pixma'
[dll] init: backend `pixma' is version 1.0.16
[dll] load: searching backend `pie' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-pie.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-pie.so.1'
[dll] init: initializing backend `pie'
[dll] init: backend `pie' is version 1.0.9
[dll] load: searching backend `niash' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-niash.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-niash.so.1'
[dll] init: initializing backend `niash'
[dll] init: backend `niash' is version 1.0.1
[dll] load: searching backend `nec' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-nec.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-nec.so.1'
[dll] init: initializing backend `nec'
[dll] init: backend `nec' is version 1.0.0
[dll] load: searching backend `mustek_usb2' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-mustek_usb2.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-mustek_usb2.so.1'
[dll] init: initializing backend `mustek_usb2'
[dll] init: backend `mustek_usb2' is version 1.0.10
[dll] load: searching backend `mustek_usb' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-mustek_usb.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-mustek_usb.so.1'
[dll] init: initializing backend `mustek_usb'
[dll] init: backend `mustek_usb' is version 1.0.18
[dll] load: searching backend `mustek' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-mustek.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-mustek.so.1'
[dll] init: initializing backend `mustek'
[dll] init: backend `mustek' is version 1.0.138
[dll] load: searching backend `microtek2' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-microtek2.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-microtek2.so.1'
[dll] init: initializing backend `microtek2'
[dll] init: backend `microtek2' is version 1.0.0
[dll] load: searching backend `microtek' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-microtek.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-microtek.so.1'
[dll] init: initializing backend `microtek'
[dll] init: backend `microtek' is version 1.0.0
[dll] load: searching backend `matsushita' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-matsushita.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-matsushita.so.1'
[dll] init: initializing backend `matsushita'
[dll] init: backend `matsushita' is version 1.0.7
[dll] load: searching backend `magicolor' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-magicolor.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-magicolor.so.1'
[dll] init: initializing backend `magicolor'
[dll] init: backend `magicolor' is version 1.0.1
[dll] load: searching backend `ma1509' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-ma1509.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-ma1509.so.1'
[dll] init: initializing backend `ma1509'
[dll] init: backend `ma1509' is version 1.0.3
[dll] load: searching backend `lexmark' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-lexmark.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-lexmark.so.1'
[dll] init: initializing backend `lexmark'
[dll] init: backend `lexmark' is version 1.0.30
[dll] load: searching backend `leo' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-leo.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-leo.so.1'
[dll] init: initializing backend `leo'
[dll] init: backend `leo' is version 1.0.11
[dll] load: searching backend `kvs20xx' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-kvs20xx.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-kvs20xx.so.1'
[dll] init: initializing backend `kvs20xx'
[dll] init: backend `kvs20xx' is version 1.0.2
[dll] load: searching backend `kvs1025' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-kvs1025.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-kvs1025.so.1'
[dll] init: initializing backend `kvs1025'
[dll] init: backend `kvs1025' is version 1.0.3
[dll] load: searching backend `kodak' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-kodak.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-kodak.so.1'
[dll] init: initializing backend `kodak'
[dll] init: backend `kodak' is version 1.0.7
[dll] load: searching backend `ibm' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-ibm.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-ibm.so.1'
[dll] init: initializing backend `ibm'
[dll] init: backend `ibm' is version 1.0.0
[dll] load: searching backend `hs2p' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hs2p.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hs2p.so.1'
[dll] init: initializing backend `hs2p'
[dll] init: backend `hs2p' is version 1.0.0
[dll] load: searching backend `hpljm1005' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpljm1005.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpljm1005.so.1'
[dll] init: initializing backend `hpljm1005'
[dll] init: backend `hpljm1005' is version 1.0.1
[dll] load: searching backend `hp5590' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp5590.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp5590.so.1'
[dll] init: initializing backend `hp5590'
[dll] init: backend `hp5590' is version 1.0.5
[dll] load: searching backend `hp5400' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp5400.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp5400.so.1'
[dll] init: initializing backend `hp5400'
[dll] init: backend `hp5400' is version 1.0.3
[dll] load: searching backend `hp4200' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp4200.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp4200.so.1'
[dll] init: initializing backend `hp4200'
[dll] init: backend `hp4200' is version 1.0.0
[dll] load: searching backend `hp3500' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp3500.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp3500.so.1'
[dll] init: initializing backend `hp3500'
[dll] init: backend `hp3500' is version 1.0.0
[dll] load: searching backend `hpsj5s' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpsj5s.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpsj5s.so.1'
[dll] init: initializing backend `hpsj5s'
[dll] init: backend `hpsj5s' is version 1.0.3
[dll] load: searching backend `hp3900' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp3900.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp3900.so.1'
[dll] init: initializing backend `hp3900'
[dll] init: backend `hp3900' is version 1.0.0
[dll] load: searching backend `hp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp.so.1'
[dll] init: initializing backend `hp'
[dll] init: backend `hp' is version 1.0.8
[dll] load: searching backend `gt68xx' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-gt68xx.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-gt68xx.so.1'
[dll] init: initializing backend `gt68xx'
[dll] init: backend `gt68xx' is version 1.0.84
[dll] load: searching backend `genesys' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-genesys.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-genesys.so.1'
[dll] init: initializing backend `genesys'
[dll] init: backend `genesys' is version 1.0.63
[dll] load: searching backend `fujitsu' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-fujitsu.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-fujitsu.so.1'
[dll] init: initializing backend `fujitsu'
[dll] init: backend `fujitsu' is version 1.0.106
[dll] load: searching backend `epson2' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-epson2.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-epson2.so.1'
[dll] init: initializing backend `epson2'
[sanei_debug] Setting debug level of epson2 to 127.
[epson2] sane_epson2_init: sane-backends 1.0.22
[epson2] epson2 backend, version 1.0.124
[dll] init: backend `epson2' is version 1.0.124
[epson2] sane_epson2_get_devices
[epson2] probe_devices
[epson2] free_devices
[epson2] attach_one_config: len = 17, line = usb 0x04b8 0x0820
[epson2] attach_one_usb: dev = libusb:002:003
[epson2] attach: devname = libusb:002:003, type = 3
[epson2] e2_dev_init
[epson2] open_scanner: libusb:002:003
[epson2] scanner opened
[epson2] found valid Epson scanner: 0x4b8/0x820 (vendorID/productID)
[epson2] e2_set_model: model is 'generic'
[epson2] esci_reset
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC @
[epson2] buf[0] 1b .
[epson2] buf[1] 40 @
[epson2] e2_send: cmd count, r = 0, w = 1
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2595f
[epson2] e2_recv: cmd count, r = 1, w = 1
[epson2] buf[0] 06 .
[epson2] e2_discover_capabilities
[epson2] esci_request_identity
[epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7fffa9c258e8
[epson2] e2_send: size = 2, reply = 0
[epson2] e2_send: ESC I
[epson2] buf[0] 1b .
[epson2] buf[1] 49 I
[epson2] e2_send: cmd count, r = 1, w = 2
[epson2] e2_recv: size = 4, buf = 0x7fffa9c25810
[epson2] e2_recv: cmd count, r = 2, w = 2
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 13 .
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 19
[epson2] e2_recv: size = 19, buf = 0x202f510
[epson2] e2_recv: cmd count, r = 3, w = 2
[epson2] buf[0] 44 D
[epson2] buf[1] 37 7
[epson2] buf[2] 52 R
[epson2] buf[3] 64 d
[epson2] buf[4] 00 .
[epson2] buf[5] 52 R
[epson2] buf[6] 2c ,
[epson2] buf[7] 01 .
[epson2] buf[8] 52 R
[epson2] buf[9] 58 X
[epson2] buf[10] 02 .
[epson2] buf[11] 52 R
[epson2] buf[12] b0 .
[epson2] buf[13] 04 .
[epson2] buf[14] 41 A
[epson2] buf[15] d8 .
[epson2] buf[16] 27 '
[epson2] buf[17] d8 .
[epson2] buf[18] 36 6
[epson2] e2_set_cmd_level: D7
[epson2] e2_add_resolution: add (dpi): 100
[epson2] e2_add_resolution: add (dpi): 300
[epson2] e2_add_resolution: add (dpi): 600
[epson2] e2_add_resolution: add (dpi): 1200
[epson2] maximum scan area: 10200x14040
[epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 1200 [mm]
[epson2] esci_request_status
[epson2] e2_send: size = 2, reply = 4
[epson2] e2_send: ESC F
[epson2] buf[0] 1b .
[epson2] buf[1] 46 F
[epson2] e2_send: cmd count, r = 3, w = 3
[epson2] e2_recv: size = 4, buf = 0x7fffa9c25850
[epson2] e2_recv: cmd count, r = 4, w = 3
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] status: 02
[epson2]  ready
[epson2]  no option equipment installed
[epson2]  support extended commands
[epson2] detection with request_extended_status
[epson2] esci_request_extended_status
[epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7fffa9c25890
[epson2] e2_send: size = 2, reply = 46
[epson2] e2_send: ESC f
[epson2] buf[0] 1b .
[epson2] buf[1] 66 f
[epson2] e2_send: cmd count, r = 4, w = 4
[epson2] e2_recv: size = 4, buf = 0x7fffa9c257f0
[epson2] e2_recv: cmd count, r = 5, w = 4
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 2a *
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 42
[epson2] e2_recv: size = 42, buf = 0x20321b0
[epson2] e2_recv: cmd count, r = 6, w = 4
[epson2] buf[0] 00 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] buf[4] 00 .
[epson2] buf[5] 00 .
[epson2] buf[6] 00 .
[epson2] buf[7] 00 .
[epson2] buf[8] 00 .
[epson2] buf[9] 00 .
[epson2] buf[10] 00 .
[epson2] buf[11] c0 .
[epson2] buf[12] d8 .
[epson2] buf[13] 27 '
[epson2] buf[14] d8 .
[epson2] buf[15] 36 6
[epson2] buf[16] 00 .
[epson2] buf[17] 00 .
[epson2] buf[18] 00 .
[epson2] buf[19] 00 .
[epson2] buf[20] 00 .
[epson2] buf[21] 00 .
[epson2] buf[22] 00 .
[epson2] buf[23] 00 .
[epson2] buf[24] 00 .
[epson2] buf[25] 00 .
[epson2] buf[26] 43 C
[epson2] buf[27] 58 X
[epson2] buf[28] 34 4
[epson2] buf[29] 32 2
[epson2] buf[30] 30 0
[epson2] buf[31] 30 0
[epson2] buf[32] 20  
[epson2] buf[33] 20  
[epson2] buf[34] 20  
[epson2] buf[35] 20  
[epson2] buf[36] 20  
[epson2] buf[37] 20  
[epson2] buf[38] 20  
[epson2] buf[39] 20  
[epson2] buf[40] 20  
[epson2] buf[41] 20  
[epson2] main = 00, ADF = 00, TPU = 00, main 2 = c0
[epson2] e2_set_model: model is 'CX4200'
[epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 1200 [mm]
[epson2] no command available to detect capabilities
[epson2] esci_request_identity2
[epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7fffa9c258e8
[epson2] e2_send: size = 2, reply = 0
[epson2] e2_send: ESC i
[epson2] buf[0] 1b .
[epson2] buf[1] 69 i
[epson2] e2_send: cmd count, r = 6, w = 5
[epson2] e2_recv: size = 4, buf = 0x7fffa9c25800
[epson2] e2_recv: cmd count, r = 7, w = 5
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 3e >
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 62
[epson2] e2_recv: size = 62, buf = 0x20321f0
[epson2] e2_recv: cmd count, r = 8, w = 5
[epson2] buf[0] b0 .
[epson2] buf[1] 04 .
[epson2] buf[2] 55 U
[epson2] buf[3] 00 .
[epson2] buf[4] 00 .
[epson2] buf[5] 00 .
[epson2] buf[6] 00 .
[epson2] buf[7] 00 .
[epson2] buf[8] 00 .
[epson2] buf[9] 00 .
[epson2] buf[10] 00 .
[epson2] buf[11] 00 .
[epson2] buf[12] 00 .
[epson2] buf[13] 00 .
[epson2] buf[14] 32 2
[epson2] buf[15] 00 .
[epson2] buf[16] 4b K
[epson2] buf[17] 00 .
[epson2] buf[18] 64 d
[epson2] buf[19] 00 .
[epson2] buf[20] 96 .
[epson2] buf[21] 00 .
[epson2] buf[22] c8 .
[epson2] buf[23] 00 .
[epson2] buf[24] 2c ,
[epson2] buf[25] 01 .
[epson2] buf[26] 90 .
[epson2] buf[27] 01 .
[epson2] buf[28] 58 X
[epson2] buf[29] 02 .
[epson2] buf[30] 20  
[epson2] buf[31] 03 .
[epson2] buf[32] b0 .
[epson2] buf[33] 04 .
[epson2] buf[34] 00 .
[epson2] buf[35] 00 .
[epson2] buf[36] 32 2
[epson2] buf[37] 00 .
[epson2] buf[38] 4b K
[epson2] buf[39] 00 .
[epson2] buf[40] 64 d
[epson2] buf[41] 00 .
[epson2] buf[42] 96 .
[epson2] buf[43] 00 .
[epson2] buf[44] c8 .
[epson2] buf[45] 00 .
[epson2] buf[46] 2c ,
[epson2] buf[47] 01 .
[epson2] buf[48] 90 .
[epson2] buf[49] 01 .
[epson2] buf[50] 58 X
[epson2] buf[51] 02 .
[epson2] buf[52] 20  
[epson2] buf[53] 03 .
[epson2] buf[54] b0 .
[epson2] buf[55] 04 .
[epson2] buf[56] 40 @
[epson2] buf[57] 06 .
[epson2] buf[58] 60 `
[epson2] buf[59] 09 .
[epson2] buf[60] 00 .
[epson2] buf[61] 00 .
[epson2] discovering max depth, NAKs are expected
[epson2] e2_esc_cmd: cmd = 0x44, val = 16
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC D
[epson2] buf[0] 1b .
[epson2] buf[1] 44 D
[epson2] e2_send: cmd count, r = 8, w = 6
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2587f
[epson2] e2_recv: cmd count, r = 9, w = 6
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 10 .
[epson2] e2_send: cmd count, r = 9, w = 7
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2587f
[epson2] e2_recv: cmd count, r = 10, w = 7
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK
[epson2] e2_esc_cmd: cmd = 0x44, val = 14
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC D
[epson2] buf[0] 1b .
[epson2] buf[1] 44 D
[epson2] e2_send: cmd count, r = 10, w = 8
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2587f
[epson2] e2_recv: cmd count, r = 11, w = 8
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 0e .
[epson2] e2_send: cmd count, r = 11, w = 9
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2587f
[epson2] e2_recv: cmd count, r = 12, w = 9
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK
[epson2] e2_esc_cmd: cmd = 0x44, val = 12
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC D
[epson2] buf[0] 1b .
[epson2] buf[1] 44 D
[epson2] e2_send: cmd count, r = 12, w = 10
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2587f
[epson2] e2_recv: cmd count, r = 13, w = 10
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 0c .
[epson2] e2_send: cmd count, r = 13, w = 11
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2587f
[epson2] e2_recv: cmd count, r = 14, w = 11
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK
[epson2] maximum supported color depth: 8
[epson2] esci_request_focus_position
[epson2] setting focus is not supported
[epson2] esci_request_scanner_status
[epson2] e2_send: size = 2, reply = 16
[epson2] e2_send: FS F
[epson2] buf[0] 1c .
[epson2] buf[1] 46 F
[epson2] e2_send: cmd count, r = 14, w = 12
[epson2] e2_recv: size = 16, buf = 0x7fffa9c25900
[epson2] e2_recv: cmd count, r = 15, w = 12
[epson2] buf[0] 01 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] c0 .
[epson2] buf[4] 00 .
[epson2] buf[5] 00 .
[epson2] buf[6] 00 .
[epson2] buf[7] 00 .
[epson2] buf[8] 00 .
[epson2] buf[9] 00 .
[epson2] buf[10] 00 .
[epson2] buf[11] 00 .
[epson2] buf[12] 00 .
[epson2] buf[13] 00 .
[epson2] buf[14] 00 .
[epson2] buf[15] 00 .
[epson2] global status   : 0x01
[epson2]  warmup can be cancelled
[epson2] adf status      : 0x00
[epson2]  not installed
[epson2]  not enabled
[epson2] tpu status      : 0x00
[epson2]  not installed
[epson2]  not enabled
[epson2] device type     : 0xc0
[epson2] main body status: 0x00
[epson2] e2_dev_post_init
[epson2] CCT model id is 0x59, profile offset 41
[epson2] esci_reset
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC @
[epson2] buf[0] 1b .
[epson2] buf[1] 40 @
[epson2] e2_send: cmd count, r = 15, w = 13
[epson2] e2_recv: size = 1, buf = 0x7fffa9c2595f
[epson2] e2_recv: cmd count, r = 16, w = 13
[epson2] buf[0] 06 .
[epson2] scanner model: CX4200
[epson2] close_scanner: fd = 0
[epson2] esci_request_extended_status
[epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7fffa9c259d0
[epson2] e2_send: size = 2, reply = 46
[epson2] e2_send: ESC f
[epson2] buf[0] 1b .
[epson2] buf[1] 66 f
[epson2] e2_send: cmd count, r = 16, w = 14
[epson2] e2_recv: size = 4, buf = 0x7fffa9c25930
[epson2] e2_recv: cmd count, r = 17, w = 14
[epson2] buf[0] 02 .
[epson2] buf[1] 02 .
[epson2] buf[2] 2a *
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 42
[epson2] e2_recv: size = 42, buf = 0x20321b0
[epson2] e2_recv: cmd count, r = 18, w = 14
[epson2] buf[0] 00 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] buf[4] 00 .
[epson2] buf[5] 00 .
[epson2] buf[6] 00 .
[epson2] buf[7] 00 .
[epson2] buf[8] 00 .
[epson2] buf[9] 00 .
[epson2] buf[10] 00 .
[epson2] buf[11] c0 .
[epson2] buf[12] d8 .
[epson2] buf[13] 27 '
[epson2] buf[14] d8 .
[epson2] buf[15] 36 6
[epson2] buf[16] 00 .
[epson2] buf[17] 00 .
[epson2] buf[18] 00 .
[epson2] buf[19] 00 .
[epson2] buf[20] 00 .
[epson2] buf[21] 00 .
[epson2] buf[22] 00 .
[epson2] buf[23] 00 .
[epson2] buf[24] 00 .
[epson2] buf[25] 00 .
[epson2] buf[26] 43 C
[epson2] buf[27] 58 X
[epson2] buf[28] 34 4
[epson2] buf[29] 32 2
[epson2] buf[30] 30 0
[epson2] buf[31] 30 0
[epson2] buf[32] 20  
[epson2] buf[33] 20  
[epson2] buf[34] 20  
[epson2] buf[35] 20  
[epson2] buf[36] 20  
[epson2] buf[37] 20  
[epson2] buf[38] 20  
[epson2] buf[39] 20  
[epson2] buf[40] 20  
[epson2] buf[41] 20  
[epson2] main = 00, ADF = 00, TPU = 00, main 2 = c0
[epson2] sane_epson2_get_devices - results:
[epson2]  0 (3): CX4200
[dll] load: searching backend `epjitsu' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-epjitsu.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-epjitsu.so.1'
[dll] init: initializing backend `epjitsu'
[dll] init: backend `epjitsu' is version 1.0.20
[dll] load: searching backend `dmc' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-dmc.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-dmc.so.1'
[dll] init: initializing backend `dmc'
[dll] init: backend `dmc' is version 1.0.0
[dll] load: searching backend `dell1600n_net' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-dell1600n_net.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-dell1600n_net.so.1'
[dll] init: initializing backend `dell1600n_net'
[dll] init: backend `dell1600n_net' is version 1.0.0
[dll] load: searching backend `coolscan3' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-coolscan3.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-coolscan3.so.1'
[dll] init: initializing backend `coolscan3'
[dll] init: backend `coolscan3' is version 1.0.0
[dll] load: searching backend `coolscan' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-coolscan.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-coolscan.so.1'
[dll] init: initializing backend `coolscan'
[dll] init: backend `coolscan' is version 1.0.0
[dll] load: searching backend `cardscan' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-cardscan.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-cardscan.so.1'
[dll] init: initializing backend `cardscan'
[dll] init: backend `cardscan' is version 1.0.2
[dll] load: searching backend `canon_dr' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-canon_dr.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-canon_dr.so.1'
[dll] init: initializing backend `canon_dr'
[dll] init: backend `canon_dr' is version 1.0.37
[dll] load: searching backend `canon630u' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-canon630u.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-canon630u.so.1'
[dll] init: initializing backend `canon630u'
[dll] init: backend `canon630u' is version 1.0.1
[dll] load: searching backend `canon' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-canon.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-canon.so.1'
[dll] init: initializing backend `canon'
[dll] init: backend `canon' is version 1.0.0
[dll] load: searching backend `bh' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-bh.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-bh.so.1'
[dll] init: initializing backend `bh'
[dll] init: backend `bh' is version 1.0.4
[dll] load: searching backend `as6e' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-as6e.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-as6e.so.1'
[dll] init: initializing backend `as6e'
[dll] load: searching backend `artec_eplus48u' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-artec_eplus48u.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-artec_eplus48u.so.1'
[dll] init: initializing backend `artec_eplus48u'
[dll] init: backend `artec_eplus48u' is version 1.0.0
[dll] load: searching backend `artec' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-artec.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-artec.so.1'
[dll] init: initializing backend `artec'
[dll] init: backend `artec' is version 1.0.0
[dll] load: searching backend `avision' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-avision.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-avision.so.1'
[dll] init: initializing backend `avision'
[dll] init: backend `avision' is version 1.0.294
[dll] load: searching backend `apple' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-apple.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-apple.so.1'
[dll] init: initializing backend `apple'
[dll] init: backend `apple' is version 1.0.0
[dll] load: searching backend `agfafocus' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-agfafocus.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-agfafocus.so.1'
[dll] init: initializing backend `agfafocus'
[dll] init: backend `agfafocus' is version 1.0.0
[dll] load: searching backend `abaton' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-abaton.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-abaton.so.1'
[dll] init: initializing backend `abaton'
[dll] init: backend `abaton' is version 1.0.0
[dll] load: searching backend `net' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.22
[dll] load: searching backend `hpaio' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
device `epson2:libusb:002:003' is a Epson CX4200 flatbed scanner
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `xerox_mfp's exit function
[dll] sane_exit: calling backend `v4l's exit function
[dll] sane_exit: calling backend `umax1220u's exit function
[dll] sane_exit: calling backend `umax's exit function
[dll] sane_exit: calling backend `u12's exit function
[dll] sane_exit: calling backend `teco3's exit function
[dll] sane_exit: calling backend `teco2's exit function
[dll] sane_exit: calling backend `teco1's exit function
[dll] sane_exit: calling backend `tamarack's exit function
[dll] sane_exit: calling backend `sp15c's exit function
[dll] sane_exit: calling backend `snapscan's exit function
[dll] sane_exit: calling backend `sm3840's exit function
[dll] sane_exit: calling backend `sm3600's exit function
[dll] sane_exit: calling backend `sharp's exit function
[dll] sane_exit: calling backend `sceptre's exit function
[dll] sane_exit: calling backend `s9036's exit function
[dll] sane_exit: calling backend `rts8891's exit function
[dll] sane_exit: calling backend `ricoh's exit function
[dll] sane_exit: calling backend `qcam's exit function
[dll] sane_exit: calling backend `plustek's exit function
[dll] sane_exit: calling backend `pixma's exit function
[dll] sane_exit: calling backend `pie's exit function
[dll] sane_exit: calling backend `niash's exit function
[dll] sane_exit: calling backend `nec's exit function
[dll] sane_exit: calling backend `mustek_usb2's exit function
[dll] sane_exit: calling backend `mustek_usb's exit function
[dll] sane_exit: calling backend `mustek's exit function
[dll] sane_exit: calling backend `microtek2's exit function
[dll] sane_exit: calling backend `microtek's exit function
[dll] sane_exit: calling backend `matsushita's exit function
[dll] sane_exit: calling backend `magicolor's exit function
[dll] sane_exit: calling backend `ma1509's exit function
[dll] sane_exit: calling backend `lexmark's exit function
[dll] sane_exit: calling backend `leo's exit function
[dll] sane_exit: calling backend `kvs20xx's exit function
[dll] sane_exit: calling backend `kvs1025's exit function
[dll] sane_exit: calling backend `kodak's exit function
[dll] sane_exit: calling backend `ibm's exit function
[dll] sane_exit: calling backend `hs2p's exit function
[dll] sane_exit: calling backend `hpljm1005's exit function
[dll] sane_exit: calling backend `hp5590's exit function
[dll] sane_exit: calling backend `hp5400's exit function
[dll] sane_exit: calling backend `hp4200's exit function
[dll] sane_exit: calling backend `hp3500's exit function
[dll] sane_exit: calling backend `hpsj5s's exit function
[dll] sane_exit: calling backend `hp3900's exit function
[dll] sane_exit: calling backend `hp's exit function
[dll] sane_exit: calling backend `gt68xx's exit function
[dll] sane_exit: calling backend `genesys's exit function
[dll] sane_exit: calling backend `fujitsu's exit function
[dll] sane_exit: calling backend `epson2's exit function
[epson2] sane_epson2_exit
[epson2] free_devices
[dll] sane_exit: calling backend `epjitsu's exit function
[dll] sane_exit: calling backend `dmc's exit function
[dll] sane_exit: calling backend `dell1600n_net's exit function
[dll] sane_exit: calling backend `coolscan3's exit function
[dll] sane_exit: calling backend `coolscan's exit function
[dll] sane_exit: calling backend `cardscan's exit function
[dll] sane_exit: calling backend `canon_dr's exit function
[dll] sane_exit: calling backend `canon630u's exit function
[dll] sane_exit: calling backend `canon's exit function
[dll] sane_exit: calling backend `bh's exit function
[dll] sane_exit: calling backend `artec_eplus48u's exit function
[dll] sane_exit: calling backend `artec's exit function
[dll] sane_exit: calling backend `avision's exit function
[dll] sane_exit: calling backend `apple's exit function
[dll] sane_exit: calling backend `agfafocus's exit function
[dll] sane_exit: calling backend `abaton's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished