Now it’s time to configure the saned daemon. Just to be sure that users other than root can access the scanner, run scanimage -L as the non-root user you previously added to the scanner group after you reboot the output should be the same as before. If your distribution uses static device nodes, take a look at SANE’s README.linux file for more information on how to manually fix permissions and allow non-root users to access the scanner. You can avoid rebooting and manually restart the udev daemon, but that’s not very easy, so it’s better to reboot. To verify that your system uses UDEV, check for the presence of the directory /dev/.udev and see whether the udevd process is running with the command ps aux | grep udevd. If your Linux distribution uses UDEV for device node management - as most modern distributions do - you should reboot to ensure that the new udev rules for SANE are loaded and that you’re able to scan as a non-root user. If ! id saned then groupadd saned useradd -g saned -G scanner -s /bin/false -d /dev/null saned fiĪdd your non-root user to the scanner group with the command usermod -a -G username scanner. If the saned user is not added by the package of your distribution, add it manually with the command: While you could run saned, the scanning daemon, as root, it’s better to run it as a less privileged user, saned, instead, to improve security. The output of this command should look something like the following:ĭevice `plustek:libusb:001:003' is a Epson Perfection 1260/Photo USB flatbed scanner When the installation is done, check that your scanner is detected by running scanimage -L as root. Documentation is provided in the source tarball. If you prefer building from source, it’s a trivial. In Debian and Ubuntu the package is called sane-utils Slackware and Arch simply name it sane. Packages and ports are available for most Linux and BSD distributions. We won’t use this package, because we can use one of the more advanced front ends for SANE more on that later.īegin by installing the sane-backends package. The frontends package contains graphical and CLI-based front ends for the scanning process. You’ll want to install this package on both the server and the clients. The backends package includes scanner drivers and command-line interface (CLI) utilities for using the scanner. SANE consists of two packages, sane-backends and sane-frontends. If your scanner is listed, most of the job is already done. ![]() Check the project’s list of supported devices. Start with SANE (Scanning Access Now Easy), the scanning suite for Linux and other Unix-like systems. Save the money additional scanners would cost by sharing your scanner on your LAN. After hours of research and tweaking, all your computers are connected to each other and the Internet, and you can print your documents on a printer connected to another system - but you still must take a break when someone else wants to use the scanner connected to your system.
0 Comments
Leave a Reply. |