I recently bought this scanner, in hopes of getting it working correctly
with SANE. Well, it works, the output seems to be perfectly good in all
modes I tried, but it is incredibly slow. Every operation takes about 20
times of that in *ahem* windows, on the same configuration.
I still use the supplied DTC3181 SCSI card, but got the interrupt
working with soldering the PNP/PNR jumper into PNP mode.
Also modified /usr/include/scsi/sg.h to
#define SG_SCATTER_SZ (32 * 4096)
(this seems to be the new name for SG_BIG_BUFF in kernel 2.2.9 I'm
using)
Sane version is 1.0.1. I can't think of anyhting else to make it scan
faster. Below is an excerpt from the debug output of scanimage. There is
about an 8 sec. pause between every 14 lines of data.....
Any help greatly appreciated. Thank you.
Laszlo
[mustek] attach: sending INQUIRY
[mustek] scsi_wait_ready: sending TEST_UNIT_READY
[mustek] attach: firmware revision 2.02
[mustek] attach: found Mustek scanner model C06 S12IDW (flatbed
scanner), 1-pass, SE
[mustek] scsi_wait_ready: sending TEST_UNIT_READY
[mustek] do_inquiry: sending INQUIRY
[mustek] get_window: calib_bytes=15900, calib_lines=16
[mustek] get_window: bytes_per_line=4608, lines=2016
[mustek] get_window: gamma length=4096
[mustek] line_distance: got res=300, (r/g/b)=(0/2/4)
[mustek] get_window: bytes_per_line=4608, lines=2012, pixels=4608
[mustek] send_gamma_se: sending table for color 1
[mustek] send_gamma_se: sending table for color 2
[mustek] send_gamma_se: sending table for color 3
[mustek] lines_per_buffer=14, bytes_per_line=4608
[mustek] reader: about to read 64512 bytes
[mustek] buffer_bank: 0
[mustek] reader_process: line=14 (num_lines=2012), num_reqs=1
[mustek] reader_process: 64512 bytes read.
[mustek] reader: about to read 64512 bytes
[mustek] buffer_bank: 0
[mustek] reader_process: line=28 (num_lines=2012), num_reqs=1
[mustek] reader_process: 64512 bytes read.
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com