Re: [sane-devel] CANON Canoscan 9000F - FAIL Error: Error during device I/O

2017-12-10 Thread Rolf Bensch
Hi Ales,

You can install SANE from my ppa
(https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git). Then
everything should work well.

Hope this helps.

Cheers,
Rolf


Am 07.12.2017 um 15:35 schrieb Ales Mateju:
> 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
>

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] CANON Canoscan 9000F - FAIL Error: Error during device I/O

2017-12-07 Thread Ales Mateju
I did it. Thanks. I didn't know about this config. The job for loader is 
easier, but the functionality is same as before. AM

scanimage -L
device `pixma:04A9190D' is a CANON Canoscan 9000F Mark II multi-function 
peripheral

scanimage -T
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=255 scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
[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 `pixma'
[dll] sane_get_devices
[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

SANE_DEBUG_DLL=2 scanimage -T
[sanei_debug] Setting debug level of dll to 2.
[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
[dll] sane_exit: exiting

-- Původní e-mail --
Od: staedtler-przyborski <staedtler-przybor...@web.de>
Komu: sane-devel@lists.alioth.debian.org
Datum: 7. 12. 2017 18:14:44
Předmět: Re: [sane-devel] CANON Canoscan 9000F - FAIL Error: Error during
device I/O
"

Am 07.12.2017 um 15:35 schrieb Ales Mateju:

"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." Try 
what happens if you comment all backends except pixma in /etc/sane.d/dll.
conf

Normally you comment a backend by adding a '#' in front of every line

Klaus Staedtler

--
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org"-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Re: [sane-devel] CANON Canoscan 9000F - FAIL Error: Error during device I/O

2017-12-07 Thread staedtler-przyborski

Am 07.12.2017 um 15:35 schrieb Ales Mateju:
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.
Try what happens if you comment all backends except pixma in 
/etc/sane.d/dll.conf


Normally you comment a backend by adding a '#' in front of every line

Klaus Staedtler
-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

[sane-devel] CANON Canoscan 9000F - FAIL Error: Error during device I/O

2017-12-07 Thread Ales Mateju
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
-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org