<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
my LiDE60 is working well, either directly using scanimage with
scanbd not running, as "genesys:libusb:001:016" or with running
scanbd using xinetd as <a class="moz-txt-link-rfc2396E"
href="net:localhost:genesys:libusb:001:016">"net:localhost:genesys:libusb:001:016"</a>.<br>
However, none of the four buttons seem to be recognized:<br>
<br>
<p><font face="Courier">root@gandroid:/usr/local/etc/scanbd# scanbd
-f -d7<br>
scanbd: reading config file /usr/local/etc/scanbd/scanbd.conf<br>
scanbd: debug on: level: 7<br>
scanbd: dropping privs to uid saned<br>
scanbd: dropping privs to gid scanner<br>
scanbd: group scanner has member: <br>
scanbd: saned<br>
scanbd: drop privileges to gid: 121<br>
scanbd: Running as effective gid 121<br>
scanbd: drop privileges to uid: 120<br>
scanbd: Running as effective uid 120<br>
scanbd: dbus_init<br>
scanbd: dbus match
type='signal',interface='org.freedesktop.Hal.Manager'<br>
scanbd: SANE_CONFIG_DIR=/usr/local/etc/scanbd<br>
scanbd: sane version 1.0<br>
scanbd: Scanning for local-only devices<br>
scanbd: found device: genesys:libusb:001:016 Canon LiDE 60
flatbed scanner<br>
scanbd: start_sane_threads<br>
scanbd: Starting poll thread for genesys:libusb:001:016<br>
scanbd: Thread started for device genesys:libusb:001:016<br>
scanbd: sane_poll<br>
scanbd: start dbus thread<br>
scanbd: udev init<br>
scanbd: get udev monitor<br>
scanbd: udev fd is non-blocking, now setting to blocking mode<br>
scanbd: start udev thread<br>
scanbd: udev thread started<br>
scanbd: timeout: 500 ms<br>
scanbd: Iteration on dbus call<br>
scanbd: Iteration on dbus call<br>
scanbd: found 49 options for device genesys:libusb:001:016<br>
scanbd: sane_find_matching_options<br>
scanbd: found 5 actions in section (null)<br>
scanbd: checking action scan with filter: ^scan.*<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: checking action email with filter: ^email$<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: checking action copy with filter: ^copy$<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: checking action preview with filter: ^preview$<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: installing action preview (0) for
genesys:libusb:001:016, option[4]: preview as: test.script<br>
scanbd: multiple actions allowed<br>
scanbd: get_sane_option_value<br>
scanbd: Initial value of option preview is 0<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: checking action globaltest with filter: ^message.*<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: sane_find_matching_functions<br>
scanbd: found 2 functions in section (null)<br>
scanbd: checking function function_knob with filter: ^message.*<br>
scanbd: option[1] has no name<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: option[3] is not active<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: option[7] has no name<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: option[12] has no name<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: option[14] is not active<br>
scanbd: option[15] is not active<br>
scanbd: option[16] is not active<br>
scanbd: option[17] is not active<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: option[26] has no name<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: option[36] has no name<br>
scanbd: option[37] is not active<br>
scanbd: option[38] is not active<br>
scanbd: option[39] is not active<br>
scanbd: option[40] is not active<br>
scanbd: option[41] is not active<br>
scanbd: option[42] is not active<br>
scanbd: option[43] is not active<br>
scanbd: option[44] is not active<br>
scanbd: option[45] is not active<br>
scanbd: option[46] has no name<br>
scanbd: option[47] is not active<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: checking function function_mode with filter: ^mode.*<br>
scanbd: option[1] has no name<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: installing function function_mode for
genesys:libusb:001:016, option[2]: mode as env:
SCANBD_FUNCTION_MODE<br>
scanbd: option[3] is not active<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: option[7] has no name<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: option[12] has no name<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: option[14] is not active<br>
scanbd: option[15] is not active<br>
scanbd: option[16] is not active<br>
scanbd: option[17] is not active<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: option[26] has no name<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: option[36] has no name<br>
scanbd: option[37] is not active<br>
scanbd: option[38] is not active<br>
scanbd: option[39] is not active<br>
scanbd: option[40] is not active<br>
scanbd: option[41] is not active<br>
scanbd: option[42] is not active<br>
scanbd: option[43] is not active<br>
scanbd: option[44] is not active<br>
scanbd: option[45] is not active<br>
scanbd: option[46] has no name<br>
scanbd: option[47] is not active<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: found 6 local device sections<br>
scanbd: checking device section avision with filter: ^avision.*<br>
scanbd: checking device section fujitsu with filter: ^fujitsu.*<br>
scanbd: checking device section hp with filter: ^hpaio.*<br>
scanbd: checking device section pixma with filter: ^pixma.*<br>
scanbd: checking device section snapscan with filter:
(.*snapscan.*|.*Perfection.*)<br>
scanbd: checking device section canon with filter: ^genesys.*<br>
scanbd: found 1 local action for device genesys:libusb:001:016
[canon]<br>
scanbd: sane_find_matching_options<br>
scanbd: found 1 actions in section canon<br>
scanbd: checking action file with filter: ^file.*<br>
scanbd: found active option[2] mode (type: 3) for device
genesys:libusb:001:016<br>
scanbd: found active option[4] preview (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[5] depth (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[6] resolution (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[8] tl-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[9] tl-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[10] br-x (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[11] br-y (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[13] custom-gamma (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[18] swdeskew (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[19] swcrop (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[20] swdespeck (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[21] despeck (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[22] swskip (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[23] swderotate (type: 0) for device
genesys:libusb:001:016<br>
scanbd: found active option[24] brightness (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[25] contrast (type: 1) for device
genesys:libusb:001:016<br>
scanbd: found active option[27] lamp-off-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[28] lamp-off-scan (type: 0) for
device genesys:libusb:001:016<br>
scanbd: found active option[29] threshold (type: 2) for device
genesys:libusb:001:016<br>
scanbd: found active option[30] threshold-curve (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[31] disable-dynamic-lineart (type:
0) for device genesys:libusb:001:016<br>
scanbd: found active option[32] disable-interpolation (type: 0)
for device genesys:libusb:001:016<br>
scanbd: found active option[33] color-filter (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[34] calibration-file (type: 3) for
device genesys:libusb:001:016<br>
scanbd: found active option[35] expiration-time (type: 1) for
device genesys:libusb:001:016<br>
scanbd: found active option[48] clear-calibration (type: 4) for
device genesys:libusb:001:016<br>
scanbd: sane_find_matching_functions<br>
scanbd: no matching functions in section canon<br>
scanbd: timeout: 500 ms<br>
scanbd: Start the polling for device genesys:libusb:001:016<br>
scanbd: polling thread for genesys:libusb:001:016, before
cancellation point<br>
scanbd: polling thread for genesys:libusb:001:016, after
cancellation point<br>
scanbd: polling device genesys:libusb:001:016<br>
scanbd: get_sane_option_value<br>
scanbd: checking option preview number 4 (0) for device
genesys:libusb:001:016: value: 0<br>
scanbd: polling thread for genesys:libusb:001:016, before
cancellation point<br>
scanbd: polling thread for genesys:libusb:001:016, after
cancellation point<br>
scanbd: polling device genesys:libusb:001:016<br>
scanbd: get_sane_option_value<br>
scanbd: checking option preview number 4 (0) for device
genesys:libusb:001:016: value: 0<br>
scanbd: Iteration on dbus call<br>
scanbd: polling thread for genesys:libusb:001:016, before
cancellation point<br>
scanbd: polling thread for genesys:libusb:001:016, after
cancellation point<br>
scanbd: polling device genesys:libusb:001:016<br>
scanbd: get_sane_option_value<br>
scanbd: checking option preview number 4 (0) for device
genesys:libusb:001:016: value: 0<br>
scanbd: polling thread for genesys:libusb:001:016, before
cancellation point<br>
scanbd: polling thread for genesys:libusb:001:016, after
cancellation point<br>
scanbd: polling device genesys:libusb:001:016<br>
scanbd: get_sane_option_value<br>
scanbd: checking option preview number 4 (0) for device
genesys:libusb:001:016: value: 0<br>
scanbd: Iteration on dbus call<br>
scanbd: polling thread for genesys:libusb:001:016, before
cancellation point<br>
scanbd: polling thread for genesys:libusb:001:016, after
cancellation point<br>
scanbd: polling device genesys:libusb:001:016<br>
scanbd: get_sane_option_value<br>
scanbd: checking option preview number 4 (0) for device
genesys:libusb:001:016: value: 0<br>
scanbd: polling thread for genesys:libusb:001:016, before
cancellation point<br>
scanbd: polling thread for genesys:libusb:001:016, after
cancellation point<br>
scanbd: polling device genesys:libusb:001:016<br>
scanbd: get_sane_option_value<br>
scanbd: checking option preview number 4 (0) for device
genesys:libusb:001:016: value: 0<br>
scanbd: Iteration on dbus call<br>
scanbd: polling thread for genesys:libusb:001:016, before
cancellation point<br>
scanbd: polling thread for genesys:libusb:001:016, after
cancellation point<br>
scanbd: polling device genesys:libusb:001:016<br>
scanbd: get_sane_option_value<br>
</font></p>
<p><br>
</p>
<p>My scanbd.conf:</p>
<p><font face="Courier New, Courier, monospace">/*<br>
* $Id: scanbd.conf 237 2017-04-05 05:46:59Z wimalopaan $<br>
*<br>
* scanbd - KMUX scanner button daemon<br>
*<br>
* Copyright (C) 2008 - 2016 Wilhelm Meier (<a
class="moz-txt-link-abbreviated"
href="mailto:wilhelm.meier@fh-kl.de">wilhelm.meier@fh-kl.de</a>)<br>
*<br>
* This program is free software; you can redistribute it
and/or modify<br>
* it under the terms of the GNU General Public License as
published by<br>
* the Free Software Foundation; either version 2 of the
License, or<br>
* (at your option) any later version.<br>
*<br>
* This program is distributed in the hope that it will be
useful,<br>
* but WITHOUT ANY WARRANTY; without even the implied warranty
of<br>
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
the<br>
* GNU General Public License for more details.<br>
*<br>
* You should have received a copy of the GNU General Public
License<br>
* along with this program; if not, write to the Free Software<br>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.<br>
*/<br>
<br>
<br>
# global settings<br>
global {<br>
# turn on debugging<br>
<br>
# log to console<br>
debug = true <br>
<br>
# debug logging<br>
# 1=error, 2=warn, 3=info, 4-7=debug<br>
debug-level = 7<br>
<br>
# drop priviliges to this user<br>
#=============================<br>
# Linux (most distributions use the saned user):<br>
# user = saned<br>
# ArchLinux (ArchLinux doesn't have saned user)<br>
# user = daemon<br>
# *BSD<br>
# user = root<br>
user = saned<br>
<br>
# Group to be used<br>
#=================<br>
# Linux (most distributions use the lp group to access
scanners)<br>
# group = lp<br>
# ArchLinux (ArchLinux uses the scanner group)<br>
# group = scanner<br>
#<br>
# *BSD (no group lp here, use daemon instead)<br>
# group = daemon # root<br>
#<br>
#group = lp<br>
group = scanner<br>
<br>
# the saned executable for manager-mode<br>
saned = "/usr/sbin/saned"<br>
saned_opt = {} # string-list<br>
saned_env = { "SANE_CONFIG_DIR=/etc/scanbd" } # list of
environment vars for saned<br>
<br>
# Scriptdir specifies where scanbd normally looks for
scripts.<br>
# The scriptdir option can be defined as: <br>
# - a path relative to the configuations
(<path>/etc/scanbd) directory<br>
# - an abosolute path<br>
# Examples:<br>
# scriptdir = scripts <br>
# sets scriptdir to <path>/etc/scanbd/scripts.<br>
# scriptdir = /some/path<br>
# sets scriptdir to the specified absolute path<br>
# Default scriptdir is <path>/etc/scanbd, this is
normally appropriate<br>
scriptdir = /etc/scanbd/scripts<br>
<br>
# Scripts to execute upon device insertion/removal.<br>
# It can be necessary to load firmware into the device
when it is first<br>
# inserted. For example, scanbuttond backend does not
know how to load <br>
# scanner firmware, and it can be rectified by making a
custom script.<br>
# A simple command like "scanimage -L" in an example
insert.script <br>
# invokes saned and it loads the appropriate firmware if
necessary.<br>
# These scripts receive environmental variables named in
the "environment" subsection:<br>
# SCANBD_DEVICE - device name (fixed string "dbus
device" for dbus notification)<br>
# SCANBD_ACTION - "insert" or "remove", so one script
can be used.<br>
# device_insert_script = "insert.script"<br>
# device_remove_script =<br>
<br>
# scanbuttond_backends_dir sets the path where scanbd
looks for the scanbuttond backends <br>
# It can be defined as relative path, starting from the
scanbd config directory or<br>
# as an absolute path<br>
# Default is <libdir>/scanbd/scanbutond/backends<br>
# Example<br>
# scanbuttond_backends_dir =
"/usr/local/lib/scanbd/scanbuttond/backends"<br>
<br>
# poll timeout in [ms]<br>
# (for polling the devices)<br>
timeout = 500 <br>
<br>
pidfile = "/var/run/scanbd.pid"<br>
<br>
# env-vars for the scripts<br>
environment {<br>
# pass the device label as below in this env-var<br>
device = "SCANBD_DEVICE"<br>
# pass the action label as below in this env-var<br>
action = "SCANBD_ACTION"<br>
}<br>
<br>
# function definitions<br>
# values of the options are simply passed via env-vars<br>
<br>
function function_knob {<br>
filter = "^message.*"<br>
desc = "The value of the function knob / wheel
/ selector"<br>
env = "SCANBD_FUNCTION" <br>
}<br>
function function_mode {<br>
filter = "^mode.*"<br>
desc = "Color mode"<br>
env = "SCANBD_FUNCTION_MODE" <br>
}<br>
<br>
multiple_actions = true # allow multiple actions per
option (up to the total amount of options)<br>
<br>
# action definitions<br>
# if the filter matches and the value changes <br>
# from from-value to to-value,<br>
# <script> is executed<br>
# <script> is the full pathname (do not include
any parameters)<br>
# if parameters are needed, write a script<br>
<br>
# since we can have only at most one action for each
option, the action-script<br>
# can use the function definition (see above) to
distinguish different tasks <br>
# (e.g. use the env-var SCANBD_FUNCTION defined above)<br>
<br>
action scan {<br>
filter = "^scan.*"<br>
numerical-trigger {<br>
from-value = 1<br>
to-value = 0<br>
}<br>
desc = "Scan to file"<br>
# script must be an relative path starting from
scriptdir (see above), <br>
# or an absolute pathname. <br>
# It must contain the path to the action script
without arguments<br>
# Absolute path example: script =
"/some/path/foo.script <br>
script = "test.script"<br>
}<br>
action email {<br>
filter = "^email$"<br>
string-trigger {<br>
from-value = "" <br>
to-value = "^email.*"<br>
}<br>
desc = "Scan to email"<br>
# script must be an relative path starting from
scriptdir (see above), <br>
# or an absolute pathname. <br>
# It must contain the path to the action script
without arguments<br>
# Absolute path example: script =
"/some/path/foo.script <br>
script = "test.script"<br>
}<br>
action copy {<br>
filter = "^copy$"<br>
string-trigger {<br>
from-value = ""<br>
to-value = "^copy.*"<br>
}<br>
desc = "Copy to printer"<br>
# script must be an relative path starting from
scriptdir (see above), <br>
# or an absolute pathname. <br>
# It must contain the path to the action script
without arguments<br>
# Absolute path example: script =
"/some/path/foo.script <br>
script = "test.script"<br>
}<br>
action preview {<br>
filter = "^preview$"<br>
numerical-trigger {<br>
from-value = 1<br>
to-value = 0<br>
}<br>
desc = "Preview"<br>
# script must be an relative path starting from
scriptdir (see above), <br>
# or an absolute pathname. <br>
# It must contain the path to the action script
without arguments<br>
# Absolute path example: script =
"/some/path/foo.script <br>
script = "test.script"<br>
}<br>
action globaltest {<br>
filter = "^message.*"<br>
desc = "Test (print all env vars)"<br>
# script must be an relative path starting from
scriptdir (see above), <br>
# or an absolute pathname. <br>
# It must contain the path to the action script
without arguments<br>
# Absolute path example: script =
"/some/path/foo.script <br>
script = "test.script"<br>
}<br>
}<br>
<br>
# include<br>
# include another file at this point. This may only occur
outside general and devices blocks.<br>
# an include statement may be relative to the direcory where
scanbd.conf is located or absolute<br>
# include("scanner.d/myscanner.conf")<br>
# include("/my/long/path/myscanner.conf")<br>
<br>
# devices <br>
# each device can have actions and functions, you can disable
not relevant devices<br>
include(scanner.d/avision.conf)<br>
include(scanner.d/fujitsu.conf)<br>
include(scanner.d/hp.conf)<br>
include(scanner.d/pixma.conf)<br>
include(scanner.d/snapscan.conf)<br>
include(scanner.d/canon.conf)<br>
#include(scanner.d/plustek.conf)</font><br>
</p>
<p><br>
</p>
<p>I also commented out the include statements for the devices,
tested different sections for the options such as "preview", tried
the default Ubuntu-Package for 16.04 as well as the newest version
1.5.0 of scanbd.</p>
<p>Syslog contains essentially the same output as scanbd -f -d7, no
events registered at all on button press. Scanimage -A also gave
no evidence for the presence of scanner buttons.<br>
</p>
<p>For me it seems that the problem might be the scanner button
options not being recognized, strangely there are options "with no
name" ?!<br>
</p>
<p>Thanks very much for any hint !</p>
<p><br>
</p>
<p>Regards,</p>
<p><br>
</p>
<p> Florian<br>
</p>
</body>
</html>