[sane-devel] Re: Error when reading from Fujitsu fi-5120c
Matthew
ecd at centurytel.net
Fri Aug 25 14:45:33 UTC 2006
m. allan noah wrote:
> On Fri, 25 Aug 2006, Matthew wrote:
>
>> m. allan noah wrote:
>>> i am sorry you are having problems. linux has a learning curve
>>> sometimes, and the fujitsu sane backend has JUST been completely
>>> re-written to support your scanner. if you wait a few months for your
>>> distro of choice to include sane 1.0.18, i bet 3/4 of these problems
>>> will go away.
>>
>> I wish I could wait, but work has to go on and if I can't get it done in
>> Linux then it's back to Windows. I don't want to go back to Windows.
>>
>
> ok, then we make this work.
>
>>>
>>> nothing personal, but you obviously dont know much about linux (the fact
>>> you reinstalled suse 3 times is a pretty good indication of that), so
>>> when you then jump off the beaten path and start compiling your own
>>> code, it is no wonder you cant make it work by yourself.
>>
>> Your are right I am a Linux newbie. As far as jumping off the beaten
>> path... well, what choice do I have. Either I figure out how to compile
>> the source and make my scanner work (or find an RPM) or I go back to
>> Windows and wait.
>
> did you try the suse unsupported sane 1.0.18 rpm? you should be able to
> install that instead of the source compile, if you cant make the source
> work. but no matter, you seem to have the source installed, so lets
> stick with that.
>
>>
>>>
>>> dont feel like you have to founder on alone, however. you have only sent
>>> two previous mails to this list, and you got answers to the questions
>>> you asked. the same can be true for the rest of the process.
>>>
>>> 1. the log below has no errors in it.
>> If there are any other logs I can send let me know and I will get them
>> to you all.
>>
>
> ok. place a single sheet in the scanner. run, as root:
>
> SANE_DEBUG_FUJITSU=15 scanimage (your options here) 2>take2.log >foo.pnm
>
> that will attempt to scan, place the error/debug messages in take2.log
> and the image in foo.pnm
>
> if there is an error in the log, send it. if not, repeat.
>
> allan
>
I did use the unsupported sane RPM from the 10.1 directory on the ftp site.
** Error log **
[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] find_scanners: looking for 'usb 0x04c5 0x10e0'
[fujitsu] attach_one: start
[fujitsu] attach_one: looking for 'libusb:001:005'
[fujitsu] connect_fd: start
[fujitsu] connect_fd: opening USB device
[fujitsu] wait_scanner: start
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] wait_scanner: finish
[fujitsu] connect_fd: finish
[fujitsu] init_inquire: start
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] init_inquire: Found FUJITSU scanner fi-5120Cdj version 0C00 at
libusb:001:005
[fujitsu] inquiry options
[fujitsu] color offset: 0 lines
[fujitsu] duplex offset: 0 lines
[fujitsu] init_inquire: finish
[fujitsu] init_vpd: start
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_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: 8.85 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: 16777216
[fujitsu] subwindow cmd: 0
[fujitsu] endorser cmd: 0
[fujitsu] hardware status cmd: 1
[fujitsu] scanner control cmd: 1
[fujitsu] brightness steps: 0
[fujitsu] threshold steps: 255
[fujitsu] contrast steps: 0
[fujitsu] built in gamma patterns: 0
[fujitsu] download gamma patterns: 1
[fujitsu] built in dither patterns: 4
[fujitsu] download dither patterns: 1
[fujitsu] black and white rif: 1
[fujitsu] automatic binary DTC: 0
[fujitsu] simplified DTC: 1
[fujitsu] outline extraction: 0
[fujitsu] image emphasis: 1
[fujitsu] automatic separation: 0
[fujitsu] mirror image: 0
[fujitsu] white level follower: 0
[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 usb device
[fujitsu] disconnect_fd: finish
[fujitsu] attach_one: finish
[fujitsu] find_scanners: found scanner libusb:001:005
[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 libusb:001:005 requested
[fujitsu] sane_open: device libusb:001:005 found
[fujitsu] connect_fd: start
[fujitsu] connect_fd: opening USB device
[fujitsu] wait_scanner: start
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] wait_scanner: finish
[fujitsu] connect_fd: finish
[fujitsu] sane_open: finish
[fujitsu] sane_start: start
[fujitsu] started=0, img_count=0, source=1
[fujitsu] scanner_control: start
[fujitsu] scanner_control: power up lamp...
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] scanner_control: lamp on, tries 1, ret 0
[fujitsu] scanner_control: finish
[fujitsu] calculateDerivedValues: start
[fujitsu] xres=600, tlx=0, brx=10200, pw=10200, maxx=10624
[fujitsu] yres=600, tly=0, bry=13200, ph=13200, maxy=40800
[fujitsu] xres=600, tlx=0, brx=10208, pw=10200, maxx=10624
[fujitsu] yres=600, tly=0, bry=13200, ph=13200, maxy=40800
[fujitsu] calculateDerivedValues: finish
[fujitsu] setup_buffers: start
[fujitsu] setup_buffers: finish
[fujitsu] set_window: start
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] set_window: finish
[fujitsu] object_position: start
[fujitsu] object_position: load
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] wait_scanner: start
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] wait_scanner: finish
[fujitsu] object_position: finish
[fujitsu] start_scan: start
[fujitsu] do_usb_cmd: start
[fujitsu] do_usb_cmd: finish
[fujitsu] start_scan: finish
[fujitsu] started=1, img_count=0, source=1
[fujitsu] sane_start: finish
[fujitsu] sane_get_parameters: start
[fujitsu] calculateDerivedValues: start
[fujitsu] xres=600, tlx=0, brx=10208, pw=10200, maxx=10624
[fujitsu] yres=600, tly=0, bry=13200, ph=13200, maxy=40800
[fujitsu] xres=600, tlx=0, brx=10208, pw=10200, maxx=10624
[fujitsu] yres=600, tly=0, bry=13200, ph=13200, maxy=40800
[fujitsu] calculateDerivedValues: finish
[fujitsu] depth 1
[fujitsu] lines 6600
[fujitsu] pixels_per_line 5104
[fujitsu] bytes_per_line 638
[fujitsu] sane_get_parameters: finish
scanimage: scanning image of size 5104x6600 pixels at 1 bits/pixel
scanimage: acquiring gray frame
[fujitsu] sane_read: start
[fujitsu] read_from_scanner: start
[fujitsu] read_from_scanner: si:0 to:4210800 rx:0 re:4210800 bu:65536
pa:65076
[fujitsu] do_usb_cmd: start
[fujitsu] in: return error 'End of file reached'
[fujitsu] read_from_scanner: got EOF, changing to GOOD
[fujitsu] copy_buffer: start
[fujitsu] copy_buffer: finish
[fujitsu] read_from_scanner: finish
[fujitsu] read_from_buffer: start
[fujitsu] read_from_buffer: si:0 to:4210800 tx:0 re:65076 bu:32768 pa:32768
[fujitsu] read_from_buffer: finish
[fujitsu] sane_read: finish
[fujitsu] sane_read: start
[fujitsu] read_from_scanner: start
[fujitsu] read_from_scanner: si:0 to:4210800 rx:65076 re:4145724
bu:65536 pa:65076
[fujitsu] do_usb_cmd: start
[fujitsu] cmd: return error 'Error during device I/O'
[fujitsu] read_from_scanner: error reading data block status = 9
[fujitsu] read_from_scanner: finish
[fujitsu] sane_read: front returning 9
scanimage: sane_read: Error during device I/O
[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 usb 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
** end **
More information about the sane-devel
mailing list