<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Ales,</p>
<p>You can install SANE from my ppa
(<a class="moz-txt-link-freetext" href="https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git">https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git</a>). Then
everything should work well.</p>
<p>Hope this helps.</p>
<p>Cheers,<br>
Rolf<br>
</p>
<br>
<div class="moz-cite-prefix">Am 07.12.2017 um 15:35 schrieb Ales
Mateju:<br>
</div>
<blockquote type="cite"
cite="mid:%3C5qg.343n.5C3sXSd41Qx.1QAL6X@seznam.cz%3E">Hi, I try
to install scanner <b>CANON Canoscan 9000F Mark II</b> via <b>USB
</b>under OS linux <b>Ubuntu 12.04.LTS 64k</b>. After <b>scanimage
-T</b> I get error <b>FAIL Error: Error during device I/O</b>.
Other frontends ( xsane, gimp) says that I/O error appeared as
well. Can somebody help me what to do next? Thanks Ales.<br>
<br>
<u><b>I did this steps:<br>
</b></u>- uninstall old version<br>
- install new version 1.0.27<br>
- create link<br>
<span style="font-size:12px">BACKENDS=pixma ./configure
--prefix=/usr --localstatedir=/var --sysconfdir=/etc<br>
sudo make instal<br>
sudo ln -i -s /usr/lib/sane/libsane-pixma.so.1.0.27
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1<br>
</span>- after sudo find / -name "libsane-pixma.*" I get<br>
<span style="font-size:14px"><span style="font-size:12px">/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so<br>
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1<br>
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.la<br>
/usr/lib/sane/libsane-pixma.so<br>
/usr/lib/sane/libsane-pixma.so.1<br>
/usr/lib/sane/libsane-pixma.so.1.0.27<br>
/usr/lib/sane/libsane-pixma.la<br>
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/libsane-pixma.la<br>
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/libsane-pixma.so<br>
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/libsane-pixma.so.1<br>
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/libsane-pixma.lai<br>
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/libsane-pixma.so.1.0.27<br>
/home/ales/sane/sane-backends-latest/sane-backends-1.0.27/backend/.libs/libsane-pixma.la<br>
</span></span>and<br>
<span style="font-size:12px">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<br>
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<br>
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<br>
</span><br>
<u><b>I get this results:<br>
</b></u>- sane-find-scanner can find my scanner - the second one<br>
<span style="font-size:12px">found USB scanner (vendor=0x08ff,
product=0x2580) at libusb:005:002<br>
found USB scanner (vendor=0x04a9 [Canon], product=0x190d
[CanoScan]) at libusb:002:003<br>
</span>- scanimage -L can find my scanner<br>
<span style="font-size:12px">device `pixma:04A9190D' is a CANON
Canoscan 9000F Mark II multi-function peripheral</span><br>
- scanimage -T get I/O error<br>
<span style="font-size:12px">scanimage: scanning image of size
638x877 pixels at 24 bits/pixel<br>
scanimage: acquiring RGB frame, 8 bits/sample<br>
scanimage: reading one scanline, 1914 bytes... FAIL Error:
Error during device I/O<br>
</span>- scanimage -V get mismatch of versions<br>
<span style="font-size:12px">scanimage (sane-backends) 1.0.27;
backend version 1.0.22<br>
</span>- other frontends ( xsane, gimp) can find scanner but get
I/O error<br>
<br>
<u><b>from debugger lists it looks like ...<br>
</b></u>- from SANE_DEBUG_DLL=255 scanimage -L it looks that
system can find correct version of backends at right place and can
load it <br>
<span style="font-size:12px">[dll] load: searching backend `pixma'
in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'<br>
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1'<br>
[dll] load: dlopen()ing
`/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1'<br>
[dll] init: initializing backend `pixma'<br>
[dll] init: backend `pixma' is version 1.0.17<br>
</span><br>
<span style="font-size:12px">[<span>dll] sane_get_devices: found 1
devices<br>
</span></span><span style="font-size:12px">device
`pixma:04A9190D' is a CANON Canoscan 9000F Mark II
multi-function peripheral<br>
[dll] sane_exit: exiting<br>
[dll] sane_exit: calling backend `pixma's exit function<br>
[dll] sane_exit: finished<br>
</span>- 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<br>
<span style="font-size:12px">[sanei_debug] Setting debug level of
dll to 1.<br>
[dll] sane_init: SANE dll backend version 1.0.13 from
sane-backends 1.0.22<br>
</span><br>
<span style="font-size:12px">scanimage: scanning image of size
638x877 pixels at 24 bits/pixel<br>
scanimage: acquiring RGB frame, 8 bits/sample<br>
scanimage: reading one scanline, 1914 bytes... FAIL Error:
Error during device I/O<br>
</span><br>
- 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 <br>
<span style="font-size:12px">[dll] sane_init: SANE dll backend
version 1.0.13 from sane-backends 1.0.22<br>
[dll] sane_init/read_dlld: using config directory
`/etc/sane.d/dll.d'<br>
</span><br>
<u><b>at the end<br>
</b></u>1/ I am not sure I understood well the current state<br>
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, ...<br>
3/ ... or looking for other mistake <br>
<br>
</blockquote>
<br>
</body>
</html>