plustek: Buttons on Epson Perfection 1250
Subject:
Re: Buttons on Epson Perfection 1250
From:
"Jaeger, Gerhard" ####@####.####
Date:
1 Nov 2002 13:42:35 -0000
Message-Id: <187c06-1KHkNUC@fmrl00.sul.t-online.com>
Hi Christian,
you might start this discussion again on SANE mailing list.
AFAIK, the upcoming SANE 2.0 Standard defines the usage
of buttons but currently there's no defined way for using them...
You're welcome to start the development there but I think
you first should have a look at the SANE standard.
See www.mostang.com/sane for further information...
If you want to check the button states from your EPSON,
we should try and find out which of the misc I/O pins are
defined for input and how they behave while pressing the
button...
Gerhard
On Monday, 28. October 2002 15:43, Christian wrote:
[SNIP]
> I need this feature, does someone working on this thing?
> If not i want to do it, but i would like if some people might give me some
> hints about the programming API and other resources which might be usefull
> (Where to get protocol specs?).
>
> short outline what i need/want to do:
> - a deamon which opens the device and waits for button events
> - high customizeable configuration which will run scripts on defined
> button events (turn scanner on/off, diffrent copy modes and so on) i'm
> need it to run it without further interaction with the computer (no GUI
> pops up in my case .. but might still be configureable)
>
> It would be easy to release the USB port while executing some scripts. But
> when a user fires up some sane-gui the backend needs some support for
> signaling the button-daemon to release the USB port, any suggestions for a
> general interface to do such? (pidfiles/signals or local socket)
>
> Further a unused mouse might be used to provide buttons for
> buttonless-scanners.
>
> cya Christian