[sanei_debug] Setting debug level of mustek to 255. [mustek] SANE Mustek backend version 1.0 build 96 (SANE 1.0.3) [mustek] sane_init: authorize == null [mustek] sane_init: using sanei_scsi_open_extended [mustek] sane_init: couldn't find config file (mustek.conf), trying /dev/scanner directly [mustek] attach: trying device /dev/scanner [mustek] dev_open /dev/scanner [mustek] dev_open: /dev/scanner is a SCSI device [mustek] dev_open: wanted 8 kbytes, got 8 kbytes buffer [mustek] attach: sending INQUIRY [mustek] scsi_wait_ready: sending TEST_UNIT_READY [mustek] attach: SCSI Vendor: `SCANNER ' Model: ` ' Rev.: `2.02' [mustek] attach: SCSI Type: Scanner; ANSI rev.: 1 [mustek] attach: SCSI flags: [mustek] attach: inquiry output: [mustek] 06 00 01 01 5b 01 00 00 53 43 41 4e 4e 45 52 20 ....[...SCANNER [mustek] 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 [mustek] 32 2e 30 32 4d 55 53 54 45 4b 20 20 20 43 30 36 2.02MUSTEK C06 [mustek] 20 53 31 32 49 44 57 4d 31 32 33 37 39 37 01 40 S12IDWM123797.@ [mustek] 01 03 01 01 00 00 00 00 00 00 00 00 00 00 00 00 ................ [mustek] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ................ [mustek] attach: found Mustek scanner (new firmware format) [mustek] attach: old firmware revision system [mustek] attach: firmware revision 2.02 [mustek] attach: scanner id: C06 S12IDW [mustek] attach: this is probably a ScanExpress series scanner [mustek] attach: this is a single-pass scanner [mustek] attach: found Mustek ScanExpress 12000SP flatbed scanner, 1-pass, SE [mustek] sane_open [mustek] sane_control_option (0) [mustek] sane_control_option (0) [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_control_option (12) [mustek] sane_get_option_descriptor [mustek] sane_control_option (13) [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_get_option_descriptor [mustek] sane_control_option (10) [mustek] sane_control_option (11) [mustek] sane_control_option (10) [mustek] sane_get_option_descriptor [mustek] sane_control_option (12) [mustek] sane_control_option (11) [mustek] sane_get_option_descriptor [mustek] sane_control_option (13) [mustek] sane_start [mustek] sane_get_parameters: lines = 862; ppl = 637; bpl = 637 [mustek] encode_resolution: code = 0x4b (75); mode = 0 [mustek] dev_open /dev/scanner [mustek] dev_open: /dev/scanner is a SCSI device [mustek] dev_open: wanted 64 kbytes, got 64 kbytes buffer [mustek] scsi_wait_ready: sending TEST_UNIT_READY [mustek] inquiry: sending INQUIRY [mustek] set_window_se: resolution set to 75 [mustek] get_window: calib_bytes=5300, calib_lines=16 [mustek] get_window: bytes_per_line=638, lines=863 [mustek] get_window: gamma length=4096 [mustek] start_scan [mustek] send_gamma_table_se: sending table for color 0 [mustek] sane_get_parameters: lines = 863; ppl = 638; bpl = 638 scanimage: scanning image of size 638x863 pixels at 8 bits/pixel scanimage: acquiring gray frame, 8 bits/sample scanimage: reading one scanline, 638 bytes... [mustek] sane_read [mustek] reader_process: 102 lines per buffer, 638 bytes per line, 65076 bytes total [mustek] reader_process: starting read [mustek] reader_process: buffer 1: entering read request for 65076 bytes [mustek] buffer_bank: 0 [mustek] reader_process: buffer 1: read request entered [mustek] reader_process: buffer 1: waiting for request to be ready [mustek] reader_process: buffer 1: ready: 102 lines of 863 total; 65076 bytes [mustek] reader_process: buffer 2: entering read request for 65076 bytes [mustek] buffer_bank: 0 [mustek] reader_process: buffer 2: read request entered [mustek] reader_process: buffer 1: sending 65076 bytes to output_data [mustek] output_data: data=0x8060130, lpb=102, bpl=638, extra=0x807fda0 [mustek] output_data: write 102 lpb; 638 bpl [mustek] sane_read: read 638 bytes PASS scanimage: reading one byte... [mustek] sane_read [mustek] sane_read: read 1 bytes PASS scanimage: stepped read, 2 bytes... [mustek] sane_read [mustek] sane_read: read 2 bytes PASS scanimage: stepped read, 4 bytes... [mustek] sane_read [mustek] sane_read: read 4 bytes PASS scanimage: stepped read, 8 bytes... [mustek] sane_read [mustek] sane_read: read 8 bytes PASS scanimage: stepped read, 16 bytes... [mustek] sane_read [mustek] sane_read: read 16 bytes PASS scanimage: stepped read, 32 bytes... [mustek] sane_read [mustek] sane_read: read 32 bytes PASS scanimage: stepped read, 64 bytes... [mustek] sane_read [mustek] sane_read: read 64 bytes PASS scanimage: stepped read, 128 bytes... [mustek] sane_read [mustek] sane_read: read 128 bytes PASS scanimage: stepped read, 256 bytes... [mustek] sane_read [mustek] sane_read: read 256 bytes PASS scanimage: stepped read, 512 bytes... [mustek] sane_read [mustek] sane_read: read 512 bytes PASS scanimage: stepped read, 1024 bytes... [mustek] sane_read [mustek] sane_read: read 1024 bytes PASS scanimage: stepped read, 1023 bytes... [mustek] sane_read [mustek] sane_read: read 1023 bytes PASS scanimage: stepped read, 511 bytes... [mustek] sane_read [mustek] sane_read: read 388 bytes PASS scanimage: stepped read, 255 bytes... [mustek] sane_read [mustek] sane_read: read 255 bytes PASS scanimage: stepped read, 127 bytes... [mustek] sane_read [mustek] sane_read: read 127 bytes PASS scanimage: stepped read, 63 bytes... [mustek] sane_read [mustek] sane_read: read 63 bytes PASS scanimage: stepped read, 31 bytes... [mustek] sane_read [mustek] sane_read: read 31 bytes PASS scanimage: stepped read, 15 bytes... [mustek] sane_read [mustek] sane_read: read 15 bytes PASS scanimage: stepped read, 7 bytes... [mustek] sane_read [mustek] sane_read: read 7 bytes PASS scanimage: stepped read, 3 bytes... [mustek] sane_read [mustek] sane_read: read 3 bytes PASS [mustek] sane_cancel [mustek] do_stop [mustek] Scanning time was 8 seconds, 67 kB/s [mustek] do_stop: terminating reader process [mustek] sigterm_handler: signal 15 [mustek] do_stop: reader process terminated with status 0x0 [mustek] do_stop: waiting for scanner to become ready [mustek] scsi_wait_ready: sending TEST_UNIT_READY [mustek] do_stop: sending STOP command [mustek] stop_scan [mustek] do_stop: closing scanner [mustek] sane_cancel finished [mustek] sane_close [mustek] sane_exit