I have a Microtek Scanmaker V300 parallel port scanner. I've just
installed the ppscsi kernel patch. I'm running Linux Mandrake and my
kernel is 2.2.9-19mdk. When I run scanimage I get an "Error during
device I/O". I've set SANE_DEBUG_MICROTEK2=30. I've attached the
output. Can anyone give me some advice on where to go from here?
Thanks very much in advance.
[dwilson@hellboy dwilson]$ export SANE_DEBUG_MICROTEK2=30
[dwilson@hellboy dwilson]$ scanimage -d microtek2:/dev/sga > out
[sanei_init_debug]: Setting debug level of microtek2 to 30.
[microtek2] sane_init: Microtek2 (v0.5) says hello...
[microtek2] attach_one: name='# See sane-microtek2(5) for a description of the o
ptions
'
[microtek2] add_device_list: device='# See sane-microtek2(5) for a description o
f the options'
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] attach_one: name='
'
[microtek2] add_device_list: device=''
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] attach_one: name='option dump 1
'
[microtek2] add_device_list: device='option dump 1'
[microtek2] attach_one: returning
[microtek2] attach_one: name='option strip-height 14.0
'
[microtek2] add_device_list: device='option strip-height 14.0'
[microtek2] add_device_list: setting strip_height to 14.000000
[microtek2] attach_one: returning
[microtek2] attach_one: name='/dev/sga'
[microtek2] add_device_list: device='/dev/sga'
[microtek2] attach: device='/dev/sga'
[microtek2] scsi_inquiry: mi=0x804d8f4, device='/dev/sga'
[microtek2] check_inquiry: mi=0x804d8f4
[microtek2] scsi_read_attributes: mi=0x804d8f4, device='/dev/sga', source=0
[microtek2] dump_attributes: mi=0x804d8f4
Scanner attributes from device structure
========================================
Scanner ID...
~~~~~~~~~~~~~
Vendor Name: ' '
Model Name: 'Scanner 300A4 '
Revision: '2.50'
Model Code: 0x85 (TR3)
Device Type Code: 0x06 (Scanner),
Scanner type: Flatbed scanner
Supported options: Automatic document feeder: Yes
Transparency media adapter: Yes
Auto paper detecting: Yes
Scan button: No
Imaging Capabilities...
~~~~~~~~~~~~~~~~~~~~~~~
Color scanner: Yes
Number passes: 1 pass
Resolution: X-max: 300 dpi
Y-max: 600 dpi
Geometry: Geometric width: 2550 pts (8.50'')
Geometric height: 3510 pts (11.70'')
Optical resol. : 300
Modes: Lineart: Yes
Halftone: Yes
Gray: Yes
Color: Yes
Depths: Nibble Gray: No
10-bit-color: No
12-bit-color: No
d/l of HT pattern: Yes
Builtin HT patt.: 12
LUT capabilities: 256 bytes
Miscellaneous capabilities...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Data format: Line by line in segregated sequence,
with color indicator
Color Sequence: G - B - R
CCD gap: 8 lines
CCD pixels: 2550
Calib wh str loc: -108
Max calib space: 48
Number of lens: 1
Max no of windows: 8
Sh trnsf func equ: 0
Buffer type: Ring
FEPROM: No
[microtek2] scsi_read_attributes: mi=0x804d9e4, device='/dev/sga', source=2
[microtek2] scsi_read_attributes: mi=0x804d96c, device='/dev/sga', source=1
[microtek2] scsi_read_system_status: md=0x804d8f0, fd=-1
[microtek2] attach_one: returning
[microtek2] attach_one: name='/dev/sga'
[microtek2] add_device_list: device='/dev/sga'
[microtek2] add_device_list: device '/dev/sga' already in list
[microtek2] attach_one: returning
[microtek2] sane_open: device='/dev/sga'
[microtek2] add_device_list: device='/dev/sga'
[microtek2] add_device_list: device '/dev/sga' already in list
[microtek2] attach: device='/dev/sga'
[microtek2] scsi_inquiry: mi=0x804d8f4, device='/dev/sga'
[microtek2] check_inquiry: mi=0x804d8f4
[microtek2] scsi_read_attributes: mi=0x804d8f4, device='/dev/sga', source=0
[microtek2] scsi_read_attributes: mi=0x804d9e4, device='/dev/sga', source=2
[microtek2] scsi_read_attributes: mi=0x804d96c, device='/dev/sga', source=1
[microtek2] scsi_read_system_status: md=0x804d8f0, fd=-1
[microtek2] init_options: handle=0x80561b0, source=0
[microtek2] get_lut_size: mi=0x804d8f4
[microtek2] get_lut_size: mi=0x804d8f4, lut_size=256, lut_word=1
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=0
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=1
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=2
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=3
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=4
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=5
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=6
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=7
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=8
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=9
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=10
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=11
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=12
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=13
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=14
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=15
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=16
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=17
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=18
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=19
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=20
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=21
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=22
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=23
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=24
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=25
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=26
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=27
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=28
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=29
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=30
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=31
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=32
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=33
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=34
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=35
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=36
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=37
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=38
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=39
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=40
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=41
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=42
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=43
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=44
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=45
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=46
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=47
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=12
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=13
[microtek2] sane_start: handle=0x0x80561b0
[microtek2] get_lut_size: mi=0x804d8f4
[microtek2] get_lut_size: mi=0x804d8f4, lut_size=256, lut_word=1
[microtek2] get_scan_parameters: handle=0x80561b0
[microtek2] get_scan_mode_and_depth: handle=0x80561b0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=
8
[microtek2] get_scan_parameters: mode=5, depth=8, bpp_in=8, bpp_out=8
[microtek2] get_scan_parameters: yres=72, x1=0, width=2550, y1=0, height=3510
[microtek2] scsi_send_system_status: md=0x804d8f0, fd=4
[microtek2] scsi_set_window: ms=0x80561b0, wnd=1
[microtek2] scsi_read_image_info: ms=0x80561b0
[microtek2] scsi_read_image_info: ppl=612, bpl=1842, lines=842, remain=1550964
[microtek2] calculate_gamma: ms=0x80561b0
[microtek2] calculate_gamma: factor=1, mult =255.000000, steps=255.000000,
mode=None
[microtek2] scsi_send_gamma: pos=0x8057ed8, size=768, word=0, color=3
[microtek2] scsi_wait_for_image: ms=0x80561b0
[microtek2] scsi_read_image_status: ms=0x80561b0
[microtek2] scsi_sense_handler: fd=4, sense=0x804e180 arg=(nil)
[microtek2] dump_area: SenseBuffer
0: f00005ffffffe91f 0000000024000000 ........ ....$...
16: 2800830060000000 0000000102030405 (...`... ........
32: 060708090a0b ......
[microtek2] scsi_sense_handler: info: ' f'
[microtek2] scsi_sense_handler: Invalid field in CDB
[microtek2] scsi_read_image_status: 'Error during device I/O'
[microtek2] scsi_wait_for_image: 'Error during device I/O'
[microtek2] cleanup_scanner: ms=0x80561b0
scanimage: sane_start: Error during device I/O
[microtek2] sane_cancel: handle=0x80561b0
[microtek2] cleanup_scanner: ms=0x80561b0
[microtek2] sane_close: ms=0x80561b0
[microtek2] cleanup_scanner: ms=0x80561b0
[microtek2] sane_exit:
[microtek2] sane_get_devices: local_only=0
[microtek2] sane_get_devices: sd_list_freed
[microtek2] sane_exit: MICROTEK2 says goodbye.
[dwilson@hellboy dwilson]$
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Wed Jul 12 2000 - 19:02:26 PDT