syslog: report over-temperature situations and recover
The threshold and the repeat interval is set by Kconfig.
The temperatures are read using the temperature framework.
Tested in host environment:
wrc# faketemp 90 80 10
wrc# faketemp 90 40 20
wrc# faketemp 20 30 40
Jan 1 10:32:09 192.168.16.7 Temperature high: \
roof:90.0000 core:80.0000 case:10.0000
Jan 1 10:33:09 192.168.16.7 Temperature high: \
roof:90.0000 core:40.0000 case:20.0000
Jan 1 10:33:18 192.168.16.7 Temperature ok: \
roof:20.0000 core:30.0000 case:40.0000
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment