[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-17 Thread dio.rah...@gmail.com
Hi Pierre, Thanks very much for your great work. Definitely I will try to look at it. I was looking at your code before. But, I didn't make it, to adapt it to those genesys scanner. Thanks! Best, Dio On 1/17/09, Pierre Willenbrock wrote: > Dhi Aurrahman schrieb: >> Dear All! >> >> I have Can

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-16 Thread Pierre Willenbrock
Dhi Aurrahman schrieb: > Dear All! > > I have CanonScan LiDE 50 with me (working well with SANE genesys backend), > but I need to have a buttons-daemon for it. > Anyone could help me how to do it? I think the first step is to snoop the > USB message sent by the button when it is pressed. > If you

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-10 Thread Pierre Willenbrock
m. allan noah schrieb: > On Sat, Jan 10, 2009 at 2:55 PM, Pierre Willenbrock > wrote: >> m. allan noah schrieb: >>> On Sat, Jan 10, 2009 at 1:11 PM, Pierre Willenbrock >>> wrote: m. allan noah schrieb: > On Fri, Jan 9, 2009 at 5:02 PM, Pierre Willenbrock > wrote: [...] >> A

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-10 Thread Pierre Willenbrock
m. allan noah schrieb: > On Sat, Jan 10, 2009 at 1:11 PM, Pierre Willenbrock > wrote: >> m. allan noah schrieb: >>> On Fri, Jan 9, 2009 at 5:02 PM, Pierre Willenbrock >>> wrote: >> [...] Another question: Is it okay to only look at the hardware state if the frontend asks for the state o

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-10 Thread Pierre Willenbrock
m. allan noah schrieb: > On Fri, Jan 9, 2009 at 5:02 PM, Pierre Willenbrock > wrote: [...] > >> Another question: Is it okay to only look at the hardware state if the >> frontend asks for the state of the option? That way shorter presses can >> be lost, if the frontend does not poll often enough.

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-10 Thread m. allan noah
On Sat, Jan 10, 2009 at 3:56 PM, Pierre Willenbrock wrote: > m. allan noah schrieb: >> On Sat, Jan 10, 2009 at 2:55 PM, Pierre Willenbrock >> wrote: >>> m. allan noah schrieb: On Sat, Jan 10, 2009 at 1:11 PM, Pierre Willenbrock wrote: > m. allan noah schrieb: >> On Fri, Jan 9,

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-10 Thread m. allan noah
On Sat, Jan 10, 2009 at 2:55 PM, Pierre Willenbrock wrote: > m. allan noah schrieb: >> On Sat, Jan 10, 2009 at 1:11 PM, Pierre Willenbrock >> wrote: >>> m. allan noah schrieb: On Fri, Jan 9, 2009 at 5:02 PM, Pierre Willenbrock wrote: >>> [...] > Another question: Is it okay to only

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-10 Thread m. allan noah
On Sat, Jan 10, 2009 at 1:11 PM, Pierre Willenbrock wrote: > m. allan noah schrieb: >> On Fri, Jan 9, 2009 at 5:02 PM, Pierre Willenbrock >> wrote: > [...] >> >>> Another question: Is it okay to only look at the hardware state if the >>> frontend asks for the state of the option? That way shorter

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-10 Thread m. allan noah
On Fri, Jan 9, 2009 at 5:02 PM, Pierre Willenbrock wrote: > m. allan noah schrieb: >> On Wed, Jan 7, 2009 at 1:09 PM, Pierre Willenbrock >> wrote: > [...] >>> >>> I have no experience with the sane interface itself, so comments/patches >>> are gladly accepted. >> >> We have settled on exposing bu

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-09 Thread Pierre Willenbrock
m. allan noah schrieb: > On Wed, Jan 7, 2009 at 1:09 PM, Pierre Willenbrock > wrote: [...] >> >> I have no experience with the sane interface itself, so comments/patches >> are gladly accepted. > > We have settled on exposing buttons via options with: > opt->cap = SANE_CAP_SOFT_DETECT | SANE_CAP_

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-08 Thread Dhi Aurrahman
Dear All! I have CanonScan LiDE 50 with me (working well with SANE genesys backend), but I need to have a buttons-daemon for it. Anyone could help me how to do it? I think the first step is to snoop the USB message sent by the button when it is pressed. If you have experience on developing button

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-07 Thread Pierre Willenbrock
Dhi Aurrahman schrieb: > Dear All! > > I have CanonScan LiDE 50 with me (working well with SANE genesys backend), > but I need to have a buttons-daemon for it. > Anyone could help me how to do it? I think the first step is to snoop the > USB message sent by the button when it is pressed. > If you

[sane-devel] buttons-daemon for SANE genesys scanner

2009-01-07 Thread m. allan noah
On Wed, Jan 7, 2009 at 1:09 PM, Pierre Willenbrock wrote: > Dhi Aurrahman schrieb: >> Dear All! >> >> I have CanonScan LiDE 50 with me (working well with SANE genesys backend), >> but I need to have a buttons-daemon for it. >> Anyone could help me how to do it? I think the first step is to snoop t