[sane-devel] Agfa DuoScan SCSI scanner with Mac OS X 10.4
m. allan noah
kitno455 at gmail.com
Fri Jul 22 12:21:24 UTC 2011
Well, according to the debug message, this model is untested. Perhaps
you can email the author as directed?
allan
On Fri, Jul 22, 2011 at 7:40 AM, Werner Randelshofer
<werner.randelshofer at bluewin.ch> wrote:
> Hi Allan,
>
> I have now disabled agfafocus and enabled microtek.
> scanimage -L works now. This is great. Thank you!
>
> Unfortunately, I still can not scan a page. I get the following error message.
>
> scanimage: sane_start: Error during device I/O
>
> I have attached the output of scanimage at the end of this e-mail.
> I have switched the debugging on for sanei_scsi and microtek.
>
> I guess there might be a problem with the commands that are sent to the device.
> Suggestions highly appreciated.
>
> Werner
>
>
> On 22.07.2011, at 12:51, m. allan noah wrote:
>> Try changing /etc/sane.d/dll.conf. Disable agfafocus and make sure
>> microtek is enabled.
>>
>> allan
>
>
> $ scanimage > Desktop/test.pnm
> [sanei_debug] Setting debug level of microtek to 128.
> [microtek] sane_init: MICROTEK says hello! (v0.13.1)
> [microtek] sane_init: config-> # Uncomment following line to disable "real calibration" routines...
> [microtek] sane_init: config-> #norealcal
> [microtek] sane_init: config-> # Uncomment following line to disable "clever precalibration" routines...
> [microtek] sane_init: config-> #noprecal
> [microtek] sane_init: config-> # Using "norealcal" will revert backend to pre-0.11.0 calibration code.
> [microtek] sane_init: config-> scsi * * Scanner
> [microtek] attach_scanner: <019bc800000000172dcdf573>
> [microtek] attach_scanner: opening <019bc800000000172dcdf573>
> [sanei_debug] Setting debug level of sanei_scsi to 255.
> [microtek] attach_scanner: sending INQUIRY
> [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:96 isWrite:0
> [sanei_scsi] isRead dst_size:96
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 96 bytes
> [microtek] id_microtek...
> [microtek]
> [microtek]
> [microtek]
> [microtek] ========== Congratulations! ==========
> [microtek] Your scanner appears to be supported
> [microtek] by the microtek backend. However, it
> [microtek] has never been tried before, and some
> [microtek] parameters are bound to be wrong.
> [microtek]
> [microtek] Please send the scanner inquiry log in
> [microtek] its entirety to mtek-bugs at mir.com and
> [microtek] include a description of the scanner,
> [microtek] including the base optical resolution.
> [microtek]
> [microtek] You'll find complete instructions for
> [microtek] submitting an error/debug log in the
> [microtek] 'sane-microtek' man-page.
> [microtek]
> [microtek]
> [microtek]
> [microtek] === SANE/Microtek backend v0.13.1 ===
> [microtek] ========== Scanner Inquiry Block ========mm
> [microtek] 06 00 01 01 5b 00 00 00 41 47 46 41 20 20 20 20
> [microtek] 44 55 4f 53 43 41 4e 20 20 20 20 20 20 20 20 20
> [microtek] 32 2e 33 30 53 43 53 49 20 46 57 20 56 33 2e 36
> [microtek] 20 43 54 4c 35 33 38 30 03 4f 8c c5 06 ee 5d 43
> [microtek] 01 03 47 00 00 83 00 01 0e 4a 07 05 00 00 00 00
> [microtek] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
> [microtek] ========== Scanner Inquiry Report ==========
> [microtek] ===== Scanner ID...
> [microtek] Device Type Code: 0x06
> [microtek] Model Code: 0x5d
> [microtek] Vendor Name: 'AGFA ' Model Name: 'DUOSCAN '
> [microtek] Vendor Specific String: 'SCSI FW V3.6 CTL5380'
> [microtek] Firmware Rev: '2.30'
> [microtek] SCSI F/W version: 0.0 Scanner F/W version: 0.1
> [microtek] Response data format: 0x01
> [microtek] ===== Imaging Capabilities...
> [microtek] Modes: Lineart Halftone Gray Color (OnePass)
> [microtek] Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes
> [microtek] Supported Bits Per Sample: 4 8 10 12
> [microtek] Max. document size code: 0x06
> [microtek] Max. document size: 8299 x 13499 pixels
> [microtek] Frame units: pixels 1/8"'s
> [microtek] # of built-in halftones: 12 Downloadable patterns? Yes
> [microtek] Data Compression:
> [microtek] Contrast Settings: 14 Exposure Settings: 74
> [microtek] Adjustable Shadow/Highlight? yes Adjustable Midtone? yes
> [microtek] Digital brightness/offset? yes
> [microtek] Gamma Table Size: 4096 entries of 2 bytes (max. depth: 12)
> [microtek] ===== Source Options...
> [microtek] Feed type: flatbed ADF support? yes
> [microtek] Document Feeder Support? yes Feeder Backtracking? yes
> [microtek] Feeder Installed? no Feeder Ready? no
> [microtek] Transparency Adapter Installed? yes
> [microtek] Fast Color Prescan? no
> [microtek] Selectable Transfer Format? no
> [microtek] Color Transfer Sequence: line-by-line, non-sequential with headers
> [microtek] Three pass scan support? no
> [microtek] ModeSelect-1 and ModeSense-1 Support? yes
> [microtek] Can Disable Linearization Table? no
> [microtek] Can Disable Start-of-Scan Recalibration? no
> [microtek] Internal expanded expansion? no
> [microtek] ====== End of Scanner Inquiry Report =======
> [sanei_debug] Setting debug level of sanei_scsi to 255.
> [sanei_scsi] sanei_scsi_open: device name /dev/scanner is not valid
> [sanei_debug] Setting debug level of sanei_scsi to 255.
> [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:0
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 0 bytes
> [sanei_scsi] cmd2: cmd_size:6 src_size:9 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:9
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 9 bytes
> [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:0
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 0 bytes
> [sanei_scsi] cmd2: cmd_size:10 src_size:8192 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:8192
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 8192 bytes
> [sanei_scsi] cmd2: cmd_size:6 src_size:11 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:11
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 11 bytes
> [sanei_scsi] cmd2: cmd_size:6 src_size:10 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:10
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 10 bytes
> [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:0
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 0 bytes
> [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:0
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 0 bytes
> [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:6 isWrite:0
> [sanei_scsi] isRead dst_size:6
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 6 bytes
> [sanei_scsi] taskStatus = 0x00000002
> [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1
> [sanei_scsi] isWrite src_size:0
> [sanei_scsi] Executing command
> [sanei_scsi] ExecuteTaskSync OK Transferred 0 bytes
> scanimage: sane_start: Error during device I/O
>
>
>
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list