[sane-devel] Fujitsu fi-4210Cdj errors (repeat)

Oliver Schirrmeister oschirr@abm.de
26 Mar 2003 16:12:29 +0100


Am Mit, 2003-03-26 um 14.33 schrieb m. allan noah:
Re: [sane-devel] Fujitsu fi-4120Cdj errors (repeat)> 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

Yes, the problem is really the gamma-pattern. I've hard-set this byte to
an invalid value and received the same error with the fujitsu-M4097.

> 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? 

According to the manual of the M3093 it is a gamma pattern. There are 
4 internal patterns (00h - 03h) and 8 download patterns (80h - 87h but
I don't know what that means).
The byte is valid for lineart (I can see differences in the scanned
image). The gamma pattern transforms the gray image before binarisation,
I guess.
 
> how easy is it to get programming docs from fujitsu, since the 4120 seems 
> to need some help?
> 

You can find docs at
http://www.fel.fujitsu.com/home/documentation.asp?l=en&cid=9&doctype=oem&scpm=true
for some scanners, but I havn't found anything about the 4120.
I can give you an e-mail adress of somebody at fujitsu who might help. 
He gave me the documentation of the 4097 which is not on the 
fujitsu-homepage.

Oliver