[sane-devel] Re: updated Fujitsu SANE backend

Charles Duffy cduffy at spamcop.net
Tue Feb 21 17:13:40 UTC 2006


m. allan noah wrote:
> do you have the rest of the debug log from this? retval 4 is 
> SANE_STATUS_INVAL, which could be caused by having not openned the 
> device, or having closed it prematurely.

See attached.
-------------- next part --------------
[sanei_debug] Setting debug level of fujitsu to 255.
[fujitsu] sane_init
[fujitsu] sane_init: reading config file fujitsu.conf
[fujitsu] attach_scanner: libusb:005:002
[fujitsu] attach_scanner: opening libusb:005:002
[fujitsu] attachScanner opening USB device
[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
[fujitsu] usb_cmd >>
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 12 00 00 00 60 00 00 00 00 00 00 00
[fujitsu] writing 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] cmdRetVal: 0
[fujitsu] reading 96 bytes
[fujitsu] read 96 bytes
[fujitsu] in <<
[fujitsu] 000: 06 00 02 02 5b 00 00 10 46 55 4a 49 54 53 55 20
[fujitsu] 010: 66 69 2d 34 31 32 30 43 32 64 6a 20 20 20 20 20
[fujitsu] 020: 30 46 30 30 00 00 00 00 00 00 00 00 03 0c 00 00
[fujitsu] 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] inRetVal: 0
[fujitsu] reading 13 bytes
[fujitsu] read 13 bytes
[fujitsu] stat <<
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] statRetVal: 0
[fujitsu] Found FUJITSU scanner fi-4120C2dj version 0F00 on device libusb:005:002, treating as fi-4x20
[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
[fujitsu] usb_cmd >>
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 12 01 f0 00 64 00 00 00 00 00 00 00
[fujitsu] writing 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] cmdRetVal: 0
[fujitsu] reading 100 bytes
[fujitsu] read 100 bytes
[fujitsu] in <<
[fujitsu] 000: 06 f0 02 00 5f 02 58 02 58 11 02 58 02 58 00 32
[fujitsu] 010: 00 32 ff fc 00 00 14 c0 00 00 4f b0 8f 00 00 00
[fujitsu] 020: 92 0a 01 00 00 00 00 00 ef bf 00 04 00 00 00 00
[fujitsu] 030: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 050: 00 00 00 ff 00 00 41 01 a8 40 08 00 00 00 00 00
[fujitsu] 060: 00 00 02 00
[fujitsu] inRetVal: 0
[fujitsu] reading 13 bytes
[fujitsu] read 13 bytes
[fujitsu] stat <<
[fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] statRetVal: 0
[fujitsu] standard options
[fujitsu]   basic x res: 600 dpi
[fujitsu]   basic y res: 600 dpi
[fujitsu]   step x res 1 dpi
[fujitsu]   step y res 1 dpi
[fujitsu]   max x res 600 dpi
[fujitsu]   max y res 600 dpi
[fujitsu]   min x res 50 dpi
[fujitsu]   max y res 50 dpi
[fujitsu]   window width 22.49 cm
[fujitsu]   window length 86.36 cm
[fujitsu] functions:
[fujitsu]    binary scanning: 1
[fujitsu]    gray scanning: 1
[fujitsu]    half-tone scanning: 1
[fujitsu]    color binary scanning: 0
[fujitsu]    color scanning: 1
[fujitsu]    color half-tone scanning: 0
[fujitsu] image memory: 16777216 bytes
[fujitsu] physical functions:
[fujitsu]    operator panel 1
[fujitsu]    barcode 0
[fujitsu]    endorser 0
[fujitsu]    duplex 1
[fujitsu]    flatbed 0
[fujitsu]    adf 1
[fujitsu] image control functions:
[fujitsu]    brightness steps: 0
[fujitsu]    threshold steps: 255
[fujitsu]    contrast steps: 0
[fujitsu]    number of build in gamma patterns: 0
[fujitsu]    number of download gamma patterns: 1
[fujitsu] compression processing functions:
[fujitsu]    compression MR: 0
[fujitsu]    compression MR: 0
[fujitsu]    compression MMR: 0
[fujitsu]    compression JBIG: 0
[fujitsu]    compression JPG1: 1
[fujitsu]    compression JPG2: 0
[fujitsu]    compression JPG3: 0
[fujitsu] image processing functions:
[fujitsu]    black and white reverse: 1
[fujitsu]    automatic binary DTC: 0
[fujitsu]    simplified DTC: 1
[fujitsu]    autline extraction: 0
[fujitsu]    image emphasis: 1
[fujitsu]    automatic separation: 0
[fujitsu]    mirror image: 0
[fujitsu]    white level follower: 0
[fujitsu] 

[fujitsu] range: 14737386 56596889
[fujitsu] 	ADF: present
[fujitsu] 	Duplex Unit: present
[fujitsu] 	Duplex Raster Offset: 0
[fujitsu] 	Color Raster Offset: 0
[fujitsu] attach_scanner: done
[fujitsu] sane_get_devices 0
[fujitsu] sane_open: device libusb:005:002 requested
[fujitsu] sane_open: device libusb:005:002 found
[fujitsu] init_options
[fujitsu] init_options: set compression 1
[fujitsu] ok compression 1
[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_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: "compressionarg"
[fujitsu] sane_get_option_descriptor: "dtcselection"
[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: "variancerate"
[fujitsu] sane_get_option_descriptor: "thresholdcurve"
[fujitsu] sane_get_option_descriptor: "gradation"
[fujitsu] sane_get_option_descriptor: "smoothingmode"
[fujitsu] sane_get_option_descriptor: "filtering"
[fujitsu] sane_get_option_descriptor: "background"
[fujitsu] sane_get_option_descriptor: "noiseremoval"
[fujitsu] sane_get_option_descriptor: "matrix2x2"
[fujitsu] sane_get_option_descriptor: "matrix3x3"
[fujitsu] sane_get_option_descriptor: "matrix4x4"
[fujitsu] sane_get_option_descriptor: "matrix5x5"
[fujitsu] sane_get_option_descriptor: "whitelevelfollow"
[fujitsu] sane_get_option_descriptor: "papersize"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "filler"
[fujitsu] sane_get_option_descriptor: "orientation"
[fujitsu] sane_get_option_descriptor: "dropoutcolor"
[fujitsu] sane_get_option_descriptor: "button"
[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: "sleeptimer"
[fujitsu] sane_get_option_descriptor: "button"
[fujitsu] sane_control_option: get value "button"
[fujitsu] 	cap = 4
[fujitsu] get_hardware_status
[fujitsu] get_hardware_status
[fujitsu] 000: c2 00 00 00 00 00 00 00 0a 00
[fujitsu] cmd >>
[fujitsu] 000: c2 00 00 00 00 00 00 00 0a 00
[fujitsu] usb_cmd >>
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 c2 00 00 00 00 00 00 00 0a 00 00 00
[fujitsu] writing 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] cmdRetVal: 4
[fujitsu] ERROR!
[fujitsu] sane_get_option_descriptor: "button"
[fujitsu] sane_control_option: get value "button"
[fujitsu] 	cap = 4
[fujitsu] get_hardware_status
[fujitsu] get_hardware_status
[fujitsu] 000: c2 00 00 00 00 00 00 00 0a 00
[fujitsu] cmd >>
[fujitsu] 000: c2 00 00 00 00 00 00 00 0a 00
[fujitsu] usb_cmd >>
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 c2 00 00 00 00 00 00 00 0a 00 00 00
[fujitsu] writing 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] cmdRetVal: 4
[fujitsu] ERROR!


More information about the sane-devel mailing list