Server 20.04 - sane is not responding

Oliver Grawert ogra at ubuntu.com
Sun May 24 12:13:16 UTC 2020


hi,
Am Sonntag, den 24.05.2020, 12:31 +0100 schrieb David Fletcher:
> 
> 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:~$ 

this is good, so your kernel and libusb know the scanner ...


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

rather try:

$ grep 04b8 /lib/udev/rules.d/*

"048d" is the vendor id of epson, if there are any epson related udev
entries they should show up ...

to make the device known to libsane you should be able to create your
own udev rule like (in one line, mind the 80 char email wrap ...):


ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0112",
ENV{libsane_matched}="yes"

name it something like:

/lib/udev/rules.d/40-libsane-epson.rules

groups and such should play a less important rule in ubuntu.
USB devices mostly use udev-acl for permissions anyway. anything
accessing usb devices via libusb (which libsane should do) should get
access ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200524/1c563792/attachment.sig>


More information about the ubuntu-users mailing list