[sane-devel] "Error during device I/O" with Fujitsu fi65-F (epjitsu backend)

m. allan noah kitno455 at gmail.com
Sun Mar 15 00:50:04 UTC 2015


Well- 'output is not a file' is your first clue. You need to redirect
the output of scanimage somewhere:

scanimage [your options] > file.pnm

see if repeated invocations of that will work for you.

allan

On Sat, Mar 14, 2015 at 7:42 PM, Jonas Neubert <jonas.neubert at gmail.com> wrote:
> Hi,
>
> The Fujitsu fi65-F has recently showed up on the supported device list for the epjitsu backend, but I'm struggling to get it to scan an image using Ubuntu 14.04. Below are all the details but the gist is:
>
>  * sane-find-scanner finds the scanner
>  * scanimage -L recognizes the scanner
>  * scanimage makes the scanner move back and forth (homing?) a little but then prints "scanimage: output is not a file, exiting"
>  * repeated use of scanimage fails and prints "scanimage: no SANE devices found"
>  * scanimage -T shows similar behavior and prints "scanimage: sane_start: Error during device I/O"
>  * I'm using the latest sane-backends from the Git repo
>
>
> Did anyone else get this scanner working? Or maybe has seen similar behavior with a different device? This is my first time using SANE and I'm not quite sure if this is user error or not, and if it isn't what my next steps for debugging should be.
>
>
> Below are my setup steps and outputs of scanimage with debug flags set.
>
>
> Starting from a plain Ubuntu 14.04 box with basic tooling (gcc, vi, and so on), here are my setup steps:
>
>     sudo apt-get install libusb-dev
>     git clone git://git.debian.org/sane/sane-backends.git
>     cd sane-backends
>     ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var BACKENDS="epjitsu"
>     make
>     sudo make install
>     # copy /usr/share/sane/epjitsu/65f_0000.nal extracted from Windows driver
>     echo "# Fujitsu fi-65F" >> /etc/sane.d/epjitsu.conf
>     echo "firmware /usr/share/sane/epjitsu/65f_0000.nal" >> /etc/sane.d/epjitsu.conf
>     echo "usb 0x04c5 0x11bd" >> /etc/sane.d/epjitsu.conf
>     # comment out everything but epjitsu in /etc/sane.d/dll.conf
>
>
> sane-find-scanner:
>
>     jonas at sane-scanner:~$ sane-find-scanner
>
>       # sane-find-scanner will now attempt to detect your scanner. If the
>       # result is different from what you expected, first make sure your
>       # scanner is powered up and properly connected to your computer.
>
>       # No SCSI scanners found. If you expected something different, make sure that
>       # you have loaded a kernel SCSI driver for your SCSI adapter.
>
>     found USB scanner (vendor=0x04c5, product=0x11bd) at libusb:001:003
>       # Your USB scanner was (probably) detected. It may or may not be supported by
>       # SANE. Try scanimage -L and read the backend's manpage.
>
>       # Not checking for parallel port scanners.
>
>       # Most Scanners connected to the parallel port or other proprietary ports
>       # can't be detected by this program.
>
>       # You may want to run this program as root to find all devices. Once you
>       # found the scanner devices, be sure to adjust access permissions as
>       # necessary.
>
>
> First use of scanimage:
>
>     jonas at sane-scanner:~$ sudo SANE_DEBUG_DLL=128 SANE_DEBUG_EPJITSU=25 scanimage
>     [sanei_debug] Setting debug level of dll to 128.
>     [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.25git
>     [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
>     [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
>     [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
>     [dll] sane_init/read_dlld: done.
>     [dll] sane_init/read_config: reading dll.conf
>     [dll] add_backend: adding backend `epjitsu'
>     [dll] sane_get_devices
>     [dll] load: searching backend `epjitsu' in `/usr/lib/sane'
>     [dll] load: trying to load `/usr/lib/sane/libsane-epjitsu.so.1'
>     [dll] load: dlopen()ing `/usr/lib/sane/libsane-epjitsu.so.1'
>     [dll] init: initializing backend `epjitsu'
>     [sanei_debug] Setting debug level of epjitsu to 25.
>     [epjitsu] sane_init: start
>     [epjitsu] sane_init: epjitsu backend 1.0.27, from sane-backends 1.0.25git
>     [epjitsu] sane_init: finish
>     [dll] init: backend `epjitsu' is version 1.0.27
>     [epjitsu] sane_get_devices: start
>     [epjitsu] sane_get_devices: reading config file epjitsu.conf
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/60f_0A00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x10c7'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300_0C00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x1156'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300M_0C00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x117f'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/1300_0C26.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11ed'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/65f_0000.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11bd'
>     [epjitsu] attach_one: start 'libusb:001:003'
>     [epjitsu] attach_one: init struct
>     [epjitsu] attach_one: connect fd
>     [epjitsu] connect_fd: start
>     [epjitsu] connect_fd: opening USB device
>     [epjitsu] connect_fd: finish
>     [epjitsu] load_fw: start
>     [epjitsu] get_stat: start
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 2 bytes
>     [epjitsu] in: reading 2 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 2 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] load_fw: read firmware file /usr/share/sane/epjitsu/65f_0000.nal ok
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 4 bytes, timeout 10000
>     [epjitsu] cmd: wrote 4 bytes, retVal 0
>     [epjitsu] out: writing 65536 bytes, timeout 10000
>     [epjitsu] out: wrote 65536 bytes, retVal 0
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 1 bytes, timeout 10000
>     [epjitsu] cmd: wrote 1 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 1 bytes, timeout 10000
>     [epjitsu] cmd: wrote 1 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] get_stat: start
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 2 bytes
>     [epjitsu] in: reading 2 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 2 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] get_ident: start
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 32 bytes
>     [epjitsu] in: reading 32 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 32 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] get_ident: finish
>     [epjitsu] attach_one: Found FUJITSU scanner fi-65F  0A01 at libusb:001:003
>     [epjitsu] attach_one: Found fi-65F
>     [epjitsu] attach_one: init options
>     [epjitsu] attach_one: init settings
>     [epjitsu] change_params: start
>     [epjitsu] change_params: finish
>     [epjitsu] disconnect_fd: start
>     [epjitsu] disconnecting usb device
>     [epjitsu] disconnect_fd: finish
>     [epjitsu] attach_one: finish
>     [epjitsu] sane_get_devices: found scanner libusb:001:003
>     [epjitsu] sane_get_devices: found 1 scanner(s)
>     [epjitsu] sane_get_devices: finish
>     [dll] sane_get_devices: found 1 devices
>     [dll] sane_open: trying to open `epjitsu:libusb:001:003'
>     [epjitsu] sane_open: start
>     [epjitsu] sane_open: searching currently attached scanners
>     [epjitsu] sane_open: device libusb:001:003 requested, attaching
>     [epjitsu] sane_open: device libusb:001:003 found
>     [epjitsu] connect_fd: start
>     [epjitsu] connect_fd: opening USB device
>     [epjitsu] connect_fd: finish
>     [epjitsu] sane_open: finish
>     [dll] sane_open: open successful
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=0)
>     [epjitsu] sane_get_option_descriptor: 0
>     [dll] sane_control_option(handle=0x1914b90,option=0,action=0,value=0x7fffa498266c,info=(nil))
>     [epjitsu] sane_control_option: get value for '' (0)
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=0)
>     [epjitsu] sane_get_option_descriptor: 0
>     [dll] sane_control_option(handle=0x1914b90,option=0,action=0,value=0x7fffa49825a8,info=(nil))
>     [epjitsu] sane_control_option: get value for '' (0)
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=1)
>     [epjitsu] sane_get_option_descriptor: 1
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=2)
>     [epjitsu] sane_get_option_descriptor: 2
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=3)
>     [epjitsu] sane_get_option_descriptor: 3
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=4)
>     [epjitsu] sane_get_option_descriptor: 4
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=5)
>     [epjitsu] sane_get_option_descriptor: 5
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=6)
>     [epjitsu] sane_get_option_descriptor: 6
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=7)
>     [epjitsu] sane_get_option_descriptor: 7
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=8)
>     [epjitsu] sane_get_option_descriptor: 8
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=9)
>     [epjitsu] sane_get_option_descriptor: 9
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=10)
>     [epjitsu] sane_get_option_descriptor: 10
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=11)
>     [epjitsu] sane_get_option_descriptor: 11
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=12)
>     [epjitsu] sane_get_option_descriptor: 12
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=13)
>     [epjitsu] sane_get_option_descriptor: 13
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=14)
>     [epjitsu] sane_get_option_descriptor: 14
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=15)
>     [epjitsu] sane_get_option_descriptor: 15
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=16)
>     [epjitsu] sane_get_option_descriptor: 16
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=17)
>     [epjitsu] sane_get_option_descriptor: 17
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=18)
>     [epjitsu] sane_get_option_descriptor: 18
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=19)
>     [epjitsu] sane_get_option_descriptor: 19
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=20)
>     [epjitsu] sane_get_option_descriptor: 20
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=21)
>     [epjitsu] sane_get_option_descriptor: 21
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=22)
>     [epjitsu] sane_get_option_descriptor: 22
>     [dll] sane_get_option_descriptor(handle=0x1914b90,option=23)
>     [epjitsu] sane_get_option_descriptor: 23
>     scanimage: output is not a file, exiting
>     [dll] sane_close(handle=0x1914b90)
>     [epjitsu] sane_close: start
>     [epjitsu] sane_cancel: start
>     [epjitsu] sane_cancel: finish
>     [epjitsu] lamp: start (0)
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 9
>     [epjitsu] in: return error 'Error during device I/O'
>     [epjitsu] lamp: error sending cmd
>     [epjitsu] disconnect_fd: start
>     [epjitsu] disconnecting usb device
>     [epjitsu] disconnect_fd: finish
>     [epjitsu] sane_close: finish
>     [dll] sane_exit: exiting
>     [dll] sane_exit: calling backend `epjitsu's exit function
>     [epjitsu] sane_exit: start
>     [epjitsu] destroy: start
>     [epjitsu] teardown_buffers: start
>     [epjitsu] teardown_buffers: finish
>     [epjitsu] destroy: finish
>     [epjitsu] sane_exit: finish
>     [dll] sane_exit: finished
>
>
> Second use of scanimage (unplugging and re-plugging the scanner resets behavior):
>
>     jonas at sane-scanner:~$ sudo SANE_DEBUG_DLL=256 SANE_DEBUG_EPJITSU=25 scanimage
>     [sanei_debug] Setting debug level of dll to 256.
>     [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.25git
>     [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
>     [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
>     [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
>     [dll] sane_init/read_dlld: done.
>     [dll] sane_init/read_config: reading dll.conf
>     [dll] add_backend: adding backend `epjitsu'
>     [dll] sane_get_devices
>     [dll] load: searching backend `epjitsu' in `/usr/lib/sane'
>     [dll] load: trying to load `/usr/lib/sane/libsane-epjitsu.so.1'
>     [dll] load: dlopen()ing `/usr/lib/sane/libsane-epjitsu.so.1'
>     [dll] init: initializing backend `epjitsu'
>     [sanei_debug] Setting debug level of epjitsu to 25.
>     [epjitsu] sane_init: start
>     [epjitsu] sane_init: epjitsu backend 1.0.27, from sane-backends 1.0.25git
>     [epjitsu] sane_init: finish
>     [dll] init: backend `epjitsu' is version 1.0.27
>     [epjitsu] sane_get_devices: start
>     [epjitsu] sane_get_devices: reading config file epjitsu.conf
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/60f_0A00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x10c7'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300_0C00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x1156'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300M_0C00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x117f'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/1300_0C26.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11ed'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/65f_0000.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11bd'
>     [epjitsu] attach_one: start 'libusb:001:003'
>     [epjitsu] attach_one: init struct
>     [epjitsu] attach_one: connect fd
>     [epjitsu] connect_fd: start
>     [epjitsu] connect_fd: opening USB device
>     [epjitsu] connect_fd: finish
>     [epjitsu] load_fw: start
>     [epjitsu] get_stat: start
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 0 bytes, retVal 9
>     [epjitsu] cmd: return error 'Error during device I/O'
>     [epjitsu] get_stat: error checking status
>     [epjitsu] load_fw: read firmware file /usr/share/sane/epjitsu/65f_0000.nal ok
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 0 bytes, retVal 9
>     [epjitsu] cmd: return error 'Error during device I/O'
>     [epjitsu] load_fw: error on cmd 1
>     [epjitsu] destroy: start
>     [epjitsu] teardown_buffers: start
>     [epjitsu] teardown_buffers: finish
>     [epjitsu] destroy: finish
>     [epjitsu] attach_one: firmware load failed
>     [epjitsu] sane_get_devices: found 0 scanner(s)
>     [epjitsu] sane_get_devices: finish
>     [dll] sane_get_devices: found 0 devices
>     scanimage: no SANE devices found
>     [dll] sane_exit: exiting
>     [dll] sane_exit: calling backend `epjitsu's exit function
>     [epjitsu] sane_exit: start
>     [epjitsu] sane_exit: finish
>     [dll] sane_exit: finished
>
>
>
> Output of scanimage -T with debug output:
>
>     jonas at sane-scanner:~$ sudo SANE_DEBUG_DLL=256 SANE_DEBUG_EPJITSU=25 scanimage -T
>     [sanei_debug] Setting debug level of dll to 256.
>     [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.25git
>     [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
>     [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
>     [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
>     [dll] sane_init/read_dlld: done.
>     [dll] sane_init/read_config: reading dll.conf
>     [dll] add_backend: adding backend `epjitsu'
>     [dll] sane_get_devices
>     [dll] load: searching backend `epjitsu' in `/usr/lib/sane'
>     [dll] load: trying to load `/usr/lib/sane/libsane-epjitsu.so.1'
>     [dll] load: dlopen()ing `/usr/lib/sane/libsane-epjitsu.so.1'
>     [dll] init: initializing backend `epjitsu'
>     [sanei_debug] Setting debug level of epjitsu to 25.
>     [epjitsu] sane_init: start
>     [epjitsu] sane_init: epjitsu backend 1.0.27, from sane-backends 1.0.25git
>     [epjitsu] sane_init: finish
>     [dll] init: backend `epjitsu' is version 1.0.27
>     [epjitsu] sane_get_devices: start
>     [epjitsu] sane_get_devices: reading config file epjitsu.conf
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/60f_0A00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x10c7'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300_0C00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x1156'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/300M_0C00.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x117f'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/1300_0C26.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11ed'
>     [epjitsu] sane_get_devices: firmware '/usr/share/sane/epjitsu/65f_0000.nal'
>     [epjitsu] sane_get_devices: looking for 'usb 0x04c5 0x11bd'
>     [epjitsu] attach_one: start 'libusb:001:005'
>     [epjitsu] attach_one: init struct
>     [epjitsu] attach_one: connect fd
>     [epjitsu] connect_fd: start
>     [epjitsu] connect_fd: opening USB device
>     [epjitsu] connect_fd: finish
>     [epjitsu] load_fw: start
>     [epjitsu] get_stat: start
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 2 bytes
>     [epjitsu] in: reading 2 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 2 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] load_fw: read firmware file /usr/share/sane/epjitsu/65f_0000.nal ok
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 4 bytes, timeout 10000
>     [epjitsu] cmd: wrote 4 bytes, retVal 0
>     [epjitsu] out: writing 65536 bytes, timeout 10000
>     [epjitsu] out: wrote 65536 bytes, retVal 0
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 1 bytes, timeout 10000
>     [epjitsu] cmd: wrote 1 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 1 bytes, timeout 10000
>     [epjitsu] cmd: wrote 1 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] get_stat: start
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 2 bytes
>     [epjitsu] in: reading 2 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 2 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] get_ident: start
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 32 bytes
>     [epjitsu] in: reading 32 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 32 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] get_ident: finish
>     [epjitsu] attach_one: Found FUJITSU scanner fi-65F  0A01 at libusb:001:005
>     [epjitsu] attach_one: Found fi-65F
>     [epjitsu] attach_one: init options
>     [epjitsu] attach_one: init settings
>     [epjitsu] change_params: start
>     [epjitsu] change_params: finish
>     [epjitsu] disconnect_fd: start
>     [epjitsu] disconnecting usb device
>     [epjitsu] disconnect_fd: finish
>     [epjitsu] attach_one: finish
>     [epjitsu] sane_get_devices: found scanner libusb:001:005
>     [epjitsu] sane_get_devices: found 1 scanner(s)
>     [epjitsu] sane_get_devices: finish
>     [dll] sane_get_devices: found 1 devices
>     [dll] sane_open: trying to open `epjitsu:libusb:001:005'
>     [epjitsu] sane_open: start
>     [epjitsu] sane_open: searching currently attached scanners
>     [epjitsu] sane_open: device libusb:001:005 requested, attaching
>     [epjitsu] sane_open: device libusb:001:005 found
>     [epjitsu] connect_fd: start
>     [epjitsu] connect_fd: opening USB device
>     [epjitsu] connect_fd: finish
>     [epjitsu] sane_open: finish
>     [dll] sane_open: open successful
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=0)
>     [epjitsu] sane_get_option_descriptor: 0
>     [dll] sane_control_option(handle=0x12ebb90,option=0,action=0,value=0x7fffa88f081c,info=(nil))
>     [epjitsu] sane_control_option: get value for '' (0)
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=0)
>     [epjitsu] sane_get_option_descriptor: 0
>     [dll] sane_control_option(handle=0x12ebb90,option=0,action=0,value=0x7fffa88f0758,info=(nil))
>     [epjitsu] sane_control_option: get value for '' (0)
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=1)
>     [epjitsu] sane_get_option_descriptor: 1
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=2)
>     [epjitsu] sane_get_option_descriptor: 2
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=3)
>     [epjitsu] sane_get_option_descriptor: 3
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=4)
>     [epjitsu] sane_get_option_descriptor: 4
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=5)
>     [epjitsu] sane_get_option_descriptor: 5
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=6)
>     [epjitsu] sane_get_option_descriptor: 6
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=7)
>     [epjitsu] sane_get_option_descriptor: 7
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=8)
>     [epjitsu] sane_get_option_descriptor: 8
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=9)
>     [epjitsu] sane_get_option_descriptor: 9
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=10)
>     [epjitsu] sane_get_option_descriptor: 10
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=11)
>     [epjitsu] sane_get_option_descriptor: 11
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=12)
>     [epjitsu] sane_get_option_descriptor: 12
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=13)
>     [epjitsu] sane_get_option_descriptor: 13
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=14)
>     [epjitsu] sane_get_option_descriptor: 14
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=15)
>     [epjitsu] sane_get_option_descriptor: 15
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=16)
>     [epjitsu] sane_get_option_descriptor: 16
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=17)
>     [epjitsu] sane_get_option_descriptor: 17
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=18)
>     [epjitsu] sane_get_option_descriptor: 18
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=19)
>     [epjitsu] sane_get_option_descriptor: 19
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=20)
>     [epjitsu] sane_get_option_descriptor: 20
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=21)
>     [epjitsu] sane_get_option_descriptor: 21
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=22)
>     [epjitsu] sane_get_option_descriptor: 22
>     [dll] sane_get_option_descriptor(handle=0x12ebb90,option=23)
>     [epjitsu] sane_get_option_descriptor: 23
>     [dll] sane_start(handle=0x12ebb90)
>     [epjitsu] sane_start: start
>     [epjitsu] sane_start: first page
>     [epjitsu] teardown_buffers: start
>     [epjitsu] teardown_buffers: finish
>     [epjitsu] change_params: start
>     [epjitsu] change_params: finish
>     [epjitsu] setup_buffers: start
>     [epjitsu] setup_buffers: finish
>     [epjitsu] load_lut: start
>     [epjitsu] load_lut:
>     [epjitsu] 000: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
>     [epjitsu] 010: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
>     [epjitsu] 020: 32 32 32 32 32 32 32 32 32 32 33 34 34 35 36 37
>     [epjitsu] 030: 38 38 39 3a 3b 3c 3d 3d 3e 3f 40 41 41 42 43 44
>     [epjitsu] 040: 45 45 46 47 48 49 49 4a 4b 4c 4d 4d 4e 4f 50 51
>     [epjitsu] 050: 52 52 53 54 55 56 56 57 58 59 5a 5a 5b 5c 5d 5e
>     [epjitsu] 060: 5e 5f 60 61 62 63 63 64 65 66 67 67 68 69 6a 6b
>     [epjitsu] 070: 6b 6c 6d 6e 6f 6f 70 71 72 73 74 74 75 76 77 78
>     [epjitsu] 080: 78 79 7a 7b 7c 7c 7d 7e 7f 80 80 81 82 83 84 85
>     [epjitsu] 090: 85 86 87 88 89 89 8a 8b 8c 8d 8d 8e 8f 90 91 91
>     [epjitsu] 0a0: 92 93 94 95 96 96 97 98 99 9a 9a 9b 9c 9d 9e 9e
>     [epjitsu] 0b0: 9f a0 a1 a2 a2 a3 a4 a5 a6 a6 a7 a8 a9 aa ab ab
>     [epjitsu] 0c0: ac ad ae af af b0 b1 b2 b3 b3 b4 b5 b6 b7 b7 b8
>     [epjitsu] 0d0: b9 ba bb bc bc bd be bf c0 c0 c1 c2 c3 c4 c4 c5
>     [epjitsu] 0e0: c6 c7 c8 c8 c9 ca cb cc cd cd cd cd cd cd cd cd
>     [epjitsu] 0f0: cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd
>     [epjitsu] load_lut: finish
>     [epjitsu] coarsecal: start
>     [epjitsu] set_window: start, window 0
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 9
>     [epjitsu] in: return error 'Error during device I/O'
>     [epjitsu] set_window: error sending cmd
>     [epjitsu] coarsecal: error sending setwindow
>     [epjitsu] sane_start: ERROR: failed to coarsecal
>     [epjitsu] sane_cancel: start
>     [epjitsu] sane_cancel: finish
>     scanimage: sane_start: Error during device I/O
>     [dll] sane_cancel(handle=0x12ebb90)
>     [epjitsu] sane_cancel: start
>     [epjitsu] sane_cancel: finish
>     [dll] sane_close(handle=0x12ebb90)
>     [epjitsu] sane_close: start
>     [epjitsu] sane_cancel: start
>     [epjitsu] sane_cancel: finish
>     [epjitsu] lamp: start (0)
>     [epjitsu] do_cmd: start
>     [epjitsu] cmd: writing 2 bytes, timeout 10000
>     [epjitsu] cmd: wrote 2 bytes, retVal 0
>     [epjitsu] in: memset 1 bytes
>     [epjitsu] in: reading 1 bytes, timeout 10000
>     [epjitsu] in: retVal 0
>     [epjitsu] in: read 1 bytes
>     [epjitsu] do_cmd: finish
>     [epjitsu] lamp: cmd bad status?
>     [epjitsu] disconnect_fd: start
>     [epjitsu] disconnecting usb device
>     [epjitsu] disconnect_fd: finish
>     [epjitsu] sane_close: finish
>     [dll] sane_exit: exiting
>     [dll] sane_exit: calling backend `epjitsu's exit function
>     [epjitsu] sane_exit: start
>     [epjitsu] destroy: start
>     [epjitsu] teardown_buffers: start
>     [epjitsu] teardown_buffers: finish
>     [epjitsu] destroy: finish
>     [epjitsu] sane_exit: finish
>     [dll] sane_exit: finished
>
>
>
> -Jonas
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"



More information about the sane-devel mailing list