I am having trouble getting sane-0.70 to work properly with my Microtek E6.
Things compile basically ok. The scanner is found via find-scanner.
scsicontrol shows this:
spridle 16# scsicontrol -i /dev/scanner
/dev/scanner: Scanner Scanner 600 1.90
ANSI vers 3, ISO ver: 0, ECMA ver: 2; inquiry format is CCS
Device is ready
Once I run either xscanimage or scanimage, the scanner goes out of ready mode
and sit there. It is not responsive again until it is turned off and on. I
have attached some of the debugging output. Any help would be appreciated.
Thanks!
Turning on MICROTEK debugging shows the following (I have edited out some of
the "get option descriptor" debugging):
spridle 17# xscanimage microtek:/dev/scanner
[sanei_init_debug]: Setting debug level of microtek to 128.
sane_init: MICROTEK says hello! (v0.4)
sanei_config_open: attempting to open `./microtek.conf'
sanei_config_open: attempting to open `/usr/local/etc/sane.d/microtek.conf'
sanei_config_open: using file `/usr/local/etc/sane.d/microtek.conf'
sane_init: config- #Uncomment the following if you are tired of seeing the
dump of the
sane_init: config- # scanner INQUIRY every time the backend starts up...
sane_init: config- #nodump
sane_init: config- /dev/scanner
attach_scanner: /dev/scanner
attach_scanner: opening /dev/scanner
attach_scanner: sending INQUIRY
id_microtek...
parse_inquiry...
dump_inquiry...
========== Scanner Inquiry Block ==========
06 31 13 01 5b 16 00 00 20 20 20 20 20 20 20 20
53 63 61 6e 6e 65 72 20 36 30 30 20 20 20 20 20
31 2e 39 30 53 43 53 49 20 46 2f 57 56 33 2e 34
20 43 54 4c 35 33 38 30 03 4f 8c c5 03 ee 66 03
00 03 01 00 00 03 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: 0x66
Vendor Name: ' ' Model Name: 'Scanner 600 '
Firmware Rev: '1.90'
SCSI F/W version: 3.1 Scanner F/W version: 1.3
Response data format: 0x01
===== Imaging Capabilities...
Modes: Lineart Halftone Gray Color (OnePass)
Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes(but says no)
Supported Bits Per Sample: 4 8
Max. document size code: 0x03
Max. document size: 8.500000 x 13.000000 inches
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: 256 entries of 1 bytes (max. value: 255)
===== Source Options...
Feed type: flatbed ADF support? yes
Document Feeder Support? yes Feeder Backtracking? yes
Feeder Installed? no Feeder Ready? no
Transparency Adapter Installed? no
Fast Color Prescan? no
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? yes
attach_scanner: happy.
sane_init: config-
sane_open
sane_open: gonna init opts: init_options...
init_options: quant yes
init_options: done.
control_option(handle=1002a390,option=0,action=0,value=7fff2e64,info=0)
sane_control_option (opt=0,act=0,val=7fff2e64,info=0)
get_option_descriptor(handle=1002a390,option=1)
sane_get_option_descriptor (1)...
get_option_descriptor(handle=1002a390,option=2)
{ cut }
sane_get_option_descriptor (33)...
get_parameters(handle=1002a390,params=7fff2e50)
sane_get_parameters...
sane_get_parameters: res_code = 16 (10)
sane_get_parameters: dots_per_mm: 3.937008
sane_get_parameters: units_per_mm: 23.622047
sane_get_parameters: lines: 0
get_option_descriptor(handle=1002a390,option=1)
sane_get_option_descriptor (1)...
{ cut }
get_option_descriptor(handle=1002a390,option=33)
sane_get_option_descriptor (33)...
get_option_descriptor(handle=1002a390,option=0)
sane_get_option_descriptor (0)...
get_option_descriptor(handle=1002a390,option=1)
sane_get_option_descriptor (1)...
{ cut }
get_option_descriptor(handle=1002a390,option=33)
sane_get_option_descriptor (33)...
start(handle=1002a390)
sane_start...
sane_get_parameters...
sane_get_parameters: res_code = 16 (10)
sane_get_parameters: dots_per_mm: 3.937008
sane_get_parameters: units_per_mm: 23.622047
sane_get_parameters: lines: 0
.wait_ready 5...
.mode_select_1 5...
.mode_sense_1...
.accessory...
.mode_sense 5...
.scanning_frame 5...
.scanning_frame: in- 0,0 0,0
.scanning_frame: out- 0,0 0,0
.download_gamma...
.mode_select 5...
.mode_select: pap_len: 7800
.mode_sense 5...
.wait_ready 5...
.start_scan...
.wait_ready 5...
wait_ready failed (0)
wait_ready failed (1)
wait_ready failed (2)
wait_ready failed (3)
wait_ready failed (4)
wait_ready failed (5)
wait_ready failed (6)
-- ----- G Douglas Davidson | CityNet, Inc. douglas@city-net.com | Pittsburgh, PA voice: 412.481.5406 | fax: 412.431.1315
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com