[sane-devel] lost with FUJITSU scanner M3096G
Dirk Petersen
dpetersen at internetchen.de
Fri Mar 7 19:04:58 GMT 2003
Thanks all for your great help up to now.
Here is the next Debug Output, it seems to be the same.
Oliver, how would I be able to check the firmware ?
This scanner is basically a big piece of iron, I might have
to take it apart. And would I be able to get another
firmware for a scanner from 1994 for a reasonable price ?
Would your latest fujitsu code from Feb/2003 make any difference ?
Thanks
Dirk
debian106:~# export SANE_DEBUG_SANEI_SCSI=128
debian106:~# export SANE_DEBUG_FUJITSU=128
debian106:~# scanimage -d fujitsu:/dev/sg0 -y 297 -x 210 --mode lineart
[sanei_debug] Setting debug level of fujitsu to 128.
[fujitsu] sane_init
[fujitsu] sane_init: reading config file fujitsu.conf
[sanei_debug] Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_find_devices: vendor=FUJITSU model=(null)
type=(null)
bus=0 chan=0 id=5 lun=0 num=0
[sanei_scsi] lx_chk_id: 0,0 0,0 5,5 0,0
[sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0
[fujitsu] attach_scanner: /dev/sg0
[fujitsu] attach_scanner: opening /dev/sg0
[sanei_debug] Setting debug level of sanei_scsi to 128.
[sanei_debug] Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_find_devices: vendor=(null) model=(null)
type=Scanner
bus=0 chan=0 id=5 lun=0 num=0
[sanei_scsi] lx_chk_id: 0,0 0,0 5,5 0,0
[sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0
[sanei_scsi] get_max_buffer_size for /dev/sg0: 131072
[sanei_debug] Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=131072 bytes
[sanei_scsi] sanei_scsi_open: SG driver version: 30122
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run
time
[sanei_scsi] sanei_scsi_open: using new SG header structure
[fujitsu] identify_scanner
[fujitsu] do_inquiry
[fujitsu] inquiry
[fujitsu] 000: 12 00 00 00 60 00
[fujitsu] <cmd<
[fujitsu] 000: 12 00 00 00 60 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 96 bytes:
[fujitsu] >rslt>
[fujitsu] 000: 06 00 02 02 5b 00 00 00 46 55 4a 49 54 53 55 20
[fujitsu] 016: 4d 33 30 39 36 47 69 6d 20 20 20 20 20 20 20 20
[fujitsu] 032: 30 32 20 20 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] Found FUJITSU scanner M3096Gim version 02 on device /dev/sg0,
treating as 3096
[fujitsu] get_vital_product_data
[fujitsu] get_vital_product_data
[fujitsu] 000: 12 01 f0 00 64 00
[fujitsu] <cmd<
[fujitsu] 000: 12 01 f0 00 64 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 100 bytes:
[fujitsu] >rslt>
[fujitsu] 000: 06 f0 02 00 19 01 90 01 90 44 06 40 06 40 00 28
[fujitsu] 016: 00 28 ff ff 00 00 13 00 00 00 1b 00 0e 00 20 20
[fujitsu] 032: 30 32 20 20 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] standard options
[fujitsu] basic x res: 400 dpi
[fujitsu] basic y res: 400 dpi
[fujitsu] step x res 0 dpi
[fujitsu] step y res 0 dpi
[fujitsu] max x res 1600 dpi
[fujitsu] max y res 1600 dpi
[fujitsu] min x res 40 dpi
[fujitsu] max y res 40 dpi
[fujitsu] window width 30.89 cm
[fujitsu] window length 43.89 cm
[fujitsu]
[fujitsu] range: 20241711 28764536
[fujitsu] ADF: present
[fujitsu] Duplex Unit: not present
[fujitsu] Duplex Raster Offset: 0
[fujitsu] Color Raster Offset: 0
[fujitsu] attach_scanner: done
[fujitsu] sane_open /dev/sg0
[fujitsu] init_options
[fujitsu] init_options:ok
[fujitsu] calculateDerivedValues
[fujitsu] top_margin: 0
[fujitsu] left_margin: 0
[fujitsu] scan_width: 0
[fujitsu] scan_height: 0
[fujitsu] calculateDerivedValues: ok
[fujitsu] sane_control_option: get value "filler"
[fujitsu] cap = 4
[fujitsu] sane_control_option: get value "filler"
[fujitsu] cap = 4
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "source"
[fujitsu] sane_get_option_descriptor: "mode"
[fujitsu] sane_get_option_descriptor: "duplex"
[fujitsu] sane_get_option_descriptor: "resolution"
[fujitsu] sane_get_option_descriptor: "y-resolution"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "tl-x"
[fujitsu] sane_get_option_descriptor: "tl-y"
[fujitsu] sane_get_option_descriptor: "br-x"
[fujitsu] sane_control_option: get value "br-x"
[fujitsu] cap = 5
[fujitsu] sane_get_option_descriptor: "br-y"
[fujitsu] sane_control_option: get value "br-y"
[fujitsu] cap = 5
[fujitsu] sane_get_option_descriptor: "pagewidth"
[fujitsu] sane_get_option_descriptor: "pageheight"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "averaging"
[fujitsu] sane_get_option_descriptor: "brightness"
[fujitsu] sane_get_option_descriptor: "threshold"
[fujitsu] sane_get_option_descriptor: "contrast"
[fujitsu] sane_get_option_descriptor: "rif"
[fujitsu] sane_get_option_descriptor: "compression"
[fujitsu] sane_get_option_descriptor: "dtc_selection"
[fujitsu] sane_get_option_descriptor: "gamma"
[fujitsu] sane_get_option_descriptor: "outline"
[fujitsu] sane_get_option_descriptor: "emphasis"
[fujitsu] sane_get_option_descriptor: "autoseparation"
[fujitsu] sane_get_option_descriptor: "mirroring"
[fujitsu] sane_get_option_descriptor: "variance_rate"
[fujitsu] sane_get_option_descriptor: "threshold_curve"
[fujitsu] sane_get_option_descriptor: "gradation"
[fujitsu] sane_get_option_descriptor: "smoothing_mode"
[fujitsu] sane_get_option_descriptor: "filtering"
[fujitsu] sane_get_option_descriptor: "background"
[fujitsu] sane_get_option_descriptor: "noise_removal"
[fujitsu] sane_get_option_descriptor: "matrix_2x2"
[fujitsu] sane_get_option_descriptor: "matrix_3x3"
[fujitsu] sane_get_option_descriptor: "matrix_4x4"
[fujitsu] sane_get_option_descriptor: "matrix_5x5"
[fujitsu] sane_get_option_descriptor: "white_level_follow"
[fujitsu] sane_get_option_descriptor: "paper_size"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "orientation"
[fujitsu] sane_get_option_descriptor: "dropout_color"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "lampcolor"
[fujitsu] sane_get_option_descriptor: "blueoffset"
[fujitsu] sane_get_option_descriptor: "greenoffset"
[fujitsu] sane_get_option_descriptor: "swapfile"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "sleep_timer"
[fujitsu] sane_control_option: get value "tl-x"
[fujitsu] cap = 5
[fujitsu] sane_control_option: get value "tl-y"
[fujitsu] cap = 5
[fujitsu] sane_get_option_descriptor: "mode"
[fujitsu] sane_get_option_descriptor: "mode"
[fujitsu] sane_control_option: set value "mode"
[fujitsu] calculateDerivedValues
[fujitsu] top_margin: 0
[fujitsu] left_margin: 0
[fujitsu] scan_width: 10199
[fujitsu] scan_height: 14031
[fujitsu] scan_width corrected: 10208
[fujitsu] calculateDerivedValues: ok
[fujitsu] sane_control_option: get value "filler"
[fujitsu] cap = 4
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "source"
[fujitsu] sane_get_option_descriptor: "mode"
[fujitsu] sane_get_option_descriptor: "duplex"
[fujitsu] sane_get_option_descriptor: "resolution"
[fujitsu] sane_get_option_descriptor: "y-resolution"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "tl-x"
[fujitsu] sane_get_option_descriptor: "tl-y"
[fujitsu] sane_get_option_descriptor: "br-x"
[fujitsu] sane_get_option_descriptor: "br-y"
[fujitsu] sane_get_option_descriptor: "pagewidth"
[fujitsu] sane_get_option_descriptor: "pageheight"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "averaging"
[fujitsu] sane_get_option_descriptor: "brightness"
[fujitsu] sane_get_option_descriptor: "threshold"
[fujitsu] sane_get_option_descriptor: "contrast"
[fujitsu] sane_get_option_descriptor: "rif"
[fujitsu] sane_get_option_descriptor: "compression"
[fujitsu] sane_get_option_descriptor: "dtc_selection"
[fujitsu] sane_get_option_descriptor: "gamma"
[fujitsu] sane_get_option_descriptor: "outline"
[fujitsu] sane_get_option_descriptor: "emphasis"
[fujitsu] sane_get_option_descriptor: "autoseparation"
[fujitsu] sane_get_option_descriptor: "mirroring"
[fujitsu] sane_get_option_descriptor: "variance_rate"
[fujitsu] sane_get_option_descriptor: "threshold_curve"
[fujitsu] sane_get_option_descriptor: "gradation"
[fujitsu] sane_get_option_descriptor: "smoothing_mode"
[fujitsu] sane_get_option_descriptor: "filtering"
[fujitsu] sane_get_option_descriptor: "background"
[fujitsu] sane_get_option_descriptor: "noise_removal"
[fujitsu] sane_get_option_descriptor: "matrix_2x2"
[fujitsu] sane_get_option_descriptor: "matrix_3x3"
[fujitsu] sane_get_option_descriptor: "matrix_4x4"
[fujitsu] sane_get_option_descriptor: "matrix_5x5"
[fujitsu] sane_get_option_descriptor: "white_level_follow"
[fujitsu] sane_get_option_descriptor: "paper_size"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "orientation"
[fujitsu] sane_get_option_descriptor: "dropout_color"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "lampcolor"
[fujitsu] sane_get_option_descriptor: "blueoffset"
[fujitsu] sane_get_option_descriptor: "greenoffset"
[fujitsu] sane_get_option_descriptor: "swapfile"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "sleep_timer"
[fujitsu] sane_control_option: get value "tl-x"
[fujitsu] cap = 5
[fujitsu] sane_get_option_descriptor: "br-x"
[fujitsu] sane_control_option: set value "br-x"
[fujitsu] calculateDerivedValues
[fujitsu] top_margin: 0
[fujitsu] left_margin: 0
[fujitsu] scan_width: 9921
[fujitsu] scan_height: 14031
[fujitsu] scan_width corrected: 9921
[fujitsu] calculateDerivedValues: ok
scanimage: rounded value of br-x from 210 to 210.01
[fujitsu] sane_control_option: get value "tl-y"
[fujitsu] cap = 5
[fujitsu] sane_get_option_descriptor: "br-y"
[fujitsu] sane_control_option: set value "br-y"
[fujitsu] calculateDerivedValues
[fujitsu] top_margin: 0
[fujitsu] left_margin: 0
[fujitsu] scan_width: 9921
[fujitsu] scan_height: 14031
[fujitsu] scan_width corrected: 9921
[fujitsu] calculateDerivedValues: ok
scanimage: rounded value of br-y from 297 to 296.994
[fujitsu] sane_start
[fujitsu] object_count = 0
[fujitsu] duplex_mode = DUPLEX_FRONT
[fujitsu] use_temp_file = no
[sanei_debug] Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: SG driver version: 30122
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run
time
[sanei_scsi] sanei_scsi_open: using new SG header structure
[fujitsu] grabScanner
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 0 bytes:
[fujitsu] wait_scanner: ok
[fujitsu] reserve_unit
[fujitsu] 000: 16 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 16 00 00 00 00 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 0 bytes:
[fujitsu] grabScanner: ok
[fujitsu] set_mode_params
[fujitsu] set_mode_params: ok
[fujitsu] send
[fujitsu] send: ok
[fujitsu] object_position: load
[fujitsu] object_position
[fujitsu] 000: 31 01 00 00 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 31 01 00 00 00 00 00 00 00 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 0 bytes:
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 0 bytes:
[fujitsu] wait_scanner: ok
[fujitsu] object_position: ok
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 0 bytes:
[fujitsu] wait_scanner: ok
[fujitsu] set_window_param
[fujitsu] Window set
[fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
[fujitsu] 016: 26 c1 00 00 36 cf 00 80 00 00 01 00 00 00 00 00
[fujitsu] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0
[fujitsu] 048: 20 00 00 00 00 84 00 00 00 00 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 24 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00
[fujitsu] 016: 00 40 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00
[fujitsu] 032: 00 00 26 c1 00 00 36 cf 00 80 00 00 01 00 00 00
[fujitsu] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 064: 00 a0 20 00 00 00 00 84 00 00 00 00 00 00 00 00
[fujitsu] 080: 00 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
[sanei_scsi] sense buffer: f0 00 45 00 00 00 00 0a 00 00 00 00 26 00 00
80
[sanei_scsi] target status: 02 host status: 0000 driver status: 0008
[fujitsu] 5/38/0: Invalid field in parm list
[fujitsu] sanei_scsi_cmd: returning 0x00000004
[fujitsu] sanei_scsi_cmd: returning 0 bytes:
[fujitsu] sane_start: ERROR: failed to set window
[fujitsu] freeScanner
[fujitsu] release_unit
[fujitsu] 000: 17 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 17 00 00 00 00 00
[sanei_scsi] scsi_req_enter: entered 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x4023f008
[sanei_scsi] sanei_scsi.issue: 0x4023f008
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[fujitsu] sanei_scsi_cmd: returning 0 bytes:
[fujitsu] freeScanner: ok
scanimage: sane_start: Invalid argument
[fujitsu] sane_cancel
[fujitsu] doCancel
[fujitsu] sane_close
[fujitsu] sane_exit
debian106:~#
> -----Original Message-----
> From: sane-devel-admin at www.mostang.com
> [mailto:sane-devel-admin at www.mostang.com] On Behalf Of
> Oliver Schirrmeister
> Sent: Friday, March 07, 2003 11:26 AM
> To: sane-devel at www.mostang.com
> Subject: Re: [sane-devel] lost with FUJITSU scanner M3096G
>
>
> Am Fre, 2003-03-07 um 17.12 schrieb Frank Zago:
> > abel deuring wrote:
> > > Frank Zago wrote:
> > >
> > >>>[fujitsu] set_window_param
> > >>>[fujitsu] Window set
> > >>>[fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
> > >>>[fujitsu] 016: 03 b0 00 00 05 89 00 00 00 02 08 00 00 00 00 00
> > >>>[fujitsu] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0
> > >>>[fujitsu] 048: 20 00 00 00 00 84 00 00 00 00 00 00 00 00 00 00
> > >>>[fujitsu] 5/38/0: Invalid field in parm list
> > >>>[fujitsu] sanei_scsi_cmd: returning 0x00000004
> > >>>[fujitsu] sane_start: ERROR: failed to set window
> > >>
> > >>The scanner rejected the window parameter. If the scsi
> > >>implementation is decent, the sense might contain the
> offset of the
> > >>offending byte somewhere around byte 16 oy 17. To get
> that, at the
> > >>beginning of scsi_sense_handler, add this line:
> > >>
> > >> hexdump (MSG_IO, "Sense", sensed_data, sensed_data[7]+8);
> > >
> > >
> > > Frank,
> > >
> > > you're right, the sense bytes 16 and 17 should point to the
> > > offending byte, but unfortunately the Linux SCSI system
> returns only
> > > the first 16 bytes of a SCSI command.
> >
> >
> > Are you sure of that? There are devices out there that return more
> > than 100
> > bytes of data in the sense. I assume someone would have
> fixed such a problem.
> >
>
>
> I've tried it with RedHat 8.0 linux. The sense bytes 16 and
> 17 really point to the offending byte (I've tried to set a
> invalid resolution
> an others). There is a 8 byte window header you can't
> see in the hexdump above. The offending byte is at position
> 25 (0x02). This means 'grayscale monochrome'. Dirks M3096G
> doesn't seem to support grayscale (probably that firmware bug?).
>
>
> [fujitsu] Window set
> [fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00
> 00 [fujitsu] 016: 03 b0 00 00 05 89 00 00 00 02 08 00 00 00
> 00 00 [fujitsu] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 a0 [fujitsu] 048: 20 00 00 00 00 84 00 00 00 00 00 00
> 00 00 00 00 [fujitsu] <cmd< [fujitsu] 000: 24 00 00 00 00 00
> 00 00 48 00 00 00 00 00 00 00 [fujitsu] 016: 00 40 00 00 01
> 2c 01 2c 00 00 00 00 00 00 00 00 [fujitsu] 032: 00 00 03 b0
> 00 00 05 89 00 00 00 02 08 00 00 00 [fujitsu] 048: 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 [fujitsu] 064: 00 a0
> 20 00 00 00 00 84 00 00 00 00 00 00 00 00 [fujitsu] 080: 00
> 00 [fujitsu] Sense [fujitsu] 000: f0 00 45 00 00 00 00 0a 00
> 00 00 00 26 00 00 80 [fujitsu] 016: 00 21
> [fujitsu] 5/38/0: Invalid field in parm list
>
>
> Oliver
>
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane- > devel
>
More information about the sane-devel
mailing list