[sane-devel] Well known sensor
Étienne Bersac
bersace03 at gmail.com
Mon Mar 17 22:02:22 UTC 2008
Hi,
I read a bit the fujitsu backend source (sadly, i don't have such fuji
scanners). The sensor handling is exactly what i asked for :D !!
Each sensor is named "button-<id>" and <id> is not a number but
something like "send", "scan", etc. :) That is PER - FECT :D
I just suggest to expand this behaviour for each backend :
* Prefix sensor with "button-"
* Use semantic name
* "send" for button "send to", "mail", "mail to" or with a
mail icon on the device
* "scan" for button triggering the scan
* "duplex" for duplex switch
* "powersave" once the scanner enter powersave state
* "adfopen" once the ADF is opened
* "paperin" once paper is inserted either in sheetfed
scanner or ADF.
* "auto" for blank button that mean either "scan" or
"cancel" depending on the current stage.
* other may come, of course
greping the source tree, backends plusteck, hp3900 and pixma use
"button-%d" or similar. Would be nice to have semantic button instead.
Can we publish a document describing such well known sensors ? This is a
tiny incremental evolution of SANE that can make a really good
difference for end user.
Regards,
Étienne.
More information about the sane-devel
mailing list