I have had a similar problem, however I use a different distribution, but I
offer this advice if it is helpful:
I recommend creating two files in /etc/systemd/system/ as recommended in the
documentation (man saned)
Here is a copy:
SYSTEMD CONFIGURATION
for systemd we need to add 2 configuation files in /etc/systemd/system.
The first file we need to add here is called saned.socket. It shall
have the following contents:
[Unit]
Description=saned incoming socket
[Socket]
ListenStream=6566
Accept=yes
MaxConnections=1
[Install]
WantedBy=sockets.target
The second file to be added is [email protected] with the following con‐
tents:
[Unit]
Description=Scanner Service
Requires=saned.socket
[Service]
ExecStart=/usr/sbin/saned
User=saned
Group=saned
StandardInput=null
StandardOutput=syslog
StandardError=syslog
# Environment=SANE_CONFIG_DIR=/etc/sane.d SANE_DEBUG_DLL=255
Is you need to set an environment variable for saned like SANE_CON‐
FIG_DIR you will have to remove the # on the last line and set the
variable appropriately. Multiple variables can be set by separating
the assignments by spaces as shown in the example above.
I can confirm this solved my problem, and I believe it is due to
changing over to systemd from the old start up scripts. You can also
run this check if you want to, before creating the files:
Open xsane, simple-scan, or hp-scan and let it hang..
Open a terminal session and log in as root
Run "saned' manually
You will notice that the hung app springs to life and everything is so
happy.. this will confirm the need to get systemd working. In the old
system it would start automatically, but now as I understand it only
runs when you ask for it... that is if it knows what you are saying...
and that is what the two files are for.
If someone else can confirm this fix, it would be valuable, and then the
logical step would be to file a bug request to have these files included
into some package to prevent this broken by default kind of behavior.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242092
Title:
xsane hangs up while scanning for devices
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/1242092/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs