Skip to content

Commit

Permalink
Try to improve ondemand scheduler and thermal readouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKaiser committed Jul 15, 2018
1 parent 9462893 commit 52bef7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions packages/bsp/common/usr/lib/armbian/armbian-hardware-monitor
Expand Up @@ -59,8 +59,6 @@ prepare_temp_monitoring() {
[[ ${BOARDFAMILY} == s500 ]] && THERMAL_ZONE="thermal_zone1" || THERMAL_ZONE="thermal_zone0"
ln -fs /sys/devices/virtual/thermal/${THERMAL_ZONE}/temp /etc/armbianmonitor/datasources/soctemp
fi
# remove the soctemp node on platforms where kernel support is not yet ready for thermal readouts
cat /etc/armbianmonitor/datasources/soctemp >/dev/null 2>&1 || rm /etc/armbianmonitor/datasources/soctemp
} # prepare_temp_monitoring

log_hardware_info() {
Expand Down
Expand Up @@ -65,6 +65,7 @@ prepare_board() {
echo 1 >${i}/io_is_busy
echo 25 >${i}/up_threshold
echo 10 >${i}/sampling_down_factor
echo 200000 >${i}/sampling_rate
fi
done
fi
Expand Down

0 comments on commit 52bef7d

Please sign in to comment.