[sane-devel] need help with Microtek 35t+ on SPARC/Solaris

Witold Paluszynski witold at ict.pwr.wroc.pl
Tue Aug 6 19:08:26 BST 2002


Hi, I am having problems making SANE work with a ScanMaker 35t Plus.
This is on a SPARCStation 4 running Solaris 8, and using the system
on-board SCSI adapter.  The system disk is SCSI ID 3, the CD-ROM is 6,
and I have set the Microtek to ID 1.  Compiled SANE 1.0.8 with gcc 3.1,
with no significant problems.  Configured the system sgen driver, as
per SANE instructions, and both Solaris and sane-find-scanner detect
the scanner properly.  Scanimage detects the scanner and starts
communicating alright, but fails before any scanning takes place.

I enclose the 128 level debug trace from the backend hoping
someone can recognize what problems I am facing and offer advice.

Sadly, on Windows the scanner works fine.

Witold Paluszynski <witold at ict.pwr.wroc.pl>
Institute of Tech. Cybernetics
Wroclaw University of Technology
Wroclaw, Poland



% scanimage
[sanei_debug] Setting debug level of microtek to 128.
[microtek] sane_init:  MICROTEK says hello! (v0.12.3)
[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] sane_init:  config- /dev/scsi/scanner/c0t1d0[microtek] attach_scanner:  /dev/scsi/scanner/c0t1d0
[microtek] attach_scanner:  opening /dev/scsi/scanner/c0t1d0
[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...
 === SANE/Microtek backend v0.12.3 ===
========== Scanner Inquiry Block ========mm
06 31 19 01 5b 00 00 00 4d 49 43 52 4f 54 45 4b 
53 63 61 6e 4d 61 6b 65 72 20 33 35 74 2b 20 20 
31 2e 36 30 53 43 53 49 20 46 2f 57 56 33 2e 34 
20 43 54 4c 35 33 38 30 03 ef 8c c2 80 ec 62 23 
01 03 23 01 00 83 00 01 0e 0e 01 05 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 

========== Scanner Inquiry Report ==========
===== Scanner ID...
Device Type Code: 0x06
Model Code: 0x62
Vendor Name: 'MICROTEK'   Model Name: 'ScanMaker 35t+  '
Vendor Specific String: 'SCSI F/WV3.4 CTL5380'
Firmware Rev: '1.60'
SCSI F/W version: 3.1     Scanner F/W version: 1.9
Response data format: 0x01
===== Imaging Capabilities...
Modes:  Lineart Halftone Gray Color (X-msv) (OnePass) (Negative) 
Resolution Step Sizes: 1% 5%    Expanded Resolution Support? yes
Supported Bits Per Sample: 4 8 
Max. document size code: 0x80
Max. document size:  2686 x 2686 pixels
Frame units:  pixels  1/8"'s 
# of built-in halftones: 12   Downloadable patterns? Yes
Data Compression: 
Contrast Settings: 14   Exposure Settings: 14
Adjustable Shadow/Highlight? yes   Adjustable Midtone? yes
Digital brightness/offset? yes
Gamma Table Size: 1024 entries of 2 bytes (max. depth: 10)
===== Source Options...
Feed type:  edge-feed    ADF support? no
Document Feeder Support? yes   Feeder Backtracking? yes
Feeder Installed? no           Feeder Ready? no 
Transparency Adapter Installed? no 
Fast Color Prescan? yes
Selectable Transfer Format? no
Color Transfer Sequence: line-by-line, non-sequential with headers
Three pass scan support? no
ModeSelect-1 and ModeSense-1 Support? yes
Can Disable Linearization Table? no
Can Disable Start-of-Scan Recalibration? no
Internal expanded expansion? no


[microtek] attach_scanner:  happy.
[microtek] sane_get_devices
[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=efffedf8,info=0)
[microtek] sane_control_option (opt=0,act=0,val=efffed74,info=0)
[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=29ce4,info=0)
[microtek] sane_get_option_descriptor (15)...
[microtek] sane_control_option (opt=15,act=0,val=29ce8,info=0)
[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=efffed70,info=0)
[microtek] sane_control_option (opt=13,act=0,val=efffed70,info=0)
[microtek] sane_control_option (opt=12,act=0,val=efffedf4,info=0)
[microtek] sane_get_option_descriptor (14)...
[microtek] sane_control_option (opt=14,act=1,val=efffedf0,info=efffed74)
[microtek] sane_control_option (opt=13,act=0,val=efffedf4,info=0)
[microtek] sane_get_option_descriptor (15)...
[microtek] sane_control_option (opt=15,act=1,val=efffedf0,info=efffed74)
[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 = 66 66 36 39.
[microtek] sense: unknown error
[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.



More information about the sane-devel mailing list