My system is Redhat 6.0, kernel 2.2.12, sane1.0.1 with the latest patches,
I use Adaptec AVA-1505AE SCSI adapter.
[root@aeon /root]# scanimage -d microtek2:/dev/scanner
[sanei_init_debug]: Setting debug level of microtek2 to 30.
[microtek2] sane_init: Microtek2 (v0.8) says hello...
[microtek2] parse_config_file: fp=0x804dc70
[microtek2] attach_one: name='option dump 1
'
[microtek2] add_device_list: device='option dump 1'
[microtek2] attach: device='option dump 1'
[microtek2] scsi_inquiry: mi=0x804dd6c, device='option dump 1'
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
[microtek2] attach_one: returning
[microtek2] attach_one: name='/dev/scanner
'
[microtek2] add_device_list: device='/dev/scanner'
[microtek2] attach: device='/dev/scanner'
[microtek2] scsi_inquiry: mi=0x804e55c, device='/dev/scanner'
[microtek2] check_inquiry: mi=0x804e55c
[microtek2] scsi_read_attributes: mi=0x804e55c, device='/dev/scanner', source=0
[microtek2] dump_attributes: mi=0x804e55c
Scanner attributes from device structure
========================================
Scanner ID...
~~~~~~~~~~~~~
Vendor Name: ' '
Model Name: 'scanner V636A4 '
Revision: '1.20'
Model Code: 0x97 (ScanMaker 636)
Device Type Code: 0x06 (Scanner),
Scanner type: Flatbed scanner
Supported options: Automatic document feeder: Yes
Transparency media adapter: Yes
Auto paper detecting: Yes
Advanced picture system: No
Stripes: No
Slides: No
Scan button: No
Imaging Capabilities...
~~~~~~~~~~~~~~~~~~~~~~~
Color scanner: Yes
Number passes: 1 pass
Resolution: X-max: 600 dpi
Y-max: 1200 dpi
Geometry: Geometric width: 5100 pts (8.50'')
Geometric height: 7020 pts (11.70'')
Optical resol. : 600
Modes: Lineart: Yes
Halftone: No
Gray: Yes
Color: Yes
Depths: Nibble Gray: Yes
10-bit-color: No
12-bit-color: Yes
d/l of HT pattern: No
Builtin HT patt.: 0
LUT capabilities: 4096 words
Miscellaneous capabilities...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Data format: Chunky data, R, G & B in one pixel
Color Sequence: R - G - B
Scanning direction: Left to right
CCD gap: 8 lines
CCD pixels: 5100
Calib wh str loc: -288
Max calib space: 80
Number of lens: 1
Max no of windows: 64
Sh trnsf func equ: 1
Buffer type: Ring
FEPROM: No
[microtek2] scsi_read_attributes: mi=0x804e64c, device='/dev/scanner', source=2
[microtek2] scsi_read_attributes: mi=0x804e5d4, device='/dev/scanner', source=1
[microtek2] scsi_read_system_status: md=0x804e558, fd=-1
[microtek2] attach_one: returning
[microtek2] sane_open: device='/dev/scanner'
[microtek2] add_device_list: device='/dev/scanner'
[microtek2] add_device_list: device '/dev/scanner' already in list
[microtek2] attach: device='/dev/scanner'
[microtek2] scsi_inquiry: mi=0x804e55c, device='/dev/scanner'
[microtek2] check_inquiry: mi=0x804e55c
[microtek2] scsi_read_attributes: mi=0x804e55c, device='/dev/scanner', source=0
[microtek2] scsi_read_attributes: mi=0x804e64c, device='/dev/scanner', source=2
[microtek2] scsi_read_attributes: mi=0x804e5d4, device='/dev/scanner', source=1
[microtek2] scsi_read_system_status: md=0x804e558, fd=-1
[microtek2] init_options: handle=0x8056f00, source=0
[microtek2] get_lut_size: mi=0x804e55c
[microtek2] get_lut_size: mi=0x804e55c, lut_size=4096, lut_word=2
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=0
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=1
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=2
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=3
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=4
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=5
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=6
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=7
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=8
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=9
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=10
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=11
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=12
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=13
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=14
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=15
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=16
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=17
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=18
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=19
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=20
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=21
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=22
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=23
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=24
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=25
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=26
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=27
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=28
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=29
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=30
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=31
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=32
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=33
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=34
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=35
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=36
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=37
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=38
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=39
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=40
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=41
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=42
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=43
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=44
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=45
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=46
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=47
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=48
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=49
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=50
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=51
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=52
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=53
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=54
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=12
[microtek2] sane_get_option_descriptor: handle=0x8056f00, opt=13
[microtek2] sane_start: handle=0x0x8056f00
[microtek2] get_scan_parameters: handle=0x8056f00
[microtek2] get_scan_mode_and_depth: handle=0x8056f00
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, previe w=0
[microtek2] get_scan_parameters: mode=5, depth=8, bpp_in=8, bpp_out=8
[microtek2] get_scan_parameters: yres=72, x1=0, width=5100, y1=0, height=7020
[microtek2] scsi_read_system_status: md=0x804e558, fd=4
[microtek2] scsi_read_system_status: md=0x804e558, fd=4
[microtek2] scsi_send_system_status: md=0x804e558, fd=4
[microtek2] get_lut_size: mi=0x804e55c
[microtek2] get_lut_size: mi=0x804e55c, lut_size=4096, lut_word=2
[microtek2] calculate_gamma: ms=0x8056f00, pos=0x8067de8, color=0, mode=None
[microtek2] calculate_gamma: factor=1, mult =4095.000000,
steps=4095.000000, mode=None
[microtek2] calculate_gamma: ms=0x8056f00, pos=0x8069de8, color=1, mode=None
[microtek2] calculate_gamma: factor=1, mult =4095.000000,
steps=4095.000000, mode=None
[microtek2] calculate_gamma: ms=0x8056f00, pos=0x806bde8, color=2, mode=None
[microtek2] calculate_gamma: factor=1, mult =4095.000000,
steps=4095.000000, mode=None
[microtek2] set_exposure: ms=0x8056f00
[microtek2] scsi_send_gamma: pos=0x8067de8, size=8192, word=1, color=3
[microtek2] scsi_set_window: ms=0x8056f00, wnd=1
[microtek2] scsi_read_image_info: ms=0x8056f00
[microtek2] scsi_read_image_info: ppl=612, bpl=1842, lines=842, remain=1550964
[microtek2] scsi_wait_for_image: ms=0x8056f00
[microtek2] scsi_read_image_status: ms=0x8056f00
And now the system is locked!
I have no Idea where I should start searching for the error. I looked into
the microtek2.c source code and, well, I didn't understand it quite. I
don't understand the debug messages ether :-(
Please help!!!
Christoph
--ICQ: 9273256
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com