[sane-devel] scanbd with sane backend - howto read buttons?

2013-09-20 Thread m. allan noah
Button support is entirely dependent on which sane backend is in use.
Not all backends support buttons, even if they are on the scanner.

allan

On Fri, Sep 20, 2013 at 1:35 AM, Ilya V. Ivanchenko iva2k at yahoo.com wrote:
 Is there a way to query button states in command line from sane or scanbd
 with sane backend?

 I want to see that I can read buttons first, then attempt again to configure
 scanbd with sane backend. So far I failed to get any response to buttons via
 sane backend.

 I checked scanimage -h | grep button, and it reports only
 --wait-for-button (which is just to pause the scan until user presses a
 button on the scanner).

 The only hint I've got is scanimage -A | grep button which returns
 --monitor-button[=(yes|no)] [no] [read-only].

 Both manpage and scanimage --help are mum on the topic. Google is of no help
 either.

 --
 Ilya

 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
  to sane-devel-request at lists.alioth.debian.org



-- 
The truth is an offense, but not a sin



[sane-devel] scanbd with sane backend - howto read buttons?

2013-09-20 Thread Ilya V. Ivanchenko
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).

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.

--
Ilya



 From: m. allan noah kitno455 at gmail.com
To: Ilya V. Ivanchenko iva2k at yahoo.com 
Cc: sane-devel at lists.alioth.debian.org sane-devel at 
lists.alioth.debian.org 
Sent: Friday, September 20, 2013 4:20 AM
Subject: Re: [sane-devel] scanbd with sane backend - howto read buttons?
 

Button support is entirely dependent on which sane backend is in use.
Not all backends support buttons, even if they are on the scanner.

allan

On Fri, Sep 20, 2013 at 1:35 AM, Ilya V. Ivanchenko iva2k at yahoo.com wrote:
 Is there a way to query button states in command line from sane or scanbd
 with sane backend?

 I want to see that I can read buttons first, then attempt again to configure
 scanbd with sane backend. So far I failed to get any response to buttons via
 sane backend.

 I checked scanimage -h | grep button, and it reports only
 --wait-for-button (which is just to pause the scan until user presses a
 button on the scanner).

 The only hint I've got is scanimage -A | grep button which returns
 --monitor-button[=(yes|no)] [no] [read-only].

 Both manpage and scanimage --help are mum on the topic. Google is of no help
 either.

 --
 Ilya

 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
? ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org



-- 
The truth is an offense, but not a sin
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130920/26965797/attachment.html


[sane-devel] scanbd with sane backend - howto read buttons?

2013-09-19 Thread Ilya V. Ivanchenko
Is there a way to query button states in command line from sane or scanbd with 
sane backend?

I want to see that I can read buttons first, then attempt again to configure 
scanbd with sane backend. So far I failed to get any response to buttons via 
sane backend.

I checked scanimage -h | grep button, and it reports only --wait-for-button 
(which is just to pause the scan until user presses a button on the scanner).


The only hint I've got is?scanimage -A | grep button which returns 
--monitor-button[=(yes|no)] [no] [read-only].?

Both manpage and scanimage --help are mum on the topic.?Google is of no help 
either.

--
Ilya
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130919/dd93e146/attachment.html