I have installed sane backend on my SME server in order to share my scanner ( an old but very good Agfa Snapscan 1212U with my laptop.
I've got several difficulties to have it working totally :
- when I was disconnecting / powering off the scanner it was no more working
- seems that sane was stopping after several hours, and then it was no more possible to have access to the scanner
Browsing accross the web, I have discovered that for some scanners, there may have some access rights problems to usb scanners.
My problem was there : the smeserver-sane contrib use by default a user for sane service that is saned / group saned. However this user don't have corrects rights on my usb scanner. If changing it to root / root, all these problems seems to disappear. I have not extensively tested but seems to be far better.
I imagine that using root user is not a good idea regarding to security, but I didn't find another solution at that time.
For those people who have a similar problem, try to modify file :
pico /etc/e-smith/templates/etc/xinetd.conf/20sane-port
Then modify user and group name to 'root' :
service sane-port
{
port = 6566
socket_type = stream
protocol = tcp
user = root
group = root
wait = no
server = /usr/sbin/saned
}
and type following command :
/sbin/e-smith/expand-template /etc/xinetd.conf
I will be happy if this can help someone in the same situation...