Page modifiée le :

Gestion du ventilateur

odroid@omega:~$ sudo -s 
[sudo] Mot de passe de odroid : 
root@omega:~# echo "38 150 195 245" > /sys/devices/platform/pwm-fan/hwmon/hwmon0/fan_speed 
root@omega:~# cat /sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed 38 150 195 245 
root@omega:~#
Ce qui donne une température de CPU au repos, dans un boitier avec une température de la piéce de 22°C. Il est recommandé d'ajouter ces commandes dans le fichier /etc/rc.local
#!/bin/sh -e 
# # rc.local # 
# This script is executed at the end of each multiuser runlevel. 
# Make sure that the script will "" on success or any other # value on error. # 
# In order to enable or disable this script just change the execution 
# bits. # 
# By default this script does nothing. 

# manage the fan 
if [ -f /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp ]; 
    then 
    echo '60000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp 
    echo '70000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp 
    echo '80000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp 
fi 

if [ -f '/sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed' ]; then 
# set fan speed 
    echo "38 77 150 245" > /sys/devices/platform/pwm-fan/hwmon/hwmon0/fan_speed 
fi 

exit 0

fail2ban