Raspian, SANE and EPSON XP-405 as network scanner

Step-by-Step descriptions of how to do things.

Raspian, SANE and EPSON XP-405 as network scanner

Postby ^rooker » Mon Nov 07, 2016 3:56 pm

1) Server side (Raspbian 7 Jessie):

USB device for printer/scanner has r/w for group "lp" by default:
crw-rw-r-- 1 root lp 189, 15 Nov 7 12:03 /dev/bus/usb/001/016

This is important, since xinetd must be told to run as group "lp" instead of "saned" or "scanner" in order to access the scanner device:
Code: Select all
service sane-port
    socket_type = stream
    server = /usr/sbin/saned
    protocol = tcp
    user = saned
    group = lp
    wait = no
    disable = no

2) Client side:
In my setup that is Xubuntu 12.04 (64bit).

All you need to do is add server name or IP address of the scanner server to "/etc/sane.d/net.conf".
I would also suggest to enable "connect_timeout" to avoid endless blocking of an application in case the scanner isn't found.

For example, if the server is called "myserver.home", then the net.conf would look like this:
Code: Select all
connect_timeout = 60

"Simple scan" utility doesn't seem to be able to handle network scanners, so I use "xsane" as scan client application.

That's all.
Have fun! :D


Work in progress...
To be continued.
  • 0

Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
Site Admin
Posts: 1446
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

Return to HowTo's

Who is online

Users browsing this forum: No registered users and 2 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: No registered users and 5 guests

Reputation System ©'