Hi Uwe,
Am 10.11.2013 01:42, schrieb info at uss-online.de:
Dear all,
does no one have experience with this type of Backend and scanbd?
did you experience any option value changes in the log as you press some
buttons?
Uwe
info.info http://info.info info at uss-online.de schrieb:
Dear all,
many thanks for the continues improvement and support of the sane
team members to also let scanners work under linux.
This is my first post to this list, so please give me corrective
information on how to do it the proper way.
After having read many articles on using the scanbd with standard
sane backends, i would like to raise this topic here.
Actually i am not able to use the UMAX Backend with a UMAX ASTRA
2200 and scanbd. I have already been in contact with Wilhelm
concerning the scanbd daemon, but his analysis on the scanbd was
positive from my system config, but out of scope for the button read
out from the UMAX backend.
The system is a Raspberry-Pi, actualized SW environment, added users
as I would like to have them on the five RPi-s in my home, added
sane plus UMAX backend and tested for local (and net) usage. All
fine so far.
Now i added the scanbd with the required config, based on the git
available sane backends and tried to get any relevant info to let
scanbd handle the buttons.
Yes, i know that the scanner is a decade (or more old) but still a
lot of them are in use and i would like to activate the document
scanning in a women acceptable Faktor.
The Raspberry-Pi is already running 24/7 due to his main jobs as
openhab server and cups server activities. Should i mention, that i
am not a SW developer?
Please find here relevant information on the system config and
installed modules also as the test results i got:
Date:20131017
Scanner Buttons / Raspberry Pi / UMAX ASTRA 2200SU via USB
Raspbian 15.10.2013, Kernel: Linux raspi-3 3.6.11+ #538 PREEMPT Fri
Aug 30 20:42:08 BST 2013 armv6l GNU/Linux
sane-backends: git repo:
scanimage (sane-backends) 1.0.25git; backend version 1.0.22
scanimage -L:
usb-bus:
ls -la /dev/bus/usb/001/
crw-rw-r-T+ 1 root root 189, 5 Oct 17 12:28 006
scanbd:
scanbd-code-181-trunk
compiled mit: USE_SANE=YES
+++
directory /etc:
/etc/sane.d:
-rw-r--r-- 1 root root 468 Oct 16 20:37 dll.conf
drwxr-xr-x 2 root root 4096 Oct 16 13:56 dll.d
-rw-r--r-- 1 root root 594 Oct 17 10:25 net.conf
-rw-r--r-- 1 root root 1073 Oct 17 10:25 saned.conf
-rw-r--r-- 1 root root 3094 Sep 27 2012 umax.conf
dll.conf:
# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic
backend loader
net
#umax
saned.conf:
# saned.conf
# Configuration for the saned daemon
localhst
127.0.0.1 http://127.0.0.1
192.168.0.0/24 http://192.168.0.0/24
net.conf:
connect_timeout = 5
localhost
127.0.0.1 http://127.0.0.1
192.168.0.0/24 http://192.168.0.0/24
/etc/xinetd.d
-rw-r--r-- 1 root root 798 Oct 13 03:05 chargen
-rw-r--r-- 1 root root 660 Oct 13 03:05 daytime
-rw-r--r-- 1 root root 549 Oct 13 03:05 discard
-rw-r--r-- 1 root root 580 Oct 13 03:05 echo
-rw-r--r-- 1 ud users 334 Oct 16 20:42 sane-port
-rw-r--r-- 1 root root 727 Oct 13 03:05 time
sane-port:
service sane-port
{
disable = no
socket_type = stream
protocol= tcp
port= 6566
wait= no
user= saned
group = scanner
server = /usr/local/sbin/scanbd
server_args = scanbd -m -c /usr/local/etc/scanbd/scanbd.conf
}
/etc/group:
scanner:x:113:saned,ud
saned:x:115:
+++
+++
directory /usr/local/etc/scanbd:
-rwxr-xr-x 1 root staff 1694 Oct 16 15:42 action.script
-rw-r--r-- 1 root root 468 Oct 16 20:37 dll.conf
-rwxr-xr-x 1 root staff 1112 Oct 16 15:42 example.script
-rw-r--r-- 1 root root 594 Oct 16 21:21 net.conf
-rw-r--r-- 1 root root 1073 Oct 16 21:22 saned.conf
-rwxr-xr-x 1 root staff 1202 Oct 16 15:42 scanadf.script
-rw-r--r-- 1 root staff 7687 Oct 16 21:31 scanbd.conf
drwxr-sr-x 2 root staff 4096 Oct 16 20:29 scanner.d
-rwxr-xr-x 1 root staff 1177 Oct 16 15:42 test.script
-rw-r--r-- 1 ud ud3094 Oct 15 16:27 umax.conf
dll.conf:
#net
umax
net.conf:
localhost
127.0.0.1 http://127.0.0.1
192.168.0.0/24