[Nut-upsdev] [RFC apcsmart V3 09/18] drivers/apcsmart: add APC_USERCTRL and APC_CRUCIAL
Michal Soltys
soltys at ziu.info
Sun Mar 6 20:18:36 UTC 2011
On 11-03-06 18:15, Arjen de Korte wrote:
> Citeren Michal Soltys <soltys at ziu.info>:
>
>> APC_USERCTRL - allows permanent overriding of the variable. Meaning
>> even if the ups supports reading and/or writing it, the driver will not
>> allow it (actually it will behave as if the variable wasn't supported at
>> all). This guarantees that the value set by the user in the
>> configuration file is respected.
>
> This is already the case. By disallowing the flags to be changed once
> the ST_FLAG_IMMUTABLE is set, the variable should no longer show up in
> the list of supported variables and the main driver code will disallow
> changing the value.
I see, I'll redo/rethink stuff like I mentioned in the earlier reply.
>
> Good idea too, but be aware that the response to such messages has
> typically been very low.
>
I can imagine :)
More information about the Nut-upsdev
mailing list