new temp zone
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
# `for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done`
|
# `for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done`
|
||||||
# list all temperatures:
|
# list all temperatures:
|
||||||
# `find /sys/devices -name "temp*_input"`
|
# `find /sys/devices -name "temp*_input"`
|
||||||
|
# `find /sys/devices -name "temp*_input" -exec sh -c 'echo "{}"; cat "{}"' \;`
|
||||||
# pch_cometlake @ tuxwarrior (i found out by doing more on all tmp input files, and comparing with psensor values):
|
# pch_cometlake @ tuxwarrior (i found out by doing more on all tmp input files, and comparing with psensor values):
|
||||||
# `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input`
|
# `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input`
|
||||||
|
|
||||||
@@ -16,7 +17,7 @@ temp_file=$3
|
|||||||
|
|
||||||
threshold_1=${threshold_1:=59}
|
threshold_1=${threshold_1:=59}
|
||||||
threshold_2=${threshold_2:=65}
|
threshold_2=${threshold_2:=65}
|
||||||
temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input}
|
temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone1/hwmon6/temp1_input}
|
||||||
|
|
||||||
# the value is reported in milli-degrees celsius. we divide by 1000 to convert to degrees celsius
|
# the value is reported in milli-degrees celsius. we divide by 1000 to convert to degrees celsius
|
||||||
# icon: https://fontawesome.com/icons/temperature-full?f=classic&s=solid
|
# icon: https://fontawesome.com/icons/temperature-full?f=classic&s=solid
|
||||||
|
|||||||
Reference in New Issue
Block a user