[sane-devel] scanimage with Fujitsu backend on 4/15/08 CVS Snapshot.

tyler at seraph-net.net tyler at seraph-net.net
Tue Apr 15 19:11:37 UTC 2008


On Tue, Apr 15, 2008 at 01:24:29PM -0400, m. allan noah wrote:
> 
> Did you download the snapshot from https://alioth.debian.org/scm/?group_id=30186

Yes.

> 
> if so, then your february snapshot was actually quite old. the nightly
> snapshot builder was broken until recently. no matter, we can fix it
> with a little debug info:

That explains it :-)

> 
> SANE_DEBUG_FUJITSU=15 scanimage [your args] 2>5650.log
> 
> and then send me that log. its probably just an incorrect bit in the
> set window payload, hopefully an easy fix.
>

See the attached file.

-- Tyler
 
-------------- next part --------------
[sanei_debug] Setting debug level of fujitsu to 15.
[fujitsu] sane_init: start
[fujitsu] sane_init: fujitsu backend 1.0.33, from sane-backends 1.0.18
[fujitsu] sane_init: finish
[fujitsu] sane_get_devices: start
[fujitsu] find_scanners: start
[fujitsu] find_scanners: reading config file fujitsu.conf
[fujitsu] find_scanners: setting "buffer-size" to 65536
[fujitsu] find_scanners: looking for 'scsi FUJITSU'
[fujitsu] attach_one: start
[fujitsu] attach_one: looking for '/dev/sg3'
[fujitsu] connect_fd: start
[fujitsu] connect_fd: opening SCSI device
[fujitsu] wait_scanner: start
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] wait_scanner: finish
[fujitsu] connect_fd: finish
[fujitsu] init_inquire: start
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] init_inquire: Found FUJITSU scanner fi-5650Cdj version 0F00 at /dev/sg3
[fujitsu] inquiry options
[fujitsu]   color offset: 0 lines
[fujitsu]   duplex offset: 0 lines
[fujitsu] init_inquire: finish
[fujitsu] init_vpd: start
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[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]   min y res: 50 dpi
[fujitsu]   60 dpi: 1
[fujitsu]   75 dpi: 1
[fujitsu]   100 dpi: 1
[fujitsu]   120 dpi: 1
[fujitsu]   150 dpi: 1
[fujitsu]   160 dpi: 1
[fujitsu]   180 dpi: 1
[fujitsu]   200 dpi: 1
[fujitsu]   240 dpi: 1
[fujitsu]   300 dpi: 1
[fujitsu]   320 dpi: 1
[fujitsu]   400 dpi: 1
[fujitsu]   480 dpi: 1
[fujitsu]   600 dpi: 1
[fujitsu]   800 dpi: 0
[fujitsu]   1200 dpi: 0
[fujitsu]   max width: 12.16 inches
[fujitsu]   max length: 34.00 inches
[fujitsu]   overflow: 1
[fujitsu]   monochrome: 1
[fujitsu]   halftone: 1
[fujitsu]   grayscale: 1
[fujitsu]   color_monochrome: 0
[fujitsu]   color_halftone: 0
[fujitsu]   color_grayscale: 1
[fujitsu] vendor options
[fujitsu]   operator panel: 1
[fujitsu]   barcode: 0
[fujitsu]   imprinter: 0
[fujitsu]   duplex: 1
[fujitsu]   transparency: 0
[fujitsu]   flatbed: 0
[fujitsu]   adf: 1
[fujitsu]   A/D bits: 10
[fujitsu]   buffer bytes: 268435456
[fujitsu]   subwindow cmd: 0
[fujitsu]   endorser cmd: 0
[fujitsu]   hardware status cmd: 1
[fujitsu]   scanner control cmd: 1
[fujitsu]   brightness steps: 255
[fujitsu]   threshold steps: 255
[fujitsu]   contrast steps: 255
[fujitsu]   built in gamma patterns: 3
[fujitsu]   download gamma patterns: 2
[fujitsu]   built in dither patterns: 4
[fujitsu]   download dither patterns: 2
[fujitsu]   black and white rif: 1
[fujitsu]   automatic binary DTC: 0
[fujitsu]   simplified DTC: 1
[fujitsu]   outline extraction: 1
[fujitsu]   image emphasis: 1
[fujitsu]   automatic separation: 1
[fujitsu]   mirror image: 0
[fujitsu]   white level follower: 1
[fujitsu]   subwindow: 0
[fujitsu]   compression MH: 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] init_vpd: finish
[fujitsu] init_model: start
[fujitsu] init_model: finish
[fujitsu] init_options: start
[fujitsu] init_options: finish
[fujitsu] disconnect_fd: start
[fujitsu] disconnecting scsi device
[fujitsu] disconnect_fd: finish
[fujitsu] attach_one: finish
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x1041'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x1042'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x1096'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x1097'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x10ae'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x10af'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e0'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e1'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e7'
[fujitsu] find_scanners: looking for 'usb 0x04c5 0x10fe'
[fujitsu] find_scanners: found scanner /dev/sg3
[fujitsu] find_scanners: found 1 scanner(s)
[fujitsu] find_scanners: finish
[fujitsu] sane_get_devices: finish
[fujitsu] sane_open: start
[fujitsu] sane_open: searching currently attached scanners
[fujitsu] sane_open: device /dev/sg3 requested
[fujitsu] sane_open: device /dev/sg3 found
[fujitsu] connect_fd: start
[fujitsu] connect_fd: opening SCSI device
[fujitsu] wait_scanner: start
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] wait_scanner: finish
[fujitsu] connect_fd: finish
[fujitsu] sane_open: finish
scanimage: rounded value of contrast from 150 to 150
scanimage: rounded value of resolution from 150 to 150
scanimage: rounded value of br-x from 215.9 to 215.893
scanimage: rounded value of br-y from 357 to 356.993
Scanning -1 pages, incrementing by 1, numbering from 1
Scanning page 1
[fujitsu] sane_start: start
[fujitsu] started=0, img_count=0, source=3
[fujitsu] scanner_control: start
[fujitsu] scanner_control: power up lamp...
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] scanner_control: lamp on, tries 1, ret 0
[fujitsu] scanner_control: finish
[fujitsu] calculateDerivedValues: start
[fujitsu] xres=150, tlx=0, brx=10201, pw=10200, maxx=14592
[fujitsu] yres=150, tly=0, bry=16868, ph=13200, maxy=40800
[fujitsu] xres=150, tlx=0, brx=10240, pw=10200, maxx=14592
[fujitsu] yres=150, tly=0, bry=16868, ph=13200, maxy=40800
[fujitsu] calculateDerivedValues: finish
[fujitsu] setup_buffers: start
[fujitsu] setup_buffers: finish
[fujitsu] set_window: start
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] set_window: finish
[fujitsu] object_position: start
[fujitsu] object_position: load
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] wait_scanner: start
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] wait_scanner: finish
[fujitsu] object_position: finish
[fujitsu] start_scan: start
[fujitsu] do_scsi_cmd: start
[fujitsu] do_scsi_cmd: finish
[fujitsu] start_scan: finish
[fujitsu] started=1, img_count=0, source=3
[fujitsu] sane_start: finish
[fujitsu] sane_get_parameters: start
[fujitsu] calculateDerivedValues: start
[fujitsu] xres=150, tlx=0, brx=10240, pw=10200, maxx=14592
[fujitsu] yres=150, tly=0, bry=16868, ph=13200, maxy=40800
[fujitsu] xres=150, tlx=0, brx=10240, pw=10200, maxx=14592
[fujitsu] yres=150, tly=0, bry=16868, ph=13200, maxy=40800
[fujitsu] calculateDerivedValues: finish
[fujitsu]       depth 1
[fujitsu]       lines 2108
[fujitsu]       pixels_per_line 1280
[fujitsu]       bytes_per_line 160
[fujitsu] sane_get_parameters: finish
[fujitsu] sane_read: start
[fujitsu] read_from_scanner: start
[fujitsu] read_from_scanner: si:0 to:337280 rx:0 re:337280 bu:65536 pa:65440
[fujitsu] do_scsi_cmd: start
[fujitsu] sense_handler: start
[fujitsu] Sense=0x5, ASC=0x26, ASCQ=00, EOM=1, ILI=0, info=00000000
[fujitsu] Illegal request: invalid field in parm list
[fujitsu] Offending byte is 00
[fujitsu] do_scsi_cmd: return 'Invalid argument'
[fujitsu] read_from_scanner: error reading data block status = 4
[fujitsu] read_from_scanner: finish
[fujitsu] sane_read: front returning 4
scanimage: sane_read: Invalid argument
Scanned page 1. (scanner status = 4)
[fujitsu] sane_cancel: start
[fujitsu] do_cancel: start
[fujitsu] do_cancel: finish
[fujitsu] sane_cancel: finish
[fujitsu] sane_close: start
[fujitsu] do_cancel: start
[fujitsu] do_cancel: finish
[fujitsu] disconnect_fd: start
[fujitsu] disconnecting scsi device
[fujitsu] disconnect_fd: finish
[fujitsu] sane_close: finish
[fujitsu] sane_exit: start
[fujitsu] disconnect_fd: start
[fujitsu] disconnect_fd: finish
[fujitsu] sane_exit: finish


More information about the sane-devel mailing list