[sane-devel] Raspbian Jessie - scanbd scripting issue
RainerF
rpfischer at freenet.de
Mon Mar 30 10:17:38 UTC 2015
I tried to configure scanbd for an EPSON Perfection 1670 on a Raspbian Jessie
system. First I installed scanbd form the Raspbian package repository, but
this version seems to be compiled for sane backends support only, which
don't recognise button pressed events on my scanner. Then I compiled scanbd
from source
<http://downloads.sourceforge.net/project/scanbd/releases/scanbd-1.4.2.tgz>
with the old scanbutton backends support. That's working, but there are two
issues:
1) only two buttons invoke script execution
The scanner has four buttons, but currently scripts are only executed for
button 2 (copy) and button 3(email). I would like to use at least the scan
button (= button 4) as well. Within the syslog I can seethat also for button
1 and button 4 there is a reaction, just no script will be executed. In
scanbd.confI noticed two kind of checks for button pressed event handling,
one, where a string change is evaluated, the other, where an integer value
changes.
Might this be misconfigured?
How can I check, which string has been send from the scanbuttond backend?
Remark: the button numbering seems to be in reverse order, for button 3 is
labeled with a printer icon, button 2 with a letter icon.
2) scanimage reports 'no scan device'
When I executeI always get the information that no scan device was
found. I would have expected something likewhich was the output, when scanbd
was installed from the Raspbian package repository. I thought, scanimage
would request a scan via sane port 6566, observed by scanbm, which would
then forward the request to the 'real' saned.
Am I wrong with this assumption?
I attached my configuration and a part of the syslog file.
Thanks in advance for any kind of assistance,which might help to solve the
above mentined issues.
Cheers, Rainer.
-------------------------------------------------------
configuration files
/usr/local/etc/scanbd/scanbd.conf (only changes from default):
sudo cp scanbd_dbus.conf /etc/dbus-1/system.d/
this file is copied "as is" from the integration folder
sudo nano /lib/systemd/system/scanbd.service (only changes from default):
syslog (excerpt):
--
View this message in context: http://sane.10972.n7.nabble.com/Raspbian-Jessie-scanbd-scripting-issue-tp19611.html
Sent from the SANE - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20150330/f60100e4/attachment.html>
More information about the sane-devel
mailing list