[sane-devel] Microtek ScanMaker 35t+ SCSI-Problems

Hubert Krause hukrause@gmx.de
Sun, 18 Apr 2004 11:48:49 +0200


This is a multi-part message in MIME format.
--------------060504090603000306070403
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello List,

I've tryed to get a Microtek ScanMaker 35t+ to work with my Debian
Linux-Box.

At first I've tryed it with Sane 1.0.7, an adaptec 3940 Controller and
Kernel 2.4.24 with aic7xxx driver compiled in. After that I've tryed it
with Sane 1.0.13. Then I changed the Controller to an Adaptec 2940AU
(aic7860) but the Problem is still the same. If I try to scan, I get the
following SCSI-Error:

kernel: scsi0:0:6:0: Attempting to queue a TARGET RESET message
kernel: CDB: 0x55 0x0 0x27 0x0 0x0 0x0 0x0 0x8 0x0 0x1
kernel: scsi0:0:6:0: Command not found
kernel: aic7xxx_dev_reset returns 0x2002
kernel: scsi: device set offline - not ready or command retry failed
after bus reset: host 0 channel 0 id 6 lun 0
kernel: Device not ready.  Make sure there is a disc in the drive.

After that, the scanner is not accessible anymore. I have to use the
tool scsiadd to remove it from the list of SCSI-devices and after that
rescan the Bus to produce the errormessage above again. A reboot do the
same.

I have put SANE_DEBUG_MICROTEK to 128, and try to get debug-output with
the commandline:

scanimage -d microtek:/dev/sg2 -T 2>scanner-test.txt

the resulting message is in attachment.

The scanner is working with MacOS 8 so I think hardware is OK.

The scanner is one of 3 devices. One yamaha 4260 CD-Burner internaly, an
AGFA SnapScan as first device in extern-chain, and the Microtek as the
last device.

Do anyone on this list know how to get this scanner to work?

Regards,

Hubert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAgk8BFUpf3meJP54RAnWKAJ4jKGd8bqaK1u+O0cm/EPr52kZSxACgnRlJ
zqVf9pLj07gWLQkDijFBxyo=
=MSN+
-----END PGP SIGNATURE-----

--------------060504090603000306070403
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="scanner-test.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="scanner-test.txt"

[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 MICROTEK * * * * * *
[microtek] attach_scanner:  /dev/sg2
[microtek] attach_scanner:  opening /dev/sg2
[microtek] attach_scanner:  sending INQUIRY
[microtek] id_microtek...
[microtek] parse_inquiry...
[microtek] parse_inquiry:  Not an E6 -- pretend recal cannot be disabled.
[microtek] dump_inquiry...
[microtek]  === SANE/Microtek backend v0.13.1 ===
[microtek] ========== Scanner Inquiry Block ========mm
[microtek] 06 31 19 01 5b 00 00 00 4d 49 43 52 4f 54 45 4b 
[microtek] 53 63 61 6e 4d 61 6b 65 72 20 33 35 74 2b 20 20 
[microtek] 31 2e 36 30 53 43 53 49 20 46 2f 57 56 33 2e 34 
[microtek] 20 43 54 4c 35 33 38 30 03 ef 8c c2 80 ec 62 23 
[microtek] 01 03 23 01 00 83 00 01 0e 0e 01 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: 0x62
[microtek] Vendor Name: 'MICROTEK'   Model Name: 'ScanMaker 35t+  '
[microtek] Vendor Specific String: 'SCSI F/WV3.4 CTL5380'
[microtek] Firmware Rev: '1.60'
[microtek] SCSI F/W version: 3.1     Scanner F/W version: 1.9
[microtek] Response data format: 0x01
[microtek] ===== Imaging Capabilities...
[microtek] Modes:  Lineart Halftone Gray Color (X-msv) (OnePass) (Negative) 
[microtek] Resolution Step Sizes: 1% 5%    Expanded Resolution Support? yes
[microtek] Supported Bits Per Sample: 4 8 
[microtek] Max. document size code: 0x80
[microtek] Max. document size:  2686 x 2686 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: 14
[microtek] Adjustable Shadow/Highlight? yes   Adjustable Midtone? yes
[microtek] Digital brightness/offset? yes
[microtek] Gamma Table Size: 1024 entries of 2 bytes (max. depth: 10)
[microtek] ===== Source Options...
[microtek] Feed type:  edge-feed    ADF support? no
[microtek] Document Feeder Support? yes   Feeder Backtracking? yes
[microtek] Feeder Installed? no           Feeder Ready? no 
[microtek] Transparency Adapter Installed? no 
[microtek] Fast Color Prescan? yes
[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 =======
[microtek] attach_scanner:  happy.
[microtek] sane_init:  config-> # /dev/sg1
[microtek] sane_open
[microtek] sane_open:  find device...
[microtek] sane_open:  create scanner...
[microtek] sane_open:  initialize scanner dependent stuff...
[microtek] sane_open:  All calibration routines disabled.
[microtek] sane_open:  init gamma tables...
[microtek] sane_open:  init pass-time variables...
[microtek] sane_open:  init clever cache...
[microtek] sane_open:  initialize options:  
[microtek] init_options...
[microtek] init_options:  quant yes
[microtek] init_options:  done.
[microtek] sane_control_option (opt=0,act=0,val=0xbfffeb0c,info=(nil))
[microtek] sane_control_option (opt=0,act=0,val=0xbfffea88,info=(nil))
[microtek] sane_get_option_descriptor (0)...
[microtek] sane_get_option_descriptor (1)...
[microtek] sane_get_option_descriptor (2)...
[microtek] sane_get_option_descriptor (3)...
[microtek] sane_get_option_descriptor (4)...
[microtek] sane_get_option_descriptor (5)...
[microtek] sane_get_option_descriptor (6)...
[microtek] sane_get_option_descriptor (7)...
[microtek] sane_get_option_descriptor (8)...
[microtek] sane_get_option_descriptor (9)...
[microtek] sane_get_option_descriptor (10)...
[microtek] sane_get_option_descriptor (11)...
[microtek] sane_get_option_descriptor (12)...
[microtek] sane_get_option_descriptor (13)...
[microtek] sane_get_option_descriptor (14)...
[microtek] sane_control_option (opt=14,act=0,val=0x8050438,info=(nil))
[microtek] sane_get_option_descriptor (15)...
[microtek] sane_control_option (opt=15,act=0,val=0x805043c,info=(nil))
[microtek] sane_get_option_descriptor (16)...
[microtek] sane_get_option_descriptor (17)...
[microtek] sane_get_option_descriptor (18)...
[microtek] sane_get_option_descriptor (19)...
[microtek] sane_get_option_descriptor (20)...
[microtek] sane_get_option_descriptor (21)...
[microtek] sane_get_option_descriptor (22)...
[microtek] sane_get_option_descriptor (23)...
[microtek] sane_get_option_descriptor (24)...
[microtek] sane_get_option_descriptor (25)...
[microtek] sane_get_option_descriptor (26)...
[microtek] sane_get_option_descriptor (27)...
[microtek] sane_get_option_descriptor (28)...
[microtek] sane_get_option_descriptor (29)...
[microtek] sane_get_option_descriptor (30)...
[microtek] sane_get_option_descriptor (31)...
[microtek] sane_get_option_descriptor (32)...
[microtek] sane_get_option_descriptor (33)...
[microtek] sane_control_option (opt=12,act=0,val=0xbfffea84,info=(nil))
[microtek] sane_control_option (opt=13,act=0,val=0xbfffea84,info=(nil))
[microtek] sane_control_option (opt=12,act=0,val=0xbfffeb08,info=(nil))
[microtek] sane_get_option_descriptor (14)...
[microtek] sane_control_option (opt=14,act=1,val=0xbfffeb04,info=0xbfffea84)
[microtek] sane_control_option (opt=13,act=0,val=0xbfffeb08,info=(nil))
[microtek] sane_get_option_descriptor (15)...
[microtek] sane_control_option (opt=15,act=1,val=0xbfffeb04,info=0xbfffea84)
[microtek] sane_start...
[microtek] sane_get_parameters...
[microtek] sane_get_parameters:  regular 1-pass color
[microtek] sane_get_parameters:  res_code = 5 ( 5)
[microtek] bright_r of 0 set to 0x0
[microtek] sane_get_parameters:  dots_per_mm:  3.937008
[microtek] sane_get_parameters:  units_per_mm:  76.771654
[microtek] WIDTHPIX:  before exp: 136
[microtek] sane_get_parameters:  lines: 137  ppl: 136  bpl: 408
[microtek] .wait_ready 3...
[microtek] finagle_precal...
[microtek] .scanning_frame...
[microtek] .scanning_frame:  in- 0,0  2686,2686
[microtek] .scanning_frame: out- 0,0  2686,2686
[microtek] .accessory...
[microtek] .download_gamma...
[microtek] .download_gamma:  1024 entries of 2 bytes, max 255
[microtek] .download_gamma: by default
[microtek] SENSE!  fd = 3
[microtek] sense = 83 00 04 00.
[microtek] sense:  ERR_ILLTABLE
[microtek] end_scan...
scanimage: sane_start: Error during device I/O
[microtek] sane_cancel...
[microtek] end_scan...
[microtek] sane_close...
[microtek] sane_exit...
[microtek] sane_exit:  MICROTEK says goodbye.


--------------060504090603000306070403--