[sane-devel] CANON Canoscan 9000F - FAIL Error: Error during device I/O
Ales Mateju
ales_mateju at seznam.cz
Thu Dec 7 14:35:13 UTC 2017
Hi, I try to install scanner CANON Canoscan 9000F Mark II via USB under OS
linux Ubuntu 12.04.LTS 64k. After scanimage -T I get error FAIL Error:
Error during device I/O. Other frontends ( xsane, gimp) says that I/O error
appeared as well. Can somebody help me what to do next? Thanks Ales.
I did this steps:
- uninstall old version
- install new version 1.0.27
- create link
BACKENDS=pixma ./configure --prefix=/usr --localstatedir=/var --sysconfdir=
/etc
sudo make instal
sudo ln -i -s /usr/lib/sane/libsane-pixma.so.1.0.27 /usr/lib/x86_64-linux-
gnu/sane/libsane-pixma.so.1
- after sudo find / -name "libsane-pixma.*" I get
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.la
/usr/lib/sane/libsane-pixma.so
/usr/lib/sane/libsane-pixma.so.1
/usr/lib/sane/libsane-pixma.so.1.0.27
/usr/lib/sane/libsane-pixma.la
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/libsane-
pixma.la
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/
libsane-pixma.so
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/
libsane-pixma.so.1
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/
libsane-pixma.lai
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/
libsane-pixma.so.1.0.27
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/
libsane-pixma.la
and
lrwxrwxrwx 1 root root 30 pro 6 23:53 /usr/lib/x86_64-linux-gnu/sane/
libsane-pixma.la -> /usr/lib/sane/libsane-pixma.la
lrwxrwxrwx 1 root root 37 pro 6 23:51 /usr/lib/x86_64-linux-gnu/sane/
libsane-pixma.so -> /usr/lib/sane/libsane-pixma.so.1.0.27
lrwxrwxrwx 1 root root 37 pro 6 22:23 /usr/lib/x86_64-linux-gnu/sane/
libsane-pixma.so.1 -> /usr/lib/sane/libsane-pixma.so.1.0.27
I get this results:
- sane-find-scanner can find my scanner - the second one
found USB scanner (vendor=0x08ff, product=0x2580) at libusb:005:002
found USB scanner (vendor=0x04a9 [Canon], product=0x190d [CanoScan]) at
libusb:002:003
- scanimage -L can find my scanner
device `pixma:04A9190D' is a CANON Canoscan 9000F Mark II multi-function
peripheral
- scanimage -T get I/O error
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes... FAIL Error: Error during
device I/O
- scanimage -V get mismatch of versions
scanimage (sane-backends) 1.0.27; backend version 1.0.22
- other frontends ( xsane, gimp) can find scanner but get I/O error
from debugger lists it looks like ...
- from SANE_DEBUG_DLL=255 scanimage -L it looks that system can find correct
version of backends at right place and can load it
[dll] load: searching backend `pixma' in `/usr/lib/x86_64-linux-gnu/sane:/
usr/lib/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.
1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1'
[dll] init: initializing backend `pixma'
[dll] init: backend `pixma' is version 1.0.17
[dll] sane_get_devices: found 1 devices
device `pixma:04A9190D' is a CANON Canoscan 9000F Mark II multi-function
peripheral
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `pixma's exit function
[dll] sane_exit: finished
- from SANE_DEBUG_DLL=1 scanimage -T, looks like the scanimage at this case
finds and uses wrong version and stops by I/O error
[sanei_debug] Setting debug level of dll to 1.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes... FAIL Error: Error during
device I/O
- SANE_DEBUG_DLL=3 scanimage -T gives more information about sane_init. I am
not sure that it is important for loading of wrong backends version
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
at the end
1/ I am not sure I understood well the current state
2/ I don't know what to do next. Try to looking for mistake in my
instalation of backends or try to check instalation and configuration of
frontends and how, ...
3/ ... or looking for other mistake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20171207/62e3080a/attachment.html>
More information about the sane-devel
mailing list