Re: [sane-devel] adding a timeout for the scanner lamp

2017-04-28 Thread Fred 1
ok,thanks thats really good advice cheers On 29/04/17 01:34, m. allan noah wrote: The driver (we call them backends) is the only part of sane that knows the protocol the scanner speaks. So, the backend would have to be called to perform this task. As an alternative, perhaps the frontend

Re: [sane-devel] adding a timeout for the scanner lamp

2017-04-28 Thread m. allan noah
The driver (we call them backends) is the only part of sane that knows the protocol the scanner speaks. So, the backend would have to be called to perform this task. As an alternative, perhaps the frontend (xsane in this case) could close the scanner when it is idle, and re-open it when the user

Re: [sane-devel] adding a timeout for the scanner lamp

2017-04-28 Thread m. allan noah
Depends on which scanner you are talking about, which you did not say. allan On Fri, Apr 28, 2017 at 10:58 AM, Fred 1 wrote: > i'm not quite familiar with the code yet, but say i want to add a timeout > thingy for the scanner lamp, > > normally the lamp turns off when you