Failed to start saned.service: Unit saned.service is masked.

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

Failed to start saned.service: Unit saned.service is masked.

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

[PROBLEM]
Setting up a Raspberry Pi on Raspbian Jessie to act as a local network scanner server.
Following a tutorial by user "pi3g", I installed "xinetd" and "sane-utils".

Trying to start the "saned" service:
Code: Select all
$ service saned start

Returned the following error:
Failed to start saned.service: Unit saned.service is masked.


Running "sane-find-scanner" gives the following errors:
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x04b8, product=0x0898) at libusb:001:013
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x0424, product=0xec00) at libusb:001:003


I had the EPSON device connected through a USB-hub. Just to be sure that that wasn't the problem, I re-connected it directly: Didn't solve the problem.


[SOLUTION]
For some (yet unknown) reason, SANE can't automatically find out that the backend supporting this printer/scanner is "epson2".


Therefore, I added a line with "usb <vendor_id> <device_id>" to "/etc/sane.d/epson2.conf".
Here's what the edited file looks like:
scsi EPSON
# for the GT-6500:
#scsi "EPSON SC"

# Parallel port
#pio 0x278
#pio 0x378
#pio 0x3BC

# USB
usb
usb 0x04b8 0x0898

# For libusb support for unknown scanners use the following command
# usb <product ID> <device ID>
# e.g.:
# usb 0x4b8 0x110

# Network
#
# net 192.168.1.123
net autodiscovery


Now "scanimage -L" returns:
device `epson2:libusb:001:016' is a Epson PID 0898 flatbed scanner


Looks better :D
  • 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
^rooker
Site Admin
 
Posts: 1446
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

Return to Knowledge Base

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Google [Bot] and 33 guests

cron
Reputation System ©'