Am 15.11.2012 17:01, schrieb Thomas Boll: > Hello Wilhelm, > > Thanks for the response and your great work on scanbd! > > I did not find out how to reply online, so I try it this way. > > Following the relevant part of my syslog you requested. Sounds like I > have privilege issues somewhere. > I will play around a bit while awaiting your response. Maybe I find out > what's going wrong. > Shame on me I did not check syslog earlier.
What I meant was the log output when the scanbd daemon starts via the upstart service or the start-script. But you can start the scanbd in foreground: scanbd -f Then wait a few seconds until it figures out what devices are connected. You should see something similar to (don't worry about the privileges at the moment): lmeier at h242-meier-x201:~/Software/scanbd/trunk$ ./scanbd -f ./scanbd: debug on: level: 7 ./scanbd: dropping privs to uid saned ./scanbd: dropping privs to gid lp ./scanbd: group lp has member: ./scanbd: lmeier ./scanbd: saned ./scanbd: drop privileges to gid: 7 ./scanbd: Can't set the effective gid to 7 ./scanbd: drop privileges to uid: 112 ./scanbd: Can't set the effective uid to 112 ./scanbd: dbus_init ./scanbd: sane version 1.0 ./scanbd: Scanning for local-only devices ./scanbd: found device: test:0 Noname frontend-tester virtual device ./scanbd: found device: test:1 Noname frontend-tester virtual device ./scanbd: found device: hpaio:/usb/HP_LaserJet_3055?serial=00CNSKM67789 Hewlett-Packard HP_LaserJet_3055 all-in-one ./scanbd: start_sane_threads ./scanbd: Starting poll thread for test:0 ./scanbd: Thread started for device test:0 ./scanbd: sane_poll ./scanbd: Starting poll thread for test:1 ./scanbd: found 52 options for device test:0 ./scanbd: sane_find_matching_options ./scanbd: Thread started for device test:1 ./scanbd: sane_poll ./scanbd: Starting poll thread for hpaio:/usb/HP_LaserJet_3055?serial=00CNSKM67789 ./scanbd: found 5 actions in section (null) ./scanbd: found 52 options for device test:1 ./scanbd: checking action scan with filter: ^scan.* ./scanbd: sane_find_matching_options ./scanbd: found 5 actions in section (null) ./scanbd: Thread started for device hpaio:/usb/HP_LaserJet_3055?serial=00CNSKM67789 ./scanbd: option[1] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: checking action scan with filter: ^scan.* ./scanbd: found active option[2] mode (type: 3) for device test:0 ./scanbd: start dbus thread ./scanbd: found active option[3] depth (type: 1) for device test:0 ./scanbd: found active option[4] hand-scanner (type: 0) for device test:0 ./scanbd: sane_poll ./scanbd: found active option[7] resolution (type: 2) for device test:0 ./scanbd: found active option[8] source (type: 3) for device test:0 ./scanbd: option[9] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[1] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: found active option[10] test-picture (type: 3) for device test:0 ./scanbd: Not Primary Owner (-1) ./scanbd: found active option[12] read-limit (type: 0) for device test:0 ./scanbd: found active option[2] mode (type: 3) for device test:1 ./scanbd: Name Error (Connection ":1.104" is not allowed to own the service "de.kmux.scanbd.server" due to security policies in the configuration file) ./scanbd: found active option[14] read-delay (type: 0) for device test:0 ./scanbd: found active option[3] depth (type: 1) for device test:1 ./scanbd: found active option[16] read-return-value (type: 3) for device test:0 ./scanbd: found active option[4] hand-scanner (type: 0) for device test:1 ./scanbd: found active option[17] ppl-loss (type: 1) for device test:0 ./scanbd: found active option[7] resolution (type: 2) for device test:1 ./scanbd: found active option[18] fuzzy-parameters (type: 0) for device test:0 ./scanbd: found active option[8] source (type: 3) for device test:1 ./scanbd: found active option[19] non-blocking (type: 0) for device test:0 ./scanbd: option[9] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: found active option[20] select-fd (type: 0) for device test:0 ./scanbd: found active option[10] test-picture (type: 3) for device test:1 ./scanbd: found active option[21] enable-test-options (type: 0) for device test:0 ./scanbd: found active option[12] read-limit (type: 0) for device test:1 ./scanbd: found active option[22] print-options (type: 4) for device test:0 ./scanbd: option[23] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: found active option[14] read-delay (type: 0) for device test:1 ./scanbd: found active option[24] tl-x (type: 2) for device test:0 ./scanbd: found active option[16] read-return-value (type: 3) for device test:1 ./scanbd: found active option[25] tl-y (type: 2) for device test:0 ./scanbd: found active option[17] ppl-loss (type: 1) for device test:1 ./scanbd: found active option[26] br-x (type: 2) for device test:0 ./scanbd: found active option[18] fuzzy-parameters (type: 0) for device test:1 ./scanbd: found active option[27] br-y (type: 2) for device test:0 ./scanbd: found active option[19] non-blocking (type: 0) for device test:1 ./scanbd: option[28] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: found active option[20] select-fd (type: 0) for device test:1 ./scanbd: option[35] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[42] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: found active option[21] enable-test-options (type: 0) for device test:1 ./scanbd: found active option[22] print-options (type: 4) for device test:1 ./scanbd: option[46] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[23] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[50] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: found active option[24] tl-x (type: 2) for device test:1 ./scanbd: checking action email with filter: ^email$ ./scanbd: found active option[25] tl-y (type: 2) for device test:1 ./scanbd: found active option[26] br-x (type: 2) for device test:1 ./scanbd: option[1] for device test:0 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: found active option[27] br-y (type: 2) for device test:1 ./scanbd: found active option[2] mode (type: 3) for device test:0 ./scanbd: found active option[3] depth (type: 1) for device test:0 ./scanbd: option[28] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[35] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[42] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[46] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: option[50] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping ./scanbd: checking action email with filter: ^email$ ./scanbd: option[1] for device test:1 not of type BOOL|INT|FIXED|STRING|BUTTON. Skipping > > Nov 15 16:34:48 spindel scanbd: scanbd: debug on: level: 7 > Nov 15 16:34:48 spindel scanbd: scanbd: Entering manager mode > Nov 15 16:34:48 spindel scanbd: scanbd: dbus signal saned-start > Nov 15 16:34:48 spindel scanbd: scanbd: dbus_init > Nov 15 16:34:48 spindel scanbd: scanbd: dbus match > type='signal',interface='org.freedesktop.Hal.Manager' > Nov 15 16:34:48 spindel scanbd: scanbd: now sending signal saned_begin > Nov 15 16:34:48 spindel scanbd: scanbd: manager mode: dbus > Nov 15 16:34:48 spindel scanbd: scanbd: calling dbus method: aquire > Nov 15 16:34:48 spindel scanbd: scanbd: dbus_call_method > Nov 15 16:34:48 spindel scanbd: scanbd: waiting for reply > Nov 15 16:34:48 spindel scanbd: scanbd: forking subprocess for saned > Nov 15 16:34:48 spindel scanbd: scanbd: waiting for saned > Nov 15 16:34:48 spindel scanbd: scanbd: Setting environment: > SANE_CONFIG_DIR=/usr/local/etc/scanbd > Nov 15 16:34:48 spindel saned[3226]: saned (AF-indep+IPv6) from > sane-backends 1.0.21 starting up > Nov 15 16:34:48 spindel saned[3226]: check_host: getpeername failed: > Socket operation on non-socket > Nov 15 16:34:48 spindel saned[3226]: init: access by host [error] denied > Nov 15 16:34:48 spindel saned[3226]: saned exiting > Nov 15 16:34:48 spindel scanbd: scanbd: saned exited with status: 0 > Nov 15 16:34:48 spindel scanbd: scanbd: calling dbus method: release > Nov 15 16:34:48 spindel scanbd: scanbd: dbus_call_method > Nov 15 16:34:48 spindel scanbd: scanbd: waiting for reply > Nov 15 16:34:48 spindel scanbd: scanbd: dbus signal saned-end > Nov 15 16:34:48 spindel scanbd: scanbd: now sending signal saned_end > > If you need anything else, just tell me. > > Regards, > Thomas -- Wilhelm