Hi again,
Am 11.11.2011 17:46, schrieb Florian Litzinger:
Hello,
it's working like a charm now.
good to hear!
Thank you for this great piece of software!
If you have any suggestions don't hesitate.
Best Regards
Florian
Am 11.11.2011 11:25, schrieb Wilhelm:
Am 11.11.2011 11:02, schrieb Florian Litzinger:
Hello,
I've attached the log file.
ok, looks fine.
The scanner is recognized an several options and buttons are found, e.g.
these
/usr/local/bin/scanbd: found active option[23] button-copy (type: 0) for
device rts8891:libusb:/dev/usb:/dev/ugen4.2
/usr/local/bin/scanbd: found active option[24] button-mail (type: 0) for
device rts8891:libusb:/dev/usb:/dev/ugen4.2
/usr/local/bin/scanbd: found active option[25] button-image-copy (type:
0) for device rts8891:libusb:/dev/usb:/dev/ugen4.2
/usr/local/bin/scanbd: found active option[26] button-www (type: 0) for
device rts8891:libusb:/dev/usb:/dev/ugen4.2
/usr/local/bin/scanbd: found active option[27] button-scan (type: 0) for
device rts8891:libusb:/dev/usb:/dev/ugen4.2
now you can define actions for these options, e.g.
action copy {
filter = ^button-copy$
string-trigger {
from-value =
to-value = ^copy.*
}
desc = Copy to printer
# script must be an absolute pathname to the action script without
arguments
script = /usr/local/etc/scanbd/test.script
}
and then watch if you see any value changes when you press the scanner
button. If that's ok you can define scripts to implement the actions.
Thanks!
Florian
Am 11.11.2011 10:45, schrieb Wilhelm:
Am 11.11.2011 10:16, schrieb Florian Litzinger:
Hello,
I'm trying to use the scanner button daemon on a FreeBSD 9 server. I
configured the program according to the information provided in the
INSTALL file, however, when trying to start the daemon using
/usr/local/bin/scanbd -c /usr/local/etc/scanbd/scanbd.conf
the following gets printed on stdout
/usr/local/bin/scanbd: debug on: level: 7
/usr/local/bin/scanbd: daemonize
and then nothing more happens. ps also doesn't show any processes
connected to scanbd (or saned, for that matter).
Please start it in the foreground (-df) and post the output:
/usr/local/bin/scanbd -df -c /usr/local/etc/scanbd/scanbd.conf
The daemon is supposed to run under the saned user account, which
apparently has sufficent rights to use the scanner device, as
scanimage
-L does list the scanner (it's a HP 4470c).
Could you give me any hints on how to proceed and debug this issue? I
also can't seem to find the log files mentioned in scanbd.conf - are
these messages supposed to appear in the syslog?
Thank you very much.
Best Regards
Florian
--
Wilhelm