<div dir="auto">Hi<br><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, Mar 7, 2020, 00:35 Alexander Pevzner, <<a href="mailto:pzz@apevzner.com">pzz@apevzner.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
> SANE_CAP_SOFT_SELECT indicates that the control can be set by a call to  > sane_control_option().> SANE_CAP_HARD_SELECT indicates that physical <br>
user intervention (like > setting a switch) can set the value.<br>
SOFT_SELECT means that option is software-settable. HARD_SELECT means <br>
that not. From the application perspective, the only important thing, if <br>
the option is read-write or read-only. Hence, I'd use SOFT_SELECT.<br>
<br>
P.S. When in doubt, it's better to look how these options are <br>
interpreted by popular applications. I've looked to xsane sources, it <br>
ignores the HARD_SELECT flag at all.<br></blockquote></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div dir="auto" style="font-family:sans-serif">Thanks that makes sense to me.</div><div dir="auto" style="font-family:sans-serif">Perhaps the SANE spec could be updated to add some clarity in this regard.</div><div dir="auto" style="font-family:sans-serif"><br></div></div><div dir="auto">Cheers</div><div dir="auto">Ralph</div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div>