Here is a trace of a command  on my microtek Phantom 330cx. May be a
little long.
I tried a "scanimage -d microtek2:/dev/sga >ww ". I do not know if
"option dump 1" is correctly set in microtek2.conf.
********************************************************** 
sanei_init_debug]: Setting debug level of microtek2 to 30.
[microtek2] sane_init: Microtek2 (v0.8) says hello...
[microtek2] parse_config_file: fp=0x804e078
[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=0x804e174, device='option dump 1'
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
[microtek2] attach_one: name='/dev/sga'
[microtek2] add_device_list: device='/dev/sga'
[microtek2] attach: device='/dev/sga'
[microtek2] scsi_inquiry: mi=0x804ea6c, device='/dev/sga'
[microtek2] check_inquiry: md=0x804ea68
[microtek2] scsi_read_attributes: mi=0x804ea6c, device='/dev/sga',
source=0
[microtek2] dump_attributes: mi=0x804ea6c
Scanner attributes from device structure
========================================
Scanner ID...
~~~~~~~~~~~~~
  Vendor Name                    : '        '
  Model Name                     : ' scanner 330CS  '
  Revision                       : '1.26'
  Model Code                     : 0x94 (Phantom 330cx or Phantom 336cx)
  Device Type Code               : 0x06 (Scanner),
  Scanner type                   : Flatbed scanner
  Supported options              : Automatic document feeder: No
                                   Transparency media adapter: No
                                   Auto paper detecting: No
                                   Advanced picture system: Yes
                                   Stripes: No
                                   Slides: No
  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: 3495 pts (11.65'')
  Optical resolution             : 300
  Modes                          : Lineart:      No
                                   Halftone:     No
                                   Gray:         Yes
                                   Color:        Yes
  Depths                         : Nibble Gray:  No
                                   10-bit-color: Yes
                                   12-bit-color: No
  d/l of HT pattern              : No
  Builtin HT pattern             : 44
  LUT capabilities:              : 1024 words
 4096 bytes
Miscellaneous capabilities...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Data format                    : Line by line in segregated sequence,
                                   with color indicator
  Color Sequence                 : G - B - R
  Scanning direction             : Right to left
  CCD gap                        : 8 lines
  CCD pixels                     : 11308
  Calib white stripe location    : 741092365
  Max calib space                : 218959117
  Number of lens                 : 13
  Max number of windows          : 13
  Shading transfer function      : 3
  Red balance                    : 2550
  Green balance                  : 512
  Blue balance                   : 4351
  Buffer type                    : Ping-Pong
  FEPROM                         : No
[microtek2] scsi_read_system_status: md=0x804ea68, fd=-1
[microtek2] attach_one: name='/dev/sga'
[microtek2] add_device_list: device='/dev/sga'
[microtek2] add_device_list: device '/dev/sga' already in list
[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=0x804ea6c, device='/dev/sga'
[microtek2] check_inquiry: md=0x804ea68
[microtek2] scsi_read_attributes: mi=0x804ea6c, device='/dev/sga',
source=0
[microtek2] scsi_read_attributes: mi=0x804eaec, device='/dev/sga',
source=1
[microtek2] scsi_read_system_status: md=0x804ea68, fd=-1
[microtek2] init_options: handle=0x804f4c0, source=0
[microtek2] get_lut_size: mi=0x804ea6c
[microtek2] get_lut_size:  mi=0x804ea6c, lut_size=4096, lut_word=1
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=0
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=1
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=2
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=3
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=4
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=5
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=6
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=7
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=8
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=9
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=10
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=11
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=12
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=13
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=14
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=15
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=16
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=17
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=18
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=19
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=20
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=21
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=22
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=23
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=24
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=25
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=26
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=27
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=28
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=29
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=30
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=31
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=32
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=33
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=34
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=35
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=36
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=37
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=38
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=39
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=40
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=41
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=42
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=43
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=44
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=45
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=46
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=47
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=48
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=49
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=50
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=51
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=52
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=53
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=54
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=3
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=3
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=12
[microtek2] sane_get_option_descriptor: handle=0x804f4c0, opt=13
[microtek2] sane_start: handle=0x0x804f4c0
[microtek2] scsi_read_system_status: md=0x804ea68, fd=6
[microtek2] get_scan_parameters: handle=0x804f4c0
[microtek2] get_scan_mode_and_depth: handle=0x804f4c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=0
[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=3495
[microtek2] scsi_read_system_status: md=0x804ea68, fd=6
[microtek2] scsi_send_system_status: md=0x804ea68, fd=6
[microtek2] scsi_send_system_status: 'Error during device I/O'
[microtek2] cleanup_scanner: ms=0x804f4c0
scanimage: sane_start: Error during device I/O
[microtek2] sane_cancel: handle=0x804f4c0
[microtek2] sane_close: ms=0x804f4c0
[microtek2] cleanup_scanner: ms=0x804f4c0
[microtek2] sane_exit:
[microtek2] sane_get_devices: local_only=0
[microtek2] sane_get_devices: sd_list_freed
[microtek2] sane_exit: MICROTEK2 says goodbye.
********************************************************
(It has been already posted on the SANE list but I think it is better to
post it here).
The session ends with "error during device I/O". Some peole already
noticed that issue which deals with the "scsi_send_system_status". Has
somebody here already encountered that, and resolved that problem?? The
scanner works correctly with W98 under TWAIN and a scsi host adapter
emulation on PP, so it should not be a HW problem.
Thank you for an answer.
B.Michaud
-- Venez me voir a http://www.fortunecity.fr/assem/budget/1 You know, human, money does not exist, there are just debts.. (X45E11v24..,a Deneb IV citizen) B.M-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Mon Jul 24 2000 - 16:05:10 EDT