-
Notifications
You must be signed in to change notification settings - Fork 487
Register write configuration
Allows to write to any EC register.
Example:
<RegisterWriteConfiguration>
<Description>Fake thermal zone temperature</Description>
<WriteOccasion>OnInitialization</WriteOccasion>
<WriteMode>Set</WriteMode>
<Register>38</Register>
<Value>28</Value>
<ResetRequired>true</ResetRequired>
<ResetWriteMode>Set</ResetWriteMode>
<ResetValue>0</ResetValue>
</RegisterWriteConfiguration>
A short description of what effect the RegisterWriteConfiguration will have.
Defines when the value should be written.
Options:
- OnInitialization: writes the value once upon initialization (everytime the fan control service is enabled or a config is applied)
- OnWriteFanSpeed: writes the value everytime the fan speed is set
⚠️ In future versions, this option will not be supported anymore. Instead, the specified register will always be overwritten.
Defines how the value will be written.
Options:
- Set: overwrites the register with the specified value (register = value)
- And: performs a binary AND operation (register = register & value)
- Or: performs a binary OR operation (register = register | value)
The register which will be manipulated.
Must be an integer between 0 and 255.
The value which will be written.
Must be an integer between 0 and 255.
Defines if the register should be reset before the service is shut down.
⚠️ In future versions, this option will not be supported anymore. Instead, the specified register will always be overwritten.
See WriteMode. Will only be applied on reset.
The value which will be written upon reset.