mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
hwmon: (it87) Add support for beep on alarm
The IT87xxF chips support beeping on alarm, if properly wired and configured. There is one control bit for each input type (temperature, fan, voltage.) Let the user see and change them. Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
parent
6a8d7acfbe
commit
d9b327c310
2 changed files with 126 additions and 0 deletions
|
|
@ -136,6 +136,10 @@ registers are read whenever any data is read (unless it is less than 1.5
|
|||
seconds since the last update). This means that you can easily miss
|
||||
once-only alarms.
|
||||
|
||||
Out-of-limit readings can also result in beeping, if the chip is properly
|
||||
wired and configured. Beeping can be enabled or disabled per sensor type
|
||||
(temperatures, voltages and fans.)
|
||||
|
||||
The IT87xx only updates its values each 1.5 seconds; reading it more often
|
||||
will do no harm, but will return 'old' values.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue