Server 20.04 - sane is not responding

David Fletcher dave at thefletchers.net
Sun May 24 11:31:20 UTC 2020


On Sat, 2020-05-23 at 16:52 +0200, Oliver Grawert wrote:
> hi,
> Am Samstag, den 23.05.2020, 15:15 +0100 schrieb David Fletcher:
> 
> > 
> > May 23 14:42:44 ServerIV saned[3707]:  * Starting SANE network
> > scanner
> > server saned
> > May 23 14:42:44 ServerIV saned[3729]: saned (AF-indep+IPv6) from
> > sane-backends 1.0.29 starting up
> > 
> ...
> > 
> > Something to do with ipv6 which I'm not using yet because Virgin
> > Media
> > is still in the last century?
> that just tells you about possible features saned can use i doubt
> your
> issue is actually ipv6 related ...
> 
> here is a basic troubleshooting guide to make sure the scanner is
> actually found locally on the server at all ...
> 
> https://wiki.debian.org/SaneOverNetwork#Troubleshooting
> 
OK, I'm taking a look at the troubleshooting page today. I get the
impression that it gives the tests to find out if it is working or not
but not solutions to it not working.

So, here goes:-

administrator at ServerIV:~$ lsusb
Bus 001 Device 008: ID 04b8:0112 Seiko Epson Corp. GT-9700F [Perfection
2450 PHOTO]
which is exactly what is etc....
administrator at ServerIV:~$ 


administrator at ServerIV:~$ sane-find-scanner
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied
(insufficient permissions) ..... X7
  # No USB scanners found. If you expected something different, make
sure that
  # you have loaded a kernel driver for your USB host controller and
have setup
  # the USB system correctly. See man sane-usb for details.
administrator at ServerIV:~$ 


administrator at ServerIV:~$ sudo -u saned sane-find-scanner
Same result.


administrator at ServerIV:~$ sudo sane-find-scanner
  # sane-find-scanner will now attempt to detect your scanner. If the
found USB scanner (vendor=0x04b8 [EPSON], product=0x0112 [EPSON
Scanner]) at libusb:001:008
found USB scanner (vendor=0x1a86, product=0x7523 [USB2.0-Serial]) at
libusb:001:010
  # Your USB scanner was (probably) detected. It may or may not be
supported by
  # SANE. Try scanimage -L and read the backend's manpage.
administrator at ServerIV:~$ 


If of relevance, entries from /etc/group mentioning sane:-
administrator at ServerIV:~$ cat /etc/group | grep sane
scanner:x:121:saned
saned:x:122:
administrator at ServerIV:~$ 


Digging further into the troubleshooting guide...
From https://wiki.debian.org/Scanner
"It is not necessary for a locally logged-in user to be in the scanner
group. Permissions on the scanner device are automatically taken care
of by the kernel and those on the USB bus are granted to a user by
udev, given that

libpam-systemd is installed.
There is, if required, an appropriate vendor *.rules file in
/etc/udev/rules.d or /lib/udev/rules.d."

administrator at ServerIV:~$ aptitude search libpam | grep "i "
i A libpam-cap - POSIX 1003.1e capabilities (PAM module)
i A libpam-modules - Pluggable Authentication Modules for PAM
i A libpam-modules-bin - Pluggable Authentication Modules for PAM -
helper binaries
i A libpam-runtime - Runtime support for the PAM library
i A libpam-systemd - system and service manager - PAM module
i A libpam0g - Pluggable Authentication Modules library
administrator at ServerIV:~$

administrator at ServerIV:~$ ls /etc/udev/rules.d
60-brother-libsane-type1-inst.rules  70-snap.snapd.rules
administrator at ServerIV:~$

administrator at ServerIV:~$ ls /lib/udev/rules.d
No mentions of Epson or scanner


I don't know where to go next. Please ask for any further information I
can supply.

Dave




More information about the ubuntu-users mailing list