<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>That probably means that my scanner's sane backend does not support buttons (its epkowa, Epson GT-1500). However scanbuttond supports it (with a patch to backends/epson_vphoto.c).</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>How one would port buttons support from scanbuttond to sane backend? I may have enough spare time to roll a patch, but not enough to dig out all inner workings of both scanbuttonbd and sane.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent;
 font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>--</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Ilya</span></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> m. allan noah <kitno455@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Ilya V. Ivanchenko <iva2k@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "sane-devel@lists.alioth.debian.org" <sane-devel@lists.alioth.debian.org> <br> <b><span
 style="font-weight: bold;">Sent:</span></b> Friday, September 20, 2013 4:20 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [sane-devel] scanbd with sane backend - howto read buttons?<br> </font> </div> <div class="y_msg_container"><br>Button support is entirely dependent on which sane backend is in use.<br>Not all backends support buttons, even if they are on the scanner.<br><br>allan<br><br>On Fri, Sep 20, 2013 at 1:35 AM, Ilya V. Ivanchenko <<a ymailto="mailto:iva2k@yahoo.com" href="mailto:iva2k@yahoo.com">iva2k@yahoo.com</a>> wrote:<br>> Is there a way to query button states in command line from sane or scanbd<br>> with sane backend?<br>><br>> I want to see that I can read buttons first, then attempt again to configure<br>> scanbd with sane backend. So far I failed to get any response to buttons via<br>> sane backend.<br>><br>> I checked "scanimage -h | grep button", and it reports only<br>>
 --wait-for-button (which is just to pause the scan until user presses a<br>> button on the scanner).<br>><br>> The only hint I've got is "scanimage -A | grep button" which returns<br>> "--monitor-button[=(yes|no)] [no] [read-only]".<br>><br>> Both manpage and scanimage --help are mum on the topic. Google is of no help<br>> either.<br>><br>> --<br>> Ilya<br>><br>> --<br>> sane-devel mailing list: <a ymailto="mailto:sane-devel@lists.alioth.debian.org" href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>>              to <a ymailto="mailto:sane-devel-request@lists.alioth.debian.org"
 href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br><br><br><br>-- <br>"The truth is an offense, but not a sin"<br><br><br></div> </div> </div>  </div></body></html>