You are not logged in.
Pages: 1
I have an Epson Perfection 3170 scanner that I am trying to get to work under Arch. I installed the sane and xsane packages and xsane reports "no devices available". I tried downloading the driver for the Perfection 3170 from the Epson web site. They have both iscan-2.10.0-1.c2.i386.rpm and iscan_2.10.0-1.tar.gz available. I first tried compiling the code from the tar.gz package. The ./configure worked OK but the make quickly failed, complaining about some errors in a C function call. I next tried the .rpm file. I unpacked it using rpmextract.sh into a temporary directory and then copied the files to the appropriate system directories. This installed some new files such as /etc/sane.d/epkowa.conf, /usr/lib/sane/libsane-epkowa.so.1, etc. I added epkowa to /etc/sane.d/dll.conf and commented out epson and epson2. Still no luck.
lsusb returns:
Bus 001 Device 002: ID 04b8:0116 Seiko Epson Corp. GT-9400UF [Perfection 3170]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubsane-find-scanner returns:
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x04b8 [EPSON], product=0x0116 [EPSON Scanner]) at libusb:001:002
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.But, scanimage -L returns:
[cbailey@mainpc temp]$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).I reviewed various suggestions in https://wiki.archlinux.org/index.php/Sane
I tried "# gpasswd -a myusername scanner"
I looked in /lib/udev/rules.d/49-sane.rules. It already contained the lines:
# EPSON GT-9400UF | EPSON Perfection 3170 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0116", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"I tried adding this line to /etc/sane.d/epkowa.conf
usb 0x04b8 0x0116I tried removing all lines from /etc/sane.d/dll.conf except epkowa. Also tried just epson and epson2.
So far, nothing works. scanimage -L always returns "No scanners were identified."
Any suggestions?
Offline
Here is some more info. After reading lots of man pages related to SANE, I discovered that there are a few environment variables I can set to turn on to get some debugging info. Here is what I got after setting those variables and running "scanimage -L" again:
$ export SANE_DEBUG_DLL=128
$ export SANE_DEBUG_SANEI_USB=128
$ export SANE_DEBUG_EPKOWA=INFO
$ scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
[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 `epkowa'
[dll] sane_get_devices
[dll] load: searching backend `epkowa' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-epkowa.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-epkowa.so.1'
[dll] init: initializing backend `epkowa'
message.c:98: [epkowa]{I} setting message level to 'INFO' (8)
backend.c:152: [epkowa]{I} Image Scan! for Linux 2.29.3
backend.c:153: [epkowa]{I} version 1.0.213
backend.c:163: [epkowa][m] authorisation not supported
cfg-obj.c:618: [epkowa]{I} /usr/share/iscan-data/net: No such file or directory
cfg-obj.c:618: [epkowa]{I} /usr/share/iscan-data/pio: No such file or directory
cfg-obj.c:618: [epkowa]{I} /usr/share/iscan-data/scsi: No such file or directory
cfg-obj.c:618: [epkowa]{I} /usr/share/iscan-data/usb: No such file or directory
cfg-obj.c:618: [epkowa]{I} /usr/share/iscan-data/interpreter: No such file or directory
cfg-obj.c:618: [epkowa]{I} /usr/share/iscan-data/fs-blacklist: No such file or directory
cfg-obj.c:618: [epkowa]{I} /usr/share/iscan-data/option: No such file or directory
cfg-obj.c:618: [epkowa]{I} /usr/var/lib/iscan/interpreter: No such file or directory
cfg-obj.c:618: [epkowa]{I} ./epkowa.conf: No such file or directory
cfg-obj.c:626: [epkowa]{I} using '/etc/sane.d/epkowa.conf'
cfg-obj.c:371: [epkowa]{I} line: 'usb'
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
[sanei_usb] sanei_usb_init: initializing libusb-1.0
[sanei_usb] sanei_usb_init: Looking for libusb-1.0 devices
[sanei_usb] sanei_usb_init: found libusb-1.0 device (0x04b8/0x0116) interface 0 at libusb:003:003
[sanei_usb] store_device: add dn 0 with libusb:003:003
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
[sanei_usb] sanei_usb_init: skipping device 0x1d6b/0x0002 at 003:001: cannot open: Access denied (insufficient permissions)
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/001: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
[sanei_usb] sanei_usb_init: skipping device 0x1d6b/0x0001 at 005:001: cannot open: Access denied (insufficient permissions)
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/004/001: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
[sanei_usb] sanei_usb_init: skipping device 0x1d6b/0x0001 at 004:001: cannot open: Access denied (insufficient permissions)
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
[sanei_usb] sanei_usb_init: skipping device 0x1d6b/0x0001 at 002:001: cannot open: Access denied (insufficient permissions)
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
[sanei_usb] sanei_usb_init: skipping device 0x1d6b/0x0001 at 001:001: cannot open: Access denied (insufficient permissions)
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:003:003
[dll] init: backend `epkowa' is version 1.0.213
[dll] sane_get_devices: found 0 devices
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `epkowa's exit function
[dll] sane_exit: finishedFrom those messages I see that sanei_usb found the scanner:
[sanei_usb] sanei_usb_init: found libusb-1.0 device (0x04b8/0x0116) interface 0 at libusb:003:003
...
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:003:003but, then sane_dll reports
[dll] init: backend `epkowa' is version 1.0.213
[dll] sane_get_devices: found 0 devicesThe fact that sanei_usb found the scanner doesn't seem to get passed from sanei_usb -> epkowa -> sane_dll
I wonder if this message from epkowa has something to do with it?
backend.c:163: [epkowa][m] authorisation not supportedAny suggestions?
Offline
Another update...
I just found out about Vuescan and discovered that there is an AUR package to install it.
It works! (The trial version anyway. It costs a few $$ to get rid of the watermarks in the images.)
Apparently, it interfaces with the scanner directly and doesn't use SANE.
Offline
Pages: 1