<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19393"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>Arch Linux Arm is
not quite debian. I may have run into a permissions issue with
libsub.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>Version 1.2.1
installed fine:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>
USE_SANE=yes make -e clean all<BR> USE_SANE=yes make
install</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>As far as I can tell
the scanbd configuration is set (required *.conf and locations) with user
= saned and group = scanner.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>scanimage -L works
as user root and user saned (member of scanner):</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>
device `net:localhost:genesys:libusb:001:008' is a Canon LiDE 210 flatbed
scanner</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>As user root,
/usr/local/bin/scanbd -df -c /usr/local/etc/scanbd/scanbd.conf works great
(remote scanning and buttons).</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>As user saned it
does not find the scanner:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>/usr/local/bin/scanbd: debug on: level:
7<BR>/usr/local/bin/scanbd: dropping privs to uid
saned<BR>/usr/local/bin/scanbd: dropping privs to gid
scanner<BR>/usr/local/bin/scanbd: group scanner has
member:<BR>/usr/local/bin/scanbd: saned<BR>/usr/local/bin/scanbd: drop
privileges to gid: 96<BR>/usr/local/bin/scanbd: Running as effective gid
96<BR>/usr/local/bin/scanbd: drop privileges to uid:
1001<BR>/usr/local/bin/scanbd: Running as effective uid
1001<BR>/usr/local/bin/scanbd: dbus_init<BR>/usr/local/bin/scanbd: dbus match
type='signal',interface='org.freedesktop.Hal.Manager'<BR>/usr/local/bin/scanbd:
sane version 1.0<BR>/usr/local/bin/scanbd: Scanning for local-only
devices<BR>/usr/local/bin/scanbd: start_sane_threads<BR>/usr/local/bin/scanbd:
start dbus thread<BR>/usr/local/bin/scanbd: udev init<BR>/usr/local/bin/scanbd:
get udev monitor<BR>/usr/local/bin/scanbd: udev fd is non-blocking, now setting
to blocking mode<BR>/usr/local/bin/scanbd: start udev
thread<BR>/usr/local/bin/scanbd: udev thread started<BR>/usr/local/bin/scanbd:
timeout: 500 ms<BR>/usr/local/bin/scanbd: Iteration on dbus
call<BR>/usr/local/bin/scanbd: Iteration on dbus call</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>repeat<BR></SPAN></FONT><FONT size=2 face=Arial><SPAN
class=250263613-24122012></DIV></SPAN></FONT>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>Grepping on
"Scanning for local-only devices" --> sane.c --> void
get_sane_devices(void)</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>Arch Linux Arm has
recently shifted to systemd. Run as a service it behaves like
user saned, not root.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>=================</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>[Unit]<BR>Description=Scan Button
Deamon<BR>After=network.target</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>[Service]<BR>Type=simple<BR>User=root<BR>Group=root<BR>WorkingDirectory=/usr/local/etc/scanbd<BR>ExecStart=/usr/local/bin/scanbd
-df -c
/usr/local/etc/scanbd/scanbd.conf<BR>RemainAfterExit=yes</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>[Install]<BR>WantedBy=multi-user.target<BR>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>=================</SPAN></FONT></DIV></SPAN></FONT><FONT
size=2 face=Arial><SPAN class=250263613-24122012></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012> </DIV></SPAN></FONT>
<DIV><FONT size=2 face=Arial><SPAN class=250263613-24122012>What is your read on
this.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>R/</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012>Michael</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=250263613-24122012></SPAN></FONT> </DIV></BODY></HTML>