[sane-devel] Fujitsu fi-4120Cdj errors (repeat)
m. allan noah
anoah@pfeiffer.edu
Wed, 26 Mar 2003 09:34:35 -0500 (EST)
update: i hard-set the gamma byte (0x29) to 0x80, and the paper byte
(0x35) to 0xC0, and then forced the lines:
set_WD_paper_width_X (buffer, s->page_width);
set_WD_paper_length_Y (buffer, s->page_height);
to always run, and the scanner runs.
but now, the output images from the program 'scanadf' are truncated.
any ideas?
allan
On Wed, 26 Mar 2003, m. allan noah wrote:
> just got a Fujitsu fi-4120C scanner. was previously using an M3091DCd. i
> am running latest cvs snapshot. i use the scsi port, not usb. i get the
> following error:
>
> [fujitsu] Window set
> [fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
> [fujitsu] 016: 25 00 00 00 24 e8 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 25 00 00 00 24 e8 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
> [fujitsu] 5/38/0: Invalid field in parm list
> [fujitsu] offending byte is 49. (Byte 41 in window descriptor block)
> [fujitsu] sanei_scsi_cmd: returning 0x00000004
> [fujitsu] sanei_scsi_cmd: returning 0 bytes:
> [fujitsu] sane_start: ERROR: failed to set window
>
> from the command line:
>
> SANE_DEBUG_FUJITSU=128 SANE_DEBUG_SANEI_SCSI=0 scanadf -d fujitsu --mode
> Lineart -x 200 -y 200
>
> byte 41 (0x29) is gamma/pattern according to fujitsu-scsi.h
>
> i have tried hard-setting this to all the possible (and some un-listed)
> options, no change. i have tried different modes, no change.
>
> what is this option for (is is gamma correct or a pattern?) and what
> should it be for lineart?
>
> how easy is it to get programming docs from fujitsu, since the 4120 seems
> to need some help?
>
> allan
>
>
--
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera