Re: epson L210 scan
On Wed 13 Jul 2016 at 12:40:58 +0200, Pavel Kosina wrote:
> Brian napsal(a) dne 13.7.2016 v 12:08:
> >ls -l /dev/sg*
> crw-rw---- 1 root disk 21, 0 čec 13 12:32 /dev/sg0
Not what was expected. Mine is
crw-rw---- 1 root disk 21, 0 Jul 13 13:31 /dev/sg0
crw-rw----+ 1 root cdrom 21, 1 Jul 13 13:31 /dev/sg1
crw-rw---- 1 root disk 21, 2 Jul 13 13:31 /dev/sg2
crw-rw---- 1 root disk 21, 3 Jul 13 13:31 /dev/sg3
crw-rw---- 1 root disk 21, 4 Jul 13 13:31 /dev/sg4
crw-rw---- 1 root disk 21, 5 Jul 13 13:31 /dev/sg5
crw-rw---- 1 root disk 21, 6 Jul 13 13:31 /dev/sg6
The second line is the one to look at. The "+" indicates an ACL (Access
Control List). 'getfacl /dev/sg1' tells me I am on the list and can use
the scanner. Systemd does this from an active session; loginctl tells me
whether I have one.
Anyway, permissions are not your problem. sane-find-scanner accessed the
device when being run by a user.
On to Plan C.
1. In the software you have from Epson (iscan-bundle) there is a .deb in
the "core" directory. Open up the .deb (I use mc for that) and copy
the following files to your machine.
/etc/sane.d/dll.d/iscan to /etc/sane.d/dll.d/
/etc/sane.d/epkowa.conf to /etc/sane.d/
/usr/lib/sane to /usr/lib
2. The "data" directory has iscan-data. 'mkdir /usr/share/iscan-data'
on your machine and copy /usr/share/iscan-data/usb to it.
3. Have /etc/sane.d/dll.conf with the single line
epkowa
All the files are under a free license, if it matters to you.
Reply to: