Arch Linux Arm is not quite debian. I may have run into a permissions issue with libsub. Version 1.2.1 installed fine: USE_SANE=yes make -e clean all USE_SANE=yes make install As far as I can tell the scanbd configuration is set (required *.conf and locations) with user = saned and group = scanner. scanimage -L works as user root and user saned (member of scanner): device `net:localhost:genesys:libusb:001:008' is a Canon LiDE 210 flatbed scanner As user root, /usr/local/bin/scanbd -df -c /usr/local/etc/scanbd/scanbd.conf works great (remote scanning and buttons). As user saned it does not find the scanner: /usr/local/bin/scanbd: debug on: level: 7 /usr/local/bin/scanbd: dropping privs to uid saned /usr/local/bin/scanbd: dropping privs to gid scanner /usr/local/bin/scanbd: group scanner has member: /usr/local/bin/scanbd: saned /usr/local/bin/scanbd: drop privileges to gid: 96 /usr/local/bin/scanbd: Running as effective gid 96 /usr/local/bin/scanbd: drop privileges to uid: 1001 /usr/local/bin/scanbd: Running as effective uid 1001 /usr/local/bin/scanbd: dbus_init /usr/local/bin/scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager' /usr/local/bin/scanbd: sane version 1.0 /usr/local/bin/scanbd: Scanning for local-only devices /usr/local/bin/scanbd: start_sane_threads /usr/local/bin/scanbd: start dbus thread /usr/local/bin/scanbd: udev init /usr/local/bin/scanbd: get udev monitor /usr/local/bin/scanbd: udev fd is non-blocking, now setting to blocking mode /usr/local/bin/scanbd: start udev thread /usr/local/bin/scanbd: udev thread started /usr/local/bin/scanbd: timeout: 500 ms /usr/local/bin/scanbd: Iteration on dbus call /usr/local/bin/scanbd: Iteration on dbus call repeat
Grepping on "Scanning for local-only devices" --> sane.c --> void get_sane_devices(void) Arch Linux Arm has recently shifted to systemd. Run as a service it behaves like user saned, not root. ================= [Unit] Description=Scan Button Deamon After=network.target [Service] Type=simple User=root Group=root WorkingDirectory=/usr/local/etc/scanbd ExecStart=/usr/local/bin/scanbd -df -c /usr/local/etc/scanbd/scanbd.conf RemainAfterExit=yes [Install] WantedBy=multi-user.target ================= What is your read on this. R/ Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121224/20fcaacd/attachment.html>