[sane-devel] informing the user they need to turn on the power?

m. allan noah kitno455 at gmail.com
Fri Oct 2 12:19:02 UTC 2009

two options:

1. make it look like any other powered-off scanner, and dont expose
the it to the user. scanimage -L wont show it, and the user will
think- oh, need to push the power button. (it will still show in
sane-find-scanner, however, most users dont run that)

2. see if the windows driver has the ability to turn on the scanner
from software, and repeat that code if possible.


On Fri, Oct 2, 2009 at 12:51 AM, stef <stef.dev at free.fr> wrote:
> Le vendredi 2 octobre 2009 04:30:09 Paul Wise, vous avez écrit :
>> Hi all,
>> [Please CC me, I'm not subscribed]
>> The scanner I'm working on (Lexmark X2330) shows up in USB when the
>> scanner has wall power but the blue LED embedded in the power on button
>> is off. When in that state, the scanner returns an specific error code
>> indicating what I can only assume is "please turn scanner on". I have a
>> working standalone driver at this stage. For when I start working on a
>> SANE backend, is there a way for a SANE backend to inform the user that
>> the power is off and they need to press the power button?
>        Hello,
>        to my knowledge, there is no SANE API feature that explicitly handle this
> case. I think it has to be added to the areas where the API could be improved.
>        The only way I know to get around that within the current framework, is to
> create an SANE_Option for this feature of the backend and let frontends
> querying it. It is how button handling is done, and you'll meet the same
> problems and limitations.
> Regards,
>        Stef
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/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"

More information about the sane-devel mailing list