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 does something. That would in theory work
with all scanners.

allan

On Fri, Apr 28, 2017 at 11:15 AM, Fred 1 <zfre...@gmail.com> wrote:
> Mustek BearPaw 2448 TA
>
> does it matter ?
>
> so i should be looking at the driver code?
>
>
>
> On 29/04/17 01:11, m. allan noah wrote:
>>
>> 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 <zfre...@gmail.com> 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 exit xsane, ok, but failing that
>>> would
>>> like to have a configurable timeout....
>>>
>>> so i'll take any advice from who is already more familiar with the codes,
>>>
>>> thanks
>>>
>>>
>>>
>>> --
>>> sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org
>>
>>
>>
>



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"

-- 
sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org

Reply via email to