On Wed, May 26, 2010 at 12:57:06PM +0200, Julien BLACHE wrote:
> Could you provide a debug log for epson2, by setting
> SANE_DEBUG_EPSON2=255 ?

Here is the debug output:
#####
$ export SANE_DEBUG_EPSON2=255; scanimage -d epson2:libusb:007:002 -T
[sanei_debug] Setting debug level of epson2 to 255.
[epson2] sane_epson2_init: sane-backends 1.0.21
[epson2] epson2 backend, version 1.0.124
[epson2] sane_epson2_open: name = libusb:007:002
[epson2] e2_dev_init
[epson2] open_scanner: libusb:007:002
[epson2] scanner opened
[epson2] found valid Epson scanner: 0x4b8/0x10c (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 = 0x7fff20978ddf
[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 = 0x7fff20978dc8
[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 = 0x7fff20978c90
[epson2] e2_recv: cmd count, r = 2, w = 2
[epson2] buf[0] 02 .
[epson2] buf[1] 00 .
[epson2] buf[2] 13 .
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 19
[epson2] e2_recv: size = 19, buf = 0x2529bf0
[epson2] e2_recv: cmd count, r = 3, w = 2
[epson2] buf[0] 44 D
[epson2] buf[1] 31 1
[epson2] buf[2] 52 R
[epson2] buf[3] 4b K
[epson2] buf[4] 00 .
[epson2] buf[5] 52 R
[epson2] buf[6] 96 .
[epson2] buf[7] 00 .
[epson2] buf[8] 52 R
[epson2] buf[9] 2c ,
[epson2] buf[10] 01 .
[epson2] buf[11] 52 R
[epson2] buf[12] 58 X
[epson2] buf[13] 02 .
[epson2] buf[14] 41 A
[epson2] buf[15] ec .
[epson2] buf[16] 13 .
[epson2] buf[17] 7c |
[epson2] buf[18] 1b .
[epson2] e2_set_cmd_level: D1
[epson2] e2_add_resolution: add (dpi): 75
[epson2] e2_add_resolution: add (dpi): 150
[epson2] e2_add_resolution: add (dpi): 300
[epson2] e2_add_resolution: add (dpi): 600
[epson2] maximum scan area: 5100x7036
[epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.857330 600 [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 = 0x7fff20978ce0
[epson2] e2_recv: cmd count, r = 4, w = 3
[epson2] buf[0] 02 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] status: 00
[epson2]  ready
[epson2]  no option equipment installed
[epson2]  does NOT 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 = 0x7fff20978d28
[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 = 0x7fff20978c70
[epson2] e2_recv: cmd count, r = 5, w = 4
[epson2] buf[0] 02 .
[epson2] buf[1] 00 .
[epson2] buf[2] 2a *
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 42
[epson2] e2_recv: size = 42, buf = 0x2529c30
[epson2] e2_recv: cmd count, r = 6, w = 4
[epson2] buf[0] 01 .
[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] 00 .
[epson2] buf[12] 00 .
[epson2] buf[13] 00 .
[epson2] buf[14] 00 .
[epson2] buf[15] 00 .
[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] 50 P
[epson2] buf[27] 65 e
[epson2] buf[28] 72 r
[epson2] buf[29] 66 f
[epson2] buf[30] 65 e
[epson2] buf[31] 63 c
[epson2] buf[32] 74 t
[epson2] buf[33] 69 i
[epson2] buf[34] 6f o
[epson2] buf[35] 6e n
[epson2] buf[36] 36 6
[epson2] buf[37] 34 4
[epson2] buf[38] 30 0
[epson2] buf[39] 20  
[epson2] buf[40] 20  
[epson2] buf[41] 20  
[epson2] main = 01, ADF = 00, TPU = 00, main 2 = 00
[epson2] e2_set_model: model is 'Perfection640'
[epson2] push button detected
[epson2] no command available to detect capabilities
[epson2] esci_request_identity2
[epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7fff20978dc8
[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 = 0x7fff20978c80
[epson2] e2_recv: cmd count, r = 7, w = 5
[epson2] buf[0] 02 .
[epson2] buf[1] 00 .
[epson2] buf[2] 2c ,
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 44
[epson2] e2_recv: size = 44, buf = 0x2529c30
[epson2] e2_recv: cmd count, r = 8, w = 5
[epson2] buf[0] 58 X
[epson2] buf[1] 02 .
[epson2] buf[2] d5 .
[epson2] buf[3] 00 .
[epson2] buf[4] 08 .
[epson2] buf[5] 08 .
[epson2] buf[6] 08 .
[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] 58 X
[epson2] buf[27] 02 .
[epson2] buf[28] 00 .
[epson2] buf[29] 00 .
[epson2] buf[30] 4b K
[epson2] buf[31] 00 .
[epson2] buf[32] 96 .
[epson2] buf[33] 00 .
[epson2] buf[34] 2c ,
[epson2] buf[35] 01 .
[epson2] buf[36] 58 X
[epson2] buf[37] 02 .
[epson2] buf[38] b0 .
[epson2] buf[39] 04 .
[epson2] buf[40] 60 `
[epson2] buf[41] 09 .
[epson2] buf[42] 00 .
[epson2] buf[43] 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 = 0x7fff20978d0f
[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 = 0x7fff20978d0f
[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 = 0x7fff20978d0f
[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 = 0x7fff20978d0f
[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 = 0x7fff20978d0f
[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 = 0x7fff20978d0f
[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] e2_dev_post_init
[epson2] CCT model id is 0x15, profile offset 6
[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 = 14, w = 12
[epson2] e2_recv: size = 1, buf = 0x7fff20978ddf
[epson2] e2_recv: cmd count, r = 15, w = 12
[epson2] buf[0] 06 .
[epson2] scanner model: Perfection640
[epson2] handle obtained
[epson2] open_scanner: libusb:007:002
[epson2] scanner is already open: fd = 1
[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 = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 16, w = 13
[epson2] buf[0] 06 .
[epson2] sane_epson2_control_option: action = 0, option = 0
[epson2] getvalue: option = 0
[epson2] sane_epson2_control_option: action = 0, option = 0
[epson2] getvalue: option = 0
[epson2] sane_epson2_control_option: action = 0, option = 27
[epson2] getvalue: option = 27
[epson2] sane_epson2_control_option: action = 0, option = 25
[epson2] getvalue: option = 25
[epson2] sane_epson2_control_option: action = 0, option = 28
[epson2] getvalue: option = 28
[epson2] sane_epson2_control_option: action = 0, option = 26
[epson2] getvalue: option = 26
[epson2] sane_epson2_control_option: action = 0, option = 25
[epson2] getvalue: option = 25
[epson2] sane_epson2_control_option: action = 1, option = 27
[epson2] setvalue: option = 27, value = 0x7fff2097b00c
[epson2] setting size to 215.899994
[epson2] setvalue: end
[epson2] sane_epson2_control_option: action = 0, option = 26
[epson2] getvalue: option = 26
[epson2] sane_epson2_control_option: action = 1, option = 28
[epson2] setvalue: option = 28, value = 0x7fff2097b00c
[epson2] setting size to 297.857330
[epson2] setvalue: end
[epson2] sane_epson2_start
[epson2] e2_check_adf
[epson2] e2_init_parameters
[epson2] e2_init_parameters: resolution = 75, preview = 0
[epson2] e2_init_parameters: 0x25284d0 0x2528d00 tlx 0.000000 tly 0.000000 brx 
215.899994 bry 297.857330 [mm]
[epson2] e2_setup_block_mode
[epson2] max req size: 131072, line count: 1659
[epson2] final line count is 254
[epson2] params.format          = 0
[epson2] params.last_frame      = 1
[epson2] params.bytes_per_line  = 79
[epson2] params.pixels_per_line = 632
[epson2] params.lines           = 879
[epson2] params.depth           = 1
[epson2] e2_set_scanning_parameters
[epson2] e2_esc_cmd: cmd = 0x43, val = 0
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC C
[epson2] buf[0] 1b .
[epson2] buf[1] 43 C
[epson2] e2_send: cmd count, r = 16, w = 14
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 17, w = 14
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 00 .
[epson2] e2_send: cmd count, r = 17, w = 15
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 18, w = 15
[epson2] buf[0] 06 .
[epson2] e2_set_scanning_parameters: setting data format to 1 bits
[epson2] e2_esc_cmd: cmd = 0x44, val = 1
[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 = 18, w = 16
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 19, w = 16
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 01 .
[epson2] e2_send: cmd count, r = 19, w = 17
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 20, w = 17
[epson2] buf[0] 06 .
[epson2] e2_esc_cmd: cmd = 0x5a, val = 4
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC Z
[epson2] buf[0] 1b .
[epson2] buf[1] 5a Z
[epson2] e2_send: cmd count, r = 20, w = 18
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 21, w = 18
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 04 .
[epson2] e2_send: cmd count, r = 21, w = 19
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 22, w = 19
[epson2] buf[0] 06 .
[epson2] e2_esc_cmd: cmd = 0x74, val = 128
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC t
[epson2] buf[0] 1b .
[epson2] buf[1] 74 t
[epson2] e2_send: cmd count, r = 22, w = 20
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 23, w = 20
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 80 .
[epson2] e2_send: cmd count, r = 23, w = 21
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 24, w = 21
[epson2] buf[0] 06 .
[epson2] e2_esc_cmd: cmd = 0x67, val = 0
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC g
[epson2] buf[0] 1b .
[epson2] buf[1] 67 g
[epson2] e2_send: cmd count, r = 24, w = 22
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 25, w = 22
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] 00 .
[epson2] e2_send: cmd count, r = 25, w = 23
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 26, w = 23
[epson2] buf[0] 06 .
[epson2] esci_set_resolution: x = 75, y = 75
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC R
[epson2] buf[0] 1b .
[epson2] buf[1] 52 R
[epson2] e2_send: cmd count, r = 26, w = 24
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 27, w = 24
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 4
[epson2] e2_send: size = 4, reply = 1
[epson2] buf[0] 4b K
[epson2] buf[1] 00 .
[epson2] buf[2] 4b K
[epson2] buf[3] 00 .
[epson2] e2_send: cmd count, r = 27, w = 25
[epson2] e2_recv: size = 1, buf = 0x7fff20978e7f
[epson2] e2_recv: cmd count, r = 28, w = 25
[epson2] buf[0] 06 .
[epson2] esci_set_scan_area: x = 0, y = 0, w = 632, h = 879
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC A
[epson2] buf[0] 1b .
[epson2] buf[1] 41 A
[epson2] e2_send: cmd count, r = 28, w = 26
[epson2] e2_recv: size = 1, buf = 0x7fff20978e5f
[epson2] e2_recv: cmd count, r = 29, w = 26
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 8
[epson2] e2_send: size = 8, reply = 1
[epson2] buf[0] 00 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] buf[4] 78 x
[epson2] buf[5] 02 .
[epson2] buf[6] 6f o
[epson2] buf[7] 03 .
[epson2] e2_send: cmd count, r = 29, w = 27
[epson2] e2_recv: size = 1, buf = 0x7fff20978e5f
[epson2] e2_recv: cmd count, r = 30, w = 27
[epson2] buf[0] 06 .
[epson2] e2_esc_cmd: cmd = 0x64, val = 254
[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] 64 d
[epson2] e2_send: cmd count, r = 30, w = 28
[epson2] e2_recv: size = 1, buf = 0x7fff20978e9f
[epson2] e2_recv: cmd count, r = 31, w = 28
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 1
[epson2] e2_send: size = 1, reply = 1
[epson2] buf[0] fe .
[epson2] e2_send: cmd count, r = 31, w = 29
[epson2] e2_recv: size = 1, buf = 0x7fff20978e9f
[epson2] e2_recv: cmd count, r = 32, w = 29
[epson2] buf[0] 06 .
[epson2] esci_set_gamma_table
[epson2] gamma table[0][0]  00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
[epson2] gamma table[0][16]  10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
[epson2] gamma table[0][32]  20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
[epson2] gamma table[0][48]  30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
[epson2] gamma table[0][64]  40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
[epson2] gamma table[0][80]  50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
[epson2] gamma table[0][96]  60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
[epson2] gamma table[0][112]  70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
[epson2] gamma table[0][128]  80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
[epson2] gamma table[0][144]  90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
[epson2] gamma table[0][160]  a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
[epson2] gamma table[0][176]  b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf
[epson2] gamma table[0][192]  c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf
[epson2] gamma table[0][208]  d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df
[epson2] gamma table[0][224]  e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
[epson2] gamma table[0][240]  f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
[epson2] gamma table[1][0]  00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
[epson2] gamma table[1][16]  10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
[epson2] gamma table[1][32]  20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
[epson2] gamma table[1][48]  30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
[epson2] gamma table[1][64]  40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
[epson2] gamma table[1][80]  50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
[epson2] gamma table[1][96]  60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
[epson2] gamma table[1][112]  70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
[epson2] gamma table[1][128]  80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
[epson2] gamma table[1][144]  90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
[epson2] gamma table[1][160]  a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
[epson2] gamma table[1][176]  b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf
[epson2] gamma table[1][192]  c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf
[epson2] gamma table[1][208]  d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df
[epson2] gamma table[1][224]  e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
[epson2] gamma table[1][240]  f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
[epson2] gamma table[2][0]  00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
[epson2] gamma table[2][16]  10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
[epson2] gamma table[2][32]  20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
[epson2] gamma table[2][48]  30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
[epson2] gamma table[2][64]  40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
[epson2] gamma table[2][80]  50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
[epson2] gamma table[2][96]  60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
[epson2] gamma table[2][112]  70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
[epson2] gamma table[2][128]  80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
[epson2] gamma table[2][144]  90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
[epson2] gamma table[2][160]  a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
[epson2] gamma table[2][176]  b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf
[epson2] gamma table[2][192]  c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf
[epson2] gamma table[2][208]  d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df
[epson2] gamma table[2][224]  e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
[epson2] gamma table[2][240]  f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC z
[epson2] buf[0] 1b .
[epson2] buf[1] 7a z
[epson2] e2_send: cmd count, r = 32, w = 30
[epson2] e2_recv: size = 1, buf = 0x7fff20978d1f
[epson2] e2_recv: cmd count, r = 33, w = 30
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 257
[epson2] e2_send: size = 257, reply = 1
[epson2] buf[0] 52 R
[epson2] buf[1] 00 .
[epson2] buf[2] 01 .
[epson2] buf[3] 02 .
[epson2] buf[4] 03 .
[epson2] buf[5] 04 .
[epson2] buf[6] 05 .
[epson2] buf[7] 06 .
[epson2] buf[8] 07 .
[epson2] buf[9] 08 .
[epson2] buf[10] 09 .
[epson2] buf[11] 0a .
[epson2] buf[12] 0b .
[epson2] buf[13] 0c .
[epson2] buf[14] 0d .
[epson2] buf[15] 0e .
[epson2] buf[16] 0f .
[epson2] buf[17] 10 .
[epson2] buf[18] 11 .
[epson2] buf[19] 12 .
[epson2] buf[20] 13 .
[epson2] buf[21] 14 .
[epson2] buf[22] 15 .
[epson2] buf[23] 16 .
[epson2] buf[24] 17 .
[epson2] buf[25] 18 .
[epson2] buf[26] 19 .
[epson2] buf[27] 1a .
[epson2] buf[28] 1b .
[epson2] buf[29] 1c .
[epson2] buf[30] 1d .
[epson2] buf[31] 1e .
[epson2] buf[32] 1f .
[epson2] buf[33] 20  
[epson2] buf[34] 21 !
[epson2] buf[35] 22 "
[epson2] buf[36] 23 #
[epson2] buf[37] 24 $
[epson2] buf[38] 25 %
[epson2] buf[39] 26 &
[epson2] buf[40] 27 '
[epson2] buf[41] 28 (
[epson2] buf[42] 29 )
[epson2] buf[43] 2a *
[epson2] buf[44] 2b +
[epson2] buf[45] 2c ,
[epson2] buf[46] 2d -
[epson2] buf[47] 2e .
[epson2] buf[48] 2f /
[epson2] buf[49] 30 0
[epson2] buf[50] 31 1
[epson2] buf[51] 32 2
[epson2] buf[52] 33 3
[epson2] buf[53] 34 4
[epson2] buf[54] 35 5
[epson2] buf[55] 36 6
[epson2] buf[56] 37 7
[epson2] buf[57] 38 8
[epson2] buf[58] 39 9
[epson2] buf[59] 3a :
[epson2] buf[60] 3b ;
[epson2] buf[61] 3c <
[epson2] buf[62] 3d =
[epson2] buf[63] 3e >
[epson2] buf[64] 3f ?
[epson2] buf[65] 40 @
[epson2] buf[66] 41 A
[epson2] buf[67] 42 B
[epson2] buf[68] 43 C
[epson2] buf[69] 44 D
[epson2] buf[70] 45 E
[epson2] buf[71] 46 F
[epson2] buf[72] 47 G
[epson2] buf[73] 48 H
[epson2] buf[74] 49 I
[epson2] buf[75] 4a J
[epson2] buf[76] 4b K
[epson2] buf[77] 4c L
[epson2] buf[78] 4d M
[epson2] buf[79] 4e N
[epson2] buf[80] 4f O
[epson2] buf[81] 50 P
[epson2] buf[82] 51 Q
[epson2] buf[83] 52 R
[epson2] buf[84] 53 S
[epson2] buf[85] 54 T
[epson2] buf[86] 55 U
[epson2] buf[87] 56 V
[epson2] buf[88] 57 W
[epson2] buf[89] 58 X
[epson2] buf[90] 59 Y
[epson2] buf[91] 5a Z
[epson2] buf[92] 5b [
[epson2] buf[93] 5c \
[epson2] buf[94] 5d ]
[epson2] buf[95] 5e ^
[epson2] buf[96] 5f _
[epson2] buf[97] 60 `
[epson2] buf[98] 61 a
[epson2] buf[99] 62 b
[epson2] buf[100] 63 c
[epson2] buf[101] 64 d
[epson2] buf[102] 65 e
[epson2] buf[103] 66 f
[epson2] buf[104] 67 g
[epson2] buf[105] 68 h
[epson2] buf[106] 69 i
[epson2] buf[107] 6a j
[epson2] buf[108] 6b k
[epson2] buf[109] 6c l
[epson2] buf[110] 6d m
[epson2] buf[111] 6e n
[epson2] buf[112] 6f o
[epson2] buf[113] 70 p
[epson2] buf[114] 71 q
[epson2] buf[115] 72 r
[epson2] buf[116] 73 s
[epson2] buf[117] 74 t
[epson2] buf[118] 75 u
[epson2] buf[119] 76 v
[epson2] buf[120] 77 w
[epson2] buf[121] 78 x
[epson2] buf[122] 79 y
[epson2] buf[123] 7a z
[epson2] buf[124] 7b {
[epson2] buf[125] 7c |
[epson2] buf[126] 7d }
[epson2] buf[127] 7e ~
[epson2] buf[128] 7f .
[epson2] buf[129] 80 .
[epson2] buf[130] 81 .
[epson2] buf[131] 82 .
[epson2] buf[132] 83 .
[epson2] buf[133] 84 .
[epson2] buf[134] 85 .
[epson2] buf[135] 86 .
[epson2] buf[136] 87 .
[epson2] buf[137] 88 .
[epson2] buf[138] 89 .
[epson2] buf[139] 8a .
[epson2] buf[140] 8b .
[epson2] buf[141] 8c .
[epson2] buf[142] 8d .
[epson2] buf[143] 8e .
[epson2] buf[144] 8f .
[epson2] buf[145] 90 .
[epson2] buf[146] 91 .
[epson2] buf[147] 92 .
[epson2] buf[148] 93 .
[epson2] buf[149] 94 .
[epson2] buf[150] 95 .
[epson2] buf[151] 96 .
[epson2] buf[152] 97 .
[epson2] buf[153] 98 .
[epson2] buf[154] 99 .
[epson2] buf[155] 9a .
[epson2] buf[156] 9b .
[epson2] buf[157] 9c .
[epson2] buf[158] 9d .
[epson2] buf[159] 9e .
[epson2] buf[160] 9f .
[epson2] buf[161] a0 .
[epson2] buf[162] a1 .
[epson2] buf[163] a2 .
[epson2] buf[164] a3 .
[epson2] buf[165] a4 .
[epson2] buf[166] a5 .
[epson2] buf[167] a6 .
[epson2] buf[168] a7 .
[epson2] buf[169] a8 .
[epson2] buf[170] a9 .
[epson2] buf[171] aa .
[epson2] buf[172] ab .
[epson2] buf[173] ac .
[epson2] buf[174] ad .
[epson2] buf[175] ae .
[epson2] buf[176] af .
[epson2] buf[177] b0 .
[epson2] buf[178] b1 .
[epson2] buf[179] b2 .
[epson2] buf[180] b3 .
[epson2] buf[181] b4 .
[epson2] buf[182] b5 .
[epson2] buf[183] b6 .
[epson2] buf[184] b7 .
[epson2] buf[185] b8 .
[epson2] buf[186] b9 .
[epson2] buf[187] ba .
[epson2] buf[188] bb .
[epson2] buf[189] bc .
[epson2] buf[190] bd .
[epson2] buf[191] be .
[epson2] buf[192] bf .
[epson2] buf[193] c0 .
[epson2] buf[194] c1 .
[epson2] buf[195] c2 .
[epson2] buf[196] c3 .
[epson2] buf[197] c4 .
[epson2] buf[198] c5 .
[epson2] buf[199] c6 .
[epson2] buf[200] c7 .
[epson2] buf[201] c8 .
[epson2] buf[202] c9 .
[epson2] buf[203] ca .
[epson2] buf[204] cb .
[epson2] buf[205] cc .
[epson2] buf[206] cd .
[epson2] buf[207] ce .
[epson2] buf[208] cf .
[epson2] buf[209] d0 .
[epson2] buf[210] d1 .
[epson2] buf[211] d2 .
[epson2] buf[212] d3 .
[epson2] buf[213] d4 .
[epson2] buf[214] d5 .
[epson2] buf[215] d6 .
[epson2] buf[216] d7 .
[epson2] buf[217] d8 .
[epson2] buf[218] d9 .
[epson2] buf[219] da .
[epson2] buf[220] db .
[epson2] buf[221] dc .
[epson2] buf[222] dd .
[epson2] buf[223] de .
[epson2] buf[224] df .
[epson2] buf[225] e0 .
[epson2] buf[226] e1 .
[epson2] buf[227] e2 .
[epson2] buf[228] e3 .
[epson2] buf[229] e4 .
[epson2] buf[230] e5 .
[epson2] buf[231] e6 .
[epson2] buf[232] e7 .
[epson2] buf[233] e8 .
[epson2] buf[234] e9 .
[epson2] buf[235] ea .
[epson2] buf[236] eb .
[epson2] buf[237] ec .
[epson2] buf[238] ed .
[epson2] buf[239] ee .
[epson2] buf[240] ef .
[epson2] buf[241] f0 .
[epson2] buf[242] f1 .
[epson2] buf[243] f2 .
[epson2] buf[244] f3 .
[epson2] buf[245] f4 .
[epson2] buf[246] f5 .
[epson2] buf[247] f6 .
[epson2] buf[248] f7 .
[epson2] buf[249] f8 .
[epson2] buf[250] f9 .
[epson2] buf[251] fa .
[epson2] buf[252] fb .
[epson2] buf[253] fc .
[epson2] buf[254] fd .
[epson2] buf[255] fe .
[epson2] buf[256] ff .
[epson2] e2_send: cmd count, r = 33, w = 31
[epson2] e2_recv: size = 1, buf = 0x7fff20978d1f
[epson2] e2_recv: cmd count, r = 34, w = 31
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC z
[epson2] buf[0] 1b .
[epson2] buf[1] 7a z
[epson2] e2_send: cmd count, r = 34, w = 32
[epson2] e2_recv: size = 1, buf = 0x7fff20978d1f
[epson2] e2_recv: cmd count, r = 35, w = 32
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 257
[epson2] e2_send: size = 257, reply = 1
[epson2] buf[0] 47 G
[epson2] buf[1] 00 .
[epson2] buf[2] 01 .
[epson2] buf[3] 02 .
[epson2] buf[4] 03 .
[epson2] buf[5] 04 .
[epson2] buf[6] 05 .
[epson2] buf[7] 06 .
[epson2] buf[8] 07 .
[epson2] buf[9] 08 .
[epson2] buf[10] 09 .
[epson2] buf[11] 0a .
[epson2] buf[12] 0b .
[epson2] buf[13] 0c .
[epson2] buf[14] 0d .
[epson2] buf[15] 0e .
[epson2] buf[16] 0f .
[epson2] buf[17] 10 .
[epson2] buf[18] 11 .
[epson2] buf[19] 12 .
[epson2] buf[20] 13 .
[epson2] buf[21] 14 .
[epson2] buf[22] 15 .
[epson2] buf[23] 16 .
[epson2] buf[24] 17 .
[epson2] buf[25] 18 .
[epson2] buf[26] 19 .
[epson2] buf[27] 1a .
[epson2] buf[28] 1b .
[epson2] buf[29] 1c .
[epson2] buf[30] 1d .
[epson2] buf[31] 1e .
[epson2] buf[32] 1f .
[epson2] buf[33] 20  
[epson2] buf[34] 21 !
[epson2] buf[35] 22 "
[epson2] buf[36] 23 #
[epson2] buf[37] 24 $
[epson2] buf[38] 25 %
[epson2] buf[39] 26 &
[epson2] buf[40] 27 '
[epson2] buf[41] 28 (
[epson2] buf[42] 29 )
[epson2] buf[43] 2a *
[epson2] buf[44] 2b +
[epson2] buf[45] 2c ,
[epson2] buf[46] 2d -
[epson2] buf[47] 2e .
[epson2] buf[48] 2f /
[epson2] buf[49] 30 0
[epson2] buf[50] 31 1
[epson2] buf[51] 32 2
[epson2] buf[52] 33 3
[epson2] buf[53] 34 4
[epson2] buf[54] 35 5
[epson2] buf[55] 36 6
[epson2] buf[56] 37 7
[epson2] buf[57] 38 8
[epson2] buf[58] 39 9
[epson2] buf[59] 3a :
[epson2] buf[60] 3b ;
[epson2] buf[61] 3c <
[epson2] buf[62] 3d =
[epson2] buf[63] 3e >
[epson2] buf[64] 3f ?
[epson2] buf[65] 40 @
[epson2] buf[66] 41 A
[epson2] buf[67] 42 B
[epson2] buf[68] 43 C
[epson2] buf[69] 44 D
[epson2] buf[70] 45 E
[epson2] buf[71] 46 F
[epson2] buf[72] 47 G
[epson2] buf[73] 48 H
[epson2] buf[74] 49 I
[epson2] buf[75] 4a J
[epson2] buf[76] 4b K
[epson2] buf[77] 4c L
[epson2] buf[78] 4d M
[epson2] buf[79] 4e N
[epson2] buf[80] 4f O
[epson2] buf[81] 50 P
[epson2] buf[82] 51 Q
[epson2] buf[83] 52 R
[epson2] buf[84] 53 S
[epson2] buf[85] 54 T
[epson2] buf[86] 55 U
[epson2] buf[87] 56 V
[epson2] buf[88] 57 W
[epson2] buf[89] 58 X
[epson2] buf[90] 59 Y
[epson2] buf[91] 5a Z
[epson2] buf[92] 5b [
[epson2] buf[93] 5c \
[epson2] buf[94] 5d ]
[epson2] buf[95] 5e ^
[epson2] buf[96] 5f _
[epson2] buf[97] 60 `
[epson2] buf[98] 61 a
[epson2] buf[99] 62 b
[epson2] buf[100] 63 c
[epson2] buf[101] 64 d
[epson2] buf[102] 65 e
[epson2] buf[103] 66 f
[epson2] buf[104] 67 g
[epson2] buf[105] 68 h
[epson2] buf[106] 69 i
[epson2] buf[107] 6a j
[epson2] buf[108] 6b k
[epson2] buf[109] 6c l
[epson2] buf[110] 6d m
[epson2] buf[111] 6e n
[epson2] buf[112] 6f o
[epson2] buf[113] 70 p
[epson2] buf[114] 71 q
[epson2] buf[115] 72 r
[epson2] buf[116] 73 s
[epson2] buf[117] 74 t
[epson2] buf[118] 75 u
[epson2] buf[119] 76 v
[epson2] buf[120] 77 w
[epson2] buf[121] 78 x
[epson2] buf[122] 79 y
[epson2] buf[123] 7a z
[epson2] buf[124] 7b {
[epson2] buf[125] 7c |
[epson2] buf[126] 7d }
[epson2] buf[127] 7e ~
[epson2] buf[128] 7f .
[epson2] buf[129] 80 .
[epson2] buf[130] 81 .
[epson2] buf[131] 82 .
[epson2] buf[132] 83 .
[epson2] buf[133] 84 .
[epson2] buf[134] 85 .
[epson2] buf[135] 86 .
[epson2] buf[136] 87 .
[epson2] buf[137] 88 .
[epson2] buf[138] 89 .
[epson2] buf[139] 8a .
[epson2] buf[140] 8b .
[epson2] buf[141] 8c .
[epson2] buf[142] 8d .
[epson2] buf[143] 8e .
[epson2] buf[144] 8f .
[epson2] buf[145] 90 .
[epson2] buf[146] 91 .
[epson2] buf[147] 92 .
[epson2] buf[148] 93 .
[epson2] buf[149] 94 .
[epson2] buf[150] 95 .
[epson2] buf[151] 96 .
[epson2] buf[152] 97 .
[epson2] buf[153] 98 .
[epson2] buf[154] 99 .
[epson2] buf[155] 9a .
[epson2] buf[156] 9b .
[epson2] buf[157] 9c .
[epson2] buf[158] 9d .
[epson2] buf[159] 9e .
[epson2] buf[160] 9f .
[epson2] buf[161] a0 .
[epson2] buf[162] a1 .
[epson2] buf[163] a2 .
[epson2] buf[164] a3 .
[epson2] buf[165] a4 .
[epson2] buf[166] a5 .
[epson2] buf[167] a6 .
[epson2] buf[168] a7 .
[epson2] buf[169] a8 .
[epson2] buf[170] a9 .
[epson2] buf[171] aa .
[epson2] buf[172] ab .
[epson2] buf[173] ac .
[epson2] buf[174] ad .
[epson2] buf[175] ae .
[epson2] buf[176] af .
[epson2] buf[177] b0 .
[epson2] buf[178] b1 .
[epson2] buf[179] b2 .
[epson2] buf[180] b3 .
[epson2] buf[181] b4 .
[epson2] buf[182] b5 .
[epson2] buf[183] b6 .
[epson2] buf[184] b7 .
[epson2] buf[185] b8 .
[epson2] buf[186] b9 .
[epson2] buf[187] ba .
[epson2] buf[188] bb .
[epson2] buf[189] bc .
[epson2] buf[190] bd .
[epson2] buf[191] be .
[epson2] buf[192] bf .
[epson2] buf[193] c0 .
[epson2] buf[194] c1 .
[epson2] buf[195] c2 .
[epson2] buf[196] c3 .
[epson2] buf[197] c4 .
[epson2] buf[198] c5 .
[epson2] buf[199] c6 .
[epson2] buf[200] c7 .
[epson2] buf[201] c8 .
[epson2] buf[202] c9 .
[epson2] buf[203] ca .
[epson2] buf[204] cb .
[epson2] buf[205] cc .
[epson2] buf[206] cd .
[epson2] buf[207] ce .
[epson2] buf[208] cf .
[epson2] buf[209] d0 .
[epson2] buf[210] d1 .
[epson2] buf[211] d2 .
[epson2] buf[212] d3 .
[epson2] buf[213] d4 .
[epson2] buf[214] d5 .
[epson2] buf[215] d6 .
[epson2] buf[216] d7 .
[epson2] buf[217] d8 .
[epson2] buf[218] d9 .
[epson2] buf[219] da .
[epson2] buf[220] db .
[epson2] buf[221] dc .
[epson2] buf[222] dd .
[epson2] buf[223] de .
[epson2] buf[224] df .
[epson2] buf[225] e0 .
[epson2] buf[226] e1 .
[epson2] buf[227] e2 .
[epson2] buf[228] e3 .
[epson2] buf[229] e4 .
[epson2] buf[230] e5 .
[epson2] buf[231] e6 .
[epson2] buf[232] e7 .
[epson2] buf[233] e8 .
[epson2] buf[234] e9 .
[epson2] buf[235] ea .
[epson2] buf[236] eb .
[epson2] buf[237] ec .
[epson2] buf[238] ed .
[epson2] buf[239] ee .
[epson2] buf[240] ef .
[epson2] buf[241] f0 .
[epson2] buf[242] f1 .
[epson2] buf[243] f2 .
[epson2] buf[244] f3 .
[epson2] buf[245] f4 .
[epson2] buf[246] f5 .
[epson2] buf[247] f6 .
[epson2] buf[248] f7 .
[epson2] buf[249] f8 .
[epson2] buf[250] f9 .
[epson2] buf[251] fa .
[epson2] buf[252] fb .
[epson2] buf[253] fc .
[epson2] buf[254] fd .
[epson2] buf[255] fe .
[epson2] buf[256] ff .
[epson2] e2_send: cmd count, r = 35, w = 33
[epson2] e2_recv: size = 1, buf = 0x7fff20978d1f
[epson2] e2_recv: cmd count, r = 36, w = 33
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC z
[epson2] buf[0] 1b .
[epson2] buf[1] 7a z
[epson2] e2_send: cmd count, r = 36, w = 34
[epson2] e2_recv: size = 1, buf = 0x7fff20978d1f
[epson2] e2_recv: cmd count, r = 37, w = 34
[epson2] buf[0] 06 .
[epson2] e2_cmd_simple: size = 257
[epson2] e2_send: size = 257, reply = 1
[epson2] buf[0] 42 B
[epson2] buf[1] 00 .
[epson2] buf[2] 01 .
[epson2] buf[3] 02 .
[epson2] buf[4] 03 .
[epson2] buf[5] 04 .
[epson2] buf[6] 05 .
[epson2] buf[7] 06 .
[epson2] buf[8] 07 .
[epson2] buf[9] 08 .
[epson2] buf[10] 09 .
[epson2] buf[11] 0a .
[epson2] buf[12] 0b .
[epson2] buf[13] 0c .
[epson2] buf[14] 0d .
[epson2] buf[15] 0e .
[epson2] buf[16] 0f .
[epson2] buf[17] 10 .
[epson2] buf[18] 11 .
[epson2] buf[19] 12 .
[epson2] buf[20] 13 .
[epson2] buf[21] 14 .
[epson2] buf[22] 15 .
[epson2] buf[23] 16 .
[epson2] buf[24] 17 .
[epson2] buf[25] 18 .
[epson2] buf[26] 19 .
[epson2] buf[27] 1a .
[epson2] buf[28] 1b .
[epson2] buf[29] 1c .
[epson2] buf[30] 1d .
[epson2] buf[31] 1e .
[epson2] buf[32] 1f .
[epson2] buf[33] 20  
[epson2] buf[34] 21 !
[epson2] buf[35] 22 "
[epson2] buf[36] 23 #
[epson2] buf[37] 24 $
[epson2] buf[38] 25 %
[epson2] buf[39] 26 &
[epson2] buf[40] 27 '
[epson2] buf[41] 28 (
[epson2] buf[42] 29 )
[epson2] buf[43] 2a *
[epson2] buf[44] 2b +
[epson2] buf[45] 2c ,
[epson2] buf[46] 2d -
[epson2] buf[47] 2e .
[epson2] buf[48] 2f /
[epson2] buf[49] 30 0
[epson2] buf[50] 31 1
[epson2] buf[51] 32 2
[epson2] buf[52] 33 3
[epson2] buf[53] 34 4
[epson2] buf[54] 35 5
[epson2] buf[55] 36 6
[epson2] buf[56] 37 7
[epson2] buf[57] 38 8
[epson2] buf[58] 39 9
[epson2] buf[59] 3a :
[epson2] buf[60] 3b ;
[epson2] buf[61] 3c <
[epson2] buf[62] 3d =
[epson2] buf[63] 3e >
[epson2] buf[64] 3f ?
[epson2] buf[65] 40 @
[epson2] buf[66] 41 A
[epson2] buf[67] 42 B
[epson2] buf[68] 43 C
[epson2] buf[69] 44 D
[epson2] buf[70] 45 E
[epson2] buf[71] 46 F
[epson2] buf[72] 47 G
[epson2] buf[73] 48 H
[epson2] buf[74] 49 I
[epson2] buf[75] 4a J
[epson2] buf[76] 4b K
[epson2] buf[77] 4c L
[epson2] buf[78] 4d M
[epson2] buf[79] 4e N
[epson2] buf[80] 4f O
[epson2] buf[81] 50 P
[epson2] buf[82] 51 Q
[epson2] buf[83] 52 R
[epson2] buf[84] 53 S
[epson2] buf[85] 54 T
[epson2] buf[86] 55 U
[epson2] buf[87] 56 V
[epson2] buf[88] 57 W
[epson2] buf[89] 58 X
[epson2] buf[90] 59 Y
[epson2] buf[91] 5a Z
[epson2] buf[92] 5b [
[epson2] buf[93] 5c \
[epson2] buf[94] 5d ]
[epson2] buf[95] 5e ^
[epson2] buf[96] 5f _
[epson2] buf[97] 60 `
[epson2] buf[98] 61 a
[epson2] buf[99] 62 b
[epson2] buf[100] 63 c
[epson2] buf[101] 64 d
[epson2] buf[102] 65 e
[epson2] buf[103] 66 f
[epson2] buf[104] 67 g
[epson2] buf[105] 68 h
[epson2] buf[106] 69 i
[epson2] buf[107] 6a j
[epson2] buf[108] 6b k
[epson2] buf[109] 6c l
[epson2] buf[110] 6d m
[epson2] buf[111] 6e n
[epson2] buf[112] 6f o
[epson2] buf[113] 70 p
[epson2] buf[114] 71 q
[epson2] buf[115] 72 r
[epson2] buf[116] 73 s
[epson2] buf[117] 74 t
[epson2] buf[118] 75 u
[epson2] buf[119] 76 v
[epson2] buf[120] 77 w
[epson2] buf[121] 78 x
[epson2] buf[122] 79 y
[epson2] buf[123] 7a z
[epson2] buf[124] 7b {
[epson2] buf[125] 7c |
[epson2] buf[126] 7d }
[epson2] buf[127] 7e ~
[epson2] buf[128] 7f .
[epson2] buf[129] 80 .
[epson2] buf[130] 81 .
[epson2] buf[131] 82 .
[epson2] buf[132] 83 .
[epson2] buf[133] 84 .
[epson2] buf[134] 85 .
[epson2] buf[135] 86 .
[epson2] buf[136] 87 .
[epson2] buf[137] 88 .
[epson2] buf[138] 89 .
[epson2] buf[139] 8a .
[epson2] buf[140] 8b .
[epson2] buf[141] 8c .
[epson2] buf[142] 8d .
[epson2] buf[143] 8e .
[epson2] buf[144] 8f .
[epson2] buf[145] 90 .
[epson2] buf[146] 91 .
[epson2] buf[147] 92 .
[epson2] buf[148] 93 .
[epson2] buf[149] 94 .
[epson2] buf[150] 95 .
[epson2] buf[151] 96 .
[epson2] buf[152] 97 .
[epson2] buf[153] 98 .
[epson2] buf[154] 99 .
[epson2] buf[155] 9a .
[epson2] buf[156] 9b .
[epson2] buf[157] 9c .
[epson2] buf[158] 9d .
[epson2] buf[159] 9e .
[epson2] buf[160] 9f .
[epson2] buf[161] a0 .
[epson2] buf[162] a1 .
[epson2] buf[163] a2 .
[epson2] buf[164] a3 .
[epson2] buf[165] a4 .
[epson2] buf[166] a5 .
[epson2] buf[167] a6 .
[epson2] buf[168] a7 .
[epson2] buf[169] a8 .
[epson2] buf[170] a9 .
[epson2] buf[171] aa .
[epson2] buf[172] ab .
[epson2] buf[173] ac .
[epson2] buf[174] ad .
[epson2] buf[175] ae .
[epson2] buf[176] af .
[epson2] buf[177] b0 .
[epson2] buf[178] b1 .
[epson2] buf[179] b2 .
[epson2] buf[180] b3 .
[epson2] buf[181] b4 .
[epson2] buf[182] b5 .
[epson2] buf[183] b6 .
[epson2] buf[184] b7 .
[epson2] buf[185] b8 .
[epson2] buf[186] b9 .
[epson2] buf[187] ba .
[epson2] buf[188] bb .
[epson2] buf[189] bc .
[epson2] buf[190] bd .
[epson2] buf[191] be .
[epson2] buf[192] bf .
[epson2] buf[193] c0 .
[epson2] buf[194] c1 .
[epson2] buf[195] c2 .
[epson2] buf[196] c3 .
[epson2] buf[197] c4 .
[epson2] buf[198] c5 .
[epson2] buf[199] c6 .
[epson2] buf[200] c7 .
[epson2] buf[201] c8 .
[epson2] buf[202] c9 .
[epson2] buf[203] ca .
[epson2] buf[204] cb .
[epson2] buf[205] cc .
[epson2] buf[206] cd .
[epson2] buf[207] ce .
[epson2] buf[208] cf .
[epson2] buf[209] d0 .
[epson2] buf[210] d1 .
[epson2] buf[211] d2 .
[epson2] buf[212] d3 .
[epson2] buf[213] d4 .
[epson2] buf[214] d5 .
[epson2] buf[215] d6 .
[epson2] buf[216] d7 .
[epson2] buf[217] d8 .
[epson2] buf[218] d9 .
[epson2] buf[219] da .
[epson2] buf[220] db .
[epson2] buf[221] dc .
[epson2] buf[222] dd .
[epson2] buf[223] de .
[epson2] buf[224] df .
[epson2] buf[225] e0 .
[epson2] buf[226] e1 .
[epson2] buf[227] e2 .
[epson2] buf[228] e3 .
[epson2] buf[229] e4 .
[epson2] buf[230] e5 .
[epson2] buf[231] e6 .
[epson2] buf[232] e7 .
[epson2] buf[233] e8 .
[epson2] buf[234] e9 .
[epson2] buf[235] ea .
[epson2] buf[236] eb .
[epson2] buf[237] ec .
[epson2] buf[238] ed .
[epson2] buf[239] ee .
[epson2] buf[240] ef .
[epson2] buf[241] f0 .
[epson2] buf[242] f1 .
[epson2] buf[243] f2 .
[epson2] buf[244] f3 .
[epson2] buf[245] f4 .
[epson2] buf[246] f5 .
[epson2] buf[247] f6 .
[epson2] buf[248] f7 .
[epson2] buf[249] f8 .
[epson2] buf[250] f9 .
[epson2] buf[251] fa .
[epson2] buf[252] fb .
[epson2] buf[253] fc .
[epson2] buf[254] fd .
[epson2] buf[255] fe .
[epson2] buf[256] ff .
[epson2] e2_send: cmd count, r = 37, w = 35
[epson2] e2_recv: size = 1, buf = 0x7fff20978d1f
[epson2] e2_recv: cmd count, r = 38, w = 35
[epson2] buf[0] 06 .
[epson2] using built in CCT profile
[epson2] esci_set_color_correction_coefficients
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC m
[epson2] buf[0] 1b .
[epson2] buf[1] 6d m
[epson2] e2_send: cmd count, r = 38, w = 36
[epson2] e2_recv: size = 1, buf = 0x7fff20978cdf
[epson2] e2_recv: cmd count, r = 39, w = 36
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK
scanimage: sane_start: Invalid argument
[epson2] close_scanner: fd = 1
[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 = 39, w = 37
[epson2] e2_recv: size = 4, buf = 0x7fff2097af50
[epson2] e2_recv: cmd count, r = 40, w = 37
[epson2] buf[0] 02 .
[epson2] buf[1] 00 .
[epson2] buf[2] 00 .
[epson2] buf[3] 00 .
[epson2] status: 00
[epson2]  ready
[epson2]  no option equipment installed
[epson2]  does NOT support extended commands
[epson2] esci_request_extended_status
[epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7fff2097af98
[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 = 40, w = 38
[epson2] e2_recv: size = 4, buf = 0x7fff2097aee0
[epson2] e2_recv: cmd count, r = 41, w = 38
[epson2] buf[0] 02 .
[epson2] buf[1] 00 .
[epson2] buf[2] 2a *
[epson2] buf[3] 00 .
[epson2] e2_recv_info_block: payload length: 42
[epson2] e2_recv: size = 42, buf = 0x252a4a0
[epson2] e2_recv: cmd count, r = 42, w = 38
[epson2] buf[0] 01 .
[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] 00 .
[epson2] buf[12] 00 .
[epson2] buf[13] 00 .
[epson2] buf[14] 00 .
[epson2] buf[15] 00 .
[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] 50 P
[epson2] buf[27] 65 e
[epson2] buf[28] 72 r
[epson2] buf[29] 66 f
[epson2] buf[30] 65 e
[epson2] buf[31] 63 c
[epson2] buf[32] 74 t
[epson2] buf[33] 69 i
[epson2] buf[34] 6f o
[epson2] buf[35] 6e n
[epson2] buf[36] 36 6
[epson2] buf[37] 34 4
[epson2] buf[38] 30 0
[epson2] buf[39] 20  
[epson2] buf[40] 20  
[epson2] buf[41] 20  
[epson2] main = 01, ADF = 00, TPU = 00, main 2 = 00
[epson2] sane_epson2_exit
[epson2] free_devices
#####


And the output of 'ltrace -o /tmp/debbug_libsane_epson2.ltrace scanimage -d 
epson2:libusb:007:002 -T':
#####
__libc_start_main(0x403730, 4, 0x7fffef63faa8, 0x407bb0, 0x407ba0 <unfinished 
...>
__cxa_atexit(0x405fb0, 0, 0, 0, 0x7f1c4332d320)                                 
      = 0
strrchr("scanimage", '/')                                                       
      = NULL
getenv("SANE_DEFAULT_DEVICE")                                                   
      = NULL
sane_init(0x7fffef63f974, 0x405910, 2048, 8, 0xffffffffffbf6e48)                
      = 0
getopt_long(4, 0x7fffef63faa8, "-d:hi:Lf:B::nvVTbp", 0x0060a420, 0)             
      = 100
getopt_long(4, 0x7fffef63faa8, "-d:hi:Lf:B::nvVTbp", 0x0060a420, 0)             
      = 84
getopt_long(4, 0x7fffef63faa8, "-d:hi:Lf:B::nvVTbp", 0x0060a420, 0)             
      = -1
sane_open(0x7fffef64160b, 0x60a758, 0x7f1c4332c130, 0, 0x7fffef63f97c)          
      = 0
sane_get_option_descriptor(0x1034c90, 0, 0x7f1c4353b1e8, 0x7f1c4353b32f, 
0x7fffef63d770) = 0x10334e8
sane_control_option(0x1034c90, 0, 0, 0x7fffef63f978, 0)                         
      = 0
malloc(1856)                                                                    
      = 0x01034cb0
malloc(148)                                                                     
      = 0x01035400
sane_get_option_descriptor(0x1034c90, 0, 0x7f1c4332de60, 0x10353f0, 0x10353f0)  
      = 0x10334e8
sane_control_option(0x1034c90, 0, 0, 0x7fffef63d87c, 0)                         
      = 0
sane_get_option_descriptor(0x1034c90, 1, 640, 0, 0x7fffef63d720)                
      = 0x1033520
sane_get_option_descriptor(0x1034c90, 2, 0x7f1c4353b1e8, 0x7f1c4353b590, 
0x7fffef63d770) = 0x1033558
sane_get_option_descriptor(0x1034c90, 3, 0x1034cb0, 2, 0x7fffef63d770)          
      = 0x1033590
sane_get_option_descriptor(0x1034c90, 4, 0x1034cd0, 0, 0x7fffef63d770)          
      = 0x10335c8
sane_get_option_descriptor(0x1034c90, 5, 0x1034cf0, 2, 0x7fffef63d770)          
      = 0x1033600
sane_get_option_descriptor(0x1034c90, 6, 0x1034d10, 2, 0x7fffef63d770)          
      = 0x1033638
sane_get_option_descriptor(0x1034c90, 7, 0x1034d30, 0, 0x7fffef63d770)          
      = 0x1033670
sane_get_option_descriptor(0x1034c90, 8, 0x1034d50, 0, 0x7fffef63d770)          
      = 0x10336a8
sane_get_option_descriptor(0x1034c90, 9, 0x1034d70, 2, 0x7fffef63d770)          
      = 0x10336e0
sane_get_option_descriptor(0x1034c90, 10, 0x1034d90, 2, 0x7fffef63d770)         
      = 0x1033718
sane_get_option_descriptor(0x1034c90, 11, 0x1034db0, 0, 0x7fffef63d770)         
      = 0x1033750
sane_get_option_descriptor(0x1034c90, 12, 0x1034dd0, 0, 0x7fffef63d770)         
      = 0x1033788
sane_get_option_descriptor(0x1034c90, 13, 0x7f1c4353b1e8, 0x7f1c4353b590, 
0x7fffef63d770) = 0x10337c0
sane_get_option_descriptor(0x1034c90, 14, 0x1034df0, 0xffffffff, 
0x7fffef63d770)      = 0x10337f8
sane_get_option_descriptor(0x1034c90, 15, 0x1034e10, 0xffffffff, 
0x7fffef63d770)      = 0x1033830
sane_get_option_descriptor(0x1034c90, 16, 0x1034e30, 0, 0x7fffef63d770)         
      = 0x1033868
sane_get_option_descriptor(0x1034c90, 17, 0x1034e50, 0, 0x7fffef63d770)         
      = 0x10338a0
sane_get_option_descriptor(0x1034c90, 18, 0x1034e70, 0, 0x7fffef63d770)         
      = 0x10338d8
sane_get_option_descriptor(0x1034c90, 19, 0x1034e90, 0xffffffff, 
0x7fffef63d770)      = 0x1033910
sane_get_option_descriptor(0x1034c90, 20, 0x7f1c4353b1e8, 0x7f1c4353b590, 
0x7fffef63d770) = 0x1033948
sane_get_option_descriptor(0x1034c90, 21, 0x1034eb0, 2, 0x7fffef63d770)         
      = 0x1033980
sane_get_option_descriptor(0x1034c90, 22, 0x1034ed0, 1, 0x7fffef63d770)         
      = 0x10339b8
sane_get_option_descriptor(0x1034c90, 23, 0x7f1c4353b1e8, 0x7f1c4353b590, 
0x7fffef63d770) = 0x10339f0
sane_get_option_descriptor(0x1034c90, 24, 0x1034ef0, 0xffffffff, 
0x7fffef63d770)      = 0x1033a28
sane_get_option_descriptor(0x1034c90, 25, 0x7f1c4353b1e8, 0x7f1c4353b590, 
0x7fffef63d770) = 0x1033a60
sane_get_option_descriptor(0x1034c90, 26, 1, 0, 0x7f1c42dcdb80)                 
      = 0x1033a98
sane_get_option_descriptor(0x1034c90, 27, 1, 0, 0x7f1c42dcdb90)                 
      = 0x1033ad0
sane_get_option_descriptor(0x1034c90, 28, 1, 0, 0x7f1c42dcdba0)                 
      = 0x1033b08
sane_get_option_descriptor(0x1034c90, 29, 1, 0, 0x7f1c42dcdbb4)                 
      = 0x1033b40
sane_get_option_descriptor(0x1034c90, 30, 0x7f1c4353b1e8, 0x7f1c4353b590, 
0x7fffef63d770) = 0x1033b78
sane_get_option_descriptor(0x1034c90, 31, 0x1034f90, 2, 0x7fffef63d770)         
      = 0x1033bb0
sane_get_option_descriptor(0x1034c90, 32, 0x1034fb0, 0xffffffff, 
0x7fffef63d770)      = 0x1033be8
sane_get_option_descriptor(0x1034c90, 33, 0x1034fd0, 2, 0x7fffef63d770)         
      = 0x1033c20
sane_get_option_descriptor(0x1034c90, 34, 0x1034ff0, 2, 0x7fffef63d770)         
      = 0x1033c58
sane_get_option_descriptor(0x1034c90, 35, 0x1035010, 2, 0x7fffef63d770)         
      = 0x1033c90
sane_get_option_descriptor(0x1034c90, 36, 0x1035030, 3, 0x7fffef63d770)         
      = 0x1033cc8
sane_control_option(0x1034c90, 27, 0, 0x60a870, 0)                              
      = 0
sane_control_option(0x1034c90, 25, 0, 0x7fffef63d878, 0)                        
      = 0
sane_control_option(0x1034c90, 28, 0, 0x60a874, 0)                              
      = 0
sane_control_option(0x1034c90, 26, 0, 0x7fffef63d878, 0)                        
      = 0
malloc(26)                                                                      
      = 0x0104c080
strcat("d:hi:Lf:B::nvVTbp", "l:")                                               
      = "d:hi:Lf:B::nvVTbpl:"
strcat("d:hi:Lf:B::nvVTbpl:", "t:")                                             
      = "d:hi:Lf:B::nvVTbpl:t:"
strcat("d:hi:Lf:B::nvVTbpl:t:", "x:")                                           
      = "d:hi:Lf:B::nvVTbpl:t:x:"
strcat("d:hi:Lf:B::nvVTbpl:t:x:", "y:")                                         
      = "d:hi:Lf:B::nvVTbpl:t:x:y:"
getopt_long(4, 0x7fffef63faa8, "d:hi:Lf:B::nvVTbpl:t:x:y:", 0x01034cb0, 0)      
      = 100
getopt_long(4, 0x7fffef63faa8, "d:hi:Lf:B::nvVTbpl:t:x:y:", 0x01034cb0, 0)      
      = 84
getopt_long(4, 0x7fffef63faa8, "d:hi:Lf:B::nvVTbpl:t:x:y:", 0x01034cb0, 0)      
      = -1
free(0x0104c080)                                                                
      = <void>
sane_control_option(0x1034c90, 25, 0, 0x7fffef63f970, 0)                        
      = 0
sane_get_option_descriptor(0x1034c90, 27, 0x7fffef63f96c, 25, 0x7fffef63d770)   
      = 0x1033ad0
sane_control_option(0x1034c90, 27, 1, 0x7fffef63f96c, 0x7fffef63d88c)           
      = 0
sane_control_option(0x1034c90, 26, 0, 0x7fffef63f970, 0)                        
      = 0
sane_get_option_descriptor(0x1034c90, 28, 0x7fffef63f96c, 26, 0x7fffef63d770)   
      = 0x1033b08
sane_control_option(0x1034c90, 28, 1, 0x7fffef63f96c, 0x7fffef63d88c)           
      = 0
signal(1, 0x00405870)                                                           
      = NULL
signal(2, 0x00405870)                                                           
      = NULL
signal(13, 0x00405870)                                                          
      = NULL
signal(15, 0x00405870)                                                          
      = NULL
sane_start(0x1034c90, 0x7fffef63d6c0, 0, -1, 0x7fffef63d770)                    
      = 4
sane_strstatus(4, 0, 0x7f1c42dcd568, 0x7f1c42dcef77, 0x7fffef63d550)            
      = 0x7f1c4353adac
fprintf(0x7f1c4332c880, "%s: sane_start: %s\n", "scanimage", "Invalid 
argument")      = 40
sane_cancel(0x1034c90, 0x7fffef63aff0, 0x7f1c4332de20, -1, 0x7f1c439346f0)      
      = 0x7f1c42dbf9d0
sane_close(0x1034c90, 4, 0x7f1c4332d350, 0x7f1c4332d350, 0x7fffef63d7d0)        
      = 0
sane_exit(0x7f1c4332de60, 0, -32, 32480, 0x7fffef63f830)                        
      = 0x7f1c4373c5e0
free(0x01034cb0)                                                                
      = <void>
free(0x01035400)                                                                
      = <void>
+++ exited (status 4) +++
#####



HTH,
Michel

Attachment: signature.asc
Description: Digital signature

Reply via email to