Hi, the window parameter block looks ok. You are scanning with 300 dpi (ok), the width and height of your scanarea is 30x20mm (a small area but as far as I know it's allowed. You can try to set a larger area for example -y 297 -x 210). You are scanning grayscale. I have a M3097G with an old ROM-version. The scanner should be able to scan in mode gray but there is a bug in the ROM-version of that scanner. Perhaps it's the same problem with your scanner. Are you able to scan in binary mode? -- mode Lineart? Does a twain-driver support gray? If not, you have to get a ROM with new firmware.
Oliver Am Don, 2003-03-06 um 17.03 schrieb Dirk Petersen: > Hi, > > The debugging output of the FUJITSU Module > confuses me: > ERROR: failed to set window > > The Fujitsu Moduke is from Sept/2002. > I had a look at current fujitsu sources > (Feb/2003) but could not find a hint > that this has been adressed. > > Is there any hint where I could continue to look for ? > > > Thanks > Dirk > > > OS: > Debian Woody 2.4.18 bf24 Standard Kernel w/ Reiser FS > AHA1542 SCSI > > I'm using these Debian packages: > unstable libsane 1.0.11-2 (1857.4k) > API library for scanners > unstable sane 1.0.10-1 (87.4k) > Scanner graphical frontends > > These commands worked OK: > sane-find-scanner > scanimage -d fujitsu:/dev/sg0 --help > > Debugging output: > > debian106:/# scanadf -d fujitsu:/dev/sg0 -T > > [sanei_debug] Setting debug level of fujitsu to 16. > [fujitsu] sane_init > [fujitsu] sane_init: reading config file fujitsu.conf > [fujitsu] attach_scanner: /dev/sg0 > [fujitsu] attach_scanner: opening /dev/sg0 > [fujitsu] identify_scanner > [fujitsu] do_inquiry > [fujitsu] inquiry > [fujitsu] 000: 12 00 00 00 60 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] 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_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: 944 > [fujitsu] scan_height: 14031 > [fujitsu] calculateDerivedValues: ok > scanadf: rounded value of br-x from 20 to 19.9999 > [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: 944 > [fujitsu] scan_height: 1417 > [fujitsu] calculateDerivedValues: ok > scanadf: rounded value of br-y from 30 to 30.0105 > [fujitsu] sane_start > [fujitsu] object_count = 0 > [fujitsu] duplex_mode = DUPLEX_FRONT > [fujitsu] use_temp_file = no > [fujitsu] grabScanner > [fujitsu] wait_scanner > [fujitsu] test_unit_ready > [fujitsu] 000: 00 00 00 00 00 00 > [fujitsu] wait_scanner: ok > [fujitsu] reserve_unit > [fujitsu] 000: 16 00 00 00 00 00 > [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] wait_scanner > [fujitsu] test_unit_ready > [fujitsu] 000: 00 00 00 00 00 00 > [fujitsu] wait_scanner: ok > [fujitsu] object_position: ok > [fujitsu] wait_scanner > [fujitsu] test_unit_ready > [fujitsu] 000: 00 00 00 00 00 00 > [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: 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 > [fujitsu] freeScanner > [fujitsu] release_unit > [fujitsu] 000: 17 00 00 00 00 00 > [fujitsu] freeScanner: ok > scanadf: sane_start: Invalid argument > Invalid argument > Scanned 0 pages > [fujitsu] sane_cancel > [fujitsu] doCancel > [fujitsu] sane_close > [fujitsu] sane_exit > > _______________________________________________ > Sane-devel mailing list > sane-de...@www.mostang.com > http://www.mostang.com/mailman/listinfo/sane-devel > >