[sane-devel] sane + ubuntu 14.04 + Epson perfection 3170

Pierre LINDENBAUM plindenbaum at yahoo.fr
Mon Nov 17 17:38:04 UTC 2014




> This is not the location of the regularly installed libsane package.> You have installed something compiled from source as well.  This is

> often a source of problems.  Is there any particular reason you need
> to use this self-built version?


Guillaume suggested to install libsane from the git repo. I used the default options for ./configure that is --prefix=/usr/local
> If you end up using the dll backend from /usr/local/lib/sane/ it will

> in all likelihood *not* read the configuration in /etc/sane.d/. 


you're right ! I've added a debug message in '/etc/epson.conf'. Running iscan with some debug flags prints the message



(...)
[epson] sane_init, ># epson.conf<
[epson] sane_init, ># HELLO I'm IN /usr/local !<
(...)


I copied all '*.conf' from /usr/local/etc/sane.d/*.conf to /etc/sane.d


$ sudo scanimage  -L
device `epson:libusb:002:003' is a Epson  flatbed scanner

$ sudo sane-find-scanner  | grep USB
found USB scanner (vendor=0x04b8 [EPSON], product=0x0116 [EPSON Scanner]) at libusb:002:003
# Your USB scanner was (probably) detected. It may or may not be supported by



>From what I see iscan loads the latest libraries from /usr/local/lib

Still a problem: I've copied the full debug trace of iscan in: 


https://gist.github.com/lindenb/bc7b85f7a4bf71ff500f

please note that the trace contains some non-ascii chars (replaced here with '####' below :):

(...)
[epson] code   15
[epson] type     ####0x01
[epson] level    0x00
[epson] no option equipment installed
[epson] Unknown type  #####or level , using B3

(...)


> It is non-free in the sense that the source is not made available.


I see


Another comment: there is no /dev/usb , all is found under /dev/bus/usb 


$ ls -la /dev/bus/usb/002/
total 0
drwxr-xr-x 2 root root       80 Nov 17 17:52 .
drwxr-xr-x 9 root root      180 Nov 17 17:52 ..
crw-rw-r-- 1 root root 189, 128 Nov 17 18:34 001
crw-rw-r-- 1 root root 189, 130 Nov 17 18:34 003



thank you for your help.

Pierre



More information about the sane-devel mailing list