[sane-devel] usb connection found, but scanners not identified...

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Wed Dec 25 08:38:37 UTC 2013


Ilias Miroslav writes:

> Dear experts,
>
> maybe you can help me, few days I am struggling with lost access to my
> 2 scanners (Epson SX400 and Cannon MF3010).  I put here some findings,
> https://answers.launchpad.net/ubuntu/+source/sane-backends/+question/240955

Read that and the forum post it references.  No mention about the Epson
SX400 but it looks like you have been "playing" around with a package
from a ppa and maybe even a source build.  Hmm, I'd get rid of all that
first and reinstall the official libsane package.

BTW, what ppa did you use anyway?  Did whoever build the package enable
all the backends you need or just whatever that person needed?

> Shortly, "sudo sane-find-scanner" detects these scanners sitting on
> USB ports, but "sudo scanimage -L" gives no scanner detected.

Please note that sane-find-scanner works independently of whatever is
below /etc/sane.d and whatever backends are installed.

> (Strange that I am getting "could not fetch string descriptor: Pipe
> error", could it be this the cause ?)
>
> I checked SANE manual, reinstalled packages few times (I am using
> newest ppa for “sane-backends”), searched internet...
>
> Even when I returned to older (Ubuntu 13.10 default) version of
> “sane-backends”, the Epson SX400, which was working previously, was
> not detected...The same symptoms - scanner is detected as device on
> usb port, but not detected as scanner for real work.

Your lists of configuration files below /etc/sane.d/ look suspiciously
short.  For the Epson SX400, I would expect epson2.conf in there and an
uncommented epson2 entry in dll.conf.  The dll.conf file I would also
expect to be there.

Without these expectations met, I do not expect scanimage -L to find
your scanner.

> What could be wrong ? What commands shall I check ? Seems the problem
> is not in newest “sane-backends”, but elsewhere in the system....

Can you check the version and configuration file content of your libsane
package?  Does that match with what you have on your system?  Does it
include the dll.conf, epson2.conf and expected canon configuration file
(pixma.conf, I think)?

  $ dpkg-query --show libsane
  $ dpkg-query --listfiles libsane | grep /etc/sane.d

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962               Help support software freedom
                 http://www.fsf.org/jf?referrer=1962



More information about the sane-devel mailing list