[sane-devel] Re: How to link the Scan Button of CX3100 to a linux application?

Bruce Bertrand bruce@brucebertrand.com
Tue, 27 Jan 2004 11:11:31 -0500


Till Kamppeter wrote:

> I recommend that you post this on the SANE mailing list 
> (http://www.sane-project.org/), as this is a scanning problem. I am 
> CCing this posting to there.
>
> AFAIK noone has written a driver for scanner buttons yet (also not for 
> other scanner models). The scanner probably sends a certain signal 
> through the USB which is caught by a background process under Windows. 
> This process then starts a program to do the scan. The best way to 
> write a similar program under Linux is to use a USB sniffer to analyze 
> how the signal looks like and then write a daemon which listens for 
> such signals.
>
>    Till

If this is the case, then it would only take one sniffer for all 
scanners that operate in this manner. Sort of like those universal 
"learning" remotes, where you hold up an existing remote to the learning 
remote, hit a "listen" button and then press a button on the old one, 
assigning whatever signal it receives to some function on the learning 
remote.
Bruce