Hello everyone, I was directed to this list from the sane irc channel. My apologies if this message is off topic:
I'm not getting scanbd 1.2.1 to work with a canon dr-2010c scanner, connected to an alix 6f2 board running debian squeeze. Here's what I have done so far: I built scanbd (on a different machine) according to the INSTALL file with $ USE_SANE=yes make -e clean all I copied the resulting binary to the target system in /usr/sbin and the configuration file to /etc/scanbd; ...copied scanbd_dbus.conf to /etc/dbus-1/system.d/ and restarted dbus ...installed the libconfuse0, libusb-0.1-4, libusb-1.0-0, libsane and libudev0 packages (not the -dev packages, since there is no space on the target system for the compiler that is installed as a dependency); ...copied canon_dr.conf, saned.conf and dll.conf from the sane configuration directory to /etc/scanbd. Added a netmask to /etc/scanbd/saned.conf and commented out the net backend in /etc/scanbd/dll.conf, and checked that the canon_dr backend was not commented out. Modified scanbd.conf to set SANE_CONFIG_DIR to /etc/scanbd (instead of /usr/local/etc/scanbd) The scanner is recognized by the kernel and by sane: --------------8<------------------ dmesg: [ 630.948077] usb 1-3: new high speed USB device using ehci_hcd and address 5 [ 631.089822] usb 1-3: New USB device found, idVendor=1083, idProduct=161b [ 631.096584] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 631.103808] usb 1-3: Product: CANON DR-2010C [ 631.109015] usb 1-3: Manufacturer: CANON root at vpnbox-f2-emmastr:/etc/scanbd# scanimage -L device `canon_dr:libusb:001:005' is a CANON DR-2010C scanner --------------8<------------------ However, scanbd won't find the scanner: --------------8<------------------ root at vpnbox-f2-emmastr:/etc/dbus-1/system.d# /usr/sbin/scanbd -df -c /etc/scanbd/scanbd.conf /usr/sbin/scanbd: debug on: level: 7 /usr/sbin/scanbd: dropping privs to uid saned /usr/sbin/scanbd: dropping privs to gid lp /usr/sbin/scanbd: drop privileges to gid: 7 /usr/sbin/scanbd: Running as effective gid 7 /usr/sbin/scanbd: drop privileges to uid: 111 /usr/sbin/scanbd: Running as effective uid 111 /usr/sbin/scanbd: dbus_init /usr/sbin/scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager' /usr/sbin/scanbd: sane version 1.0 /usr/sbin/scanbd: Scanning for local-only devices /usr/sbin/scanbd: start_sane_threads /usr/sbin/scanbd: start dbus thread /usr/sbin/scanbd: udev init /usr/sbin/scanbd: get udev monitor /usr/sbin/scanbd: start udev thread /usr/sbin/scanbd: timeout: 500 ms /usr/sbin/scanbd: Iteration on dbus call /usr/sbin/scanbd: udev thread started /usr/sbin/scanbd: Iteration on dbus call /usr/sbin/scanbd: Iteration on dbus call /usr/sbin/scanbd: Iteration on dbus call ^C/usr/sbin/scanbd: sig_term/int_handler called with signal 2 /usr/sbin/scanbd: stop_sane_threads /usr/sbin/scanbd: stop dbus thread /usr/sbin/scanbd: join dbus thread /usr/sbin/scanbd: stop udev thread /usr/sbin/scanbd: join udev thread /usr/sbin/scanbd: cleanup device handler /usr/sbin/scanbd: close udev monitor /usr/sbin/scanbd: close udev /usr/sbin/scanbd: exiting scanbd --------------8<------------------ Any ideas what I might do next to make it find the scanner? Thanks in advance! -- Rien