J'ai configuré/etc/fancontrol à mon goût
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/platform/it87.552
DEVNAME=hwmon0=it8718
FCTEMPS=hwmon0/device/pwm2=hwmon0/device/temp2_input hwmon0/device/pwm1=hwmon0/device/temp1_input
FCFANS=hwmon0/device/pwm2=hwmon0/device/fan2_input hwmon0/device/pwm1=hwmon0/device/fan1_input
MINTEMP=hwmon0/device/pwm2=20 hwmon0/device/pwm1=20
MAXTEMP=hwmon0/device/pwm2=60 hwmon0/device/pwm1=60
MINSTART=hwmon0/device/pwm2=150 hwmon0/device/pwm1=150
MINSTOP=hwmon0/device/pwm2=100 hwmon0/device/pwm1=100
MAXPWM=hwmon0/device/pwm2=225 hwmon0/device/pwm1=225
Sudo fancontrol
fonctionne parfaitement.
Mais cela ne commencera pas au démarrage.
UPDATE
OK, je pense avoir trouvé le problème.
Dans /etc/init.d, il existe un fichier appelé:
james@middlepc:/etc/init.d$ ls fan*
fancontrol.dpkg-bak
Si je lance Sudo /etc/init.d/fancontrol.dpkg-bak start
, le contrôleur de ventilateur démarre.
Est-ce que ceci doit être fancontrol
? Est-ce une preuve d'installation corrompue?
PDATE 2
J'ai essayé de renommer fancontrol.dpkg-bak
en fancontrol
. Il ne démarre toujours pas au démarrage
reste de l'article original
Si je lance fancontrol
sans Sudo
j'obtiens le résultat suivant:
Loading configuration from /etc/fancontrol ...
Common settings:
INTERVAL=10
Settings for hwmon0/device/pwm2:
Depends on hwmon0/device/temp2_input
Controls hwmon0/device/fan2_input
MINTEMP=20
MAXTEMP=60
MINSTART=150
MINSTOP=100
MINPWM=0
MAXPWM=225
Settings for hwmon0/device/pwm1:
Depends on hwmon0/device/temp1_input
Controls hwmon0/device/fan1_input
MINTEMP=20
MAXTEMP=60
MINSTART=150
MINSTOP=100
MINPWM=0
MAXPWM=225
Error: file hwmon0/device/pwm2 doesn't exist
Error: file hwmon0/device/pwm1 doesn't exist
At least one referenced file is missing. Either some required kernel
modules haven't been loaded, or your configuration file is outdated.
In the latter case, you should run pwmconfig again.
J'ai essayé de changer DEVPATH=hwmon0=devices/platform/it87.552
en DEVPATH=hwmon0=/sys/devices/platform/it87.552
mais cela ne donne que:
Loading configuration from /etc/fancontrol ...
Common settings:
INTERVAL=10
Settings for hwmon0/device/pwm2:
Depends on hwmon0/device/temp2_input
Controls hwmon0/device/fan2_input:
MINTEMP=20
MAXTEMP=60
MINSTART=150
MINSTOP=100
MINPWM=0
MAXPWM=225
Settings for hwmon0/device/pwm1:
Depends on hwmon0/device/temp1_input
Controls hwmon0/device/fan1_input
MINTEMP=20
MAXTEMP=60
MINSTART=150
MINSTOP=100
MINPWM=0
MAXPWM=225
Device path of hwmon0 has changed
Configuration appears to be outdated, please run pwmconfig again
Si je lance Sudo find / | grep it87.552
je reçois:
/sys/devices/platform/it87.552
/sys/devices/platform/it87.552/uevent
/sys/devices/platform/it87.552/modalias
/sys/devices/platform/it87.552/subsystem
/sys/devices/platform/it87.552/power
/sys/devices/platform/it87.552/power/async
/sys/devices/platform/it87.552/power/runtime_status
/sys/devices/platform/it87.552/power/runtime_usage
/sys/devices/platform/it87.552/power/runtime_active_kids
/sys/devices/platform/it87.552/power/runtime_enabled
/sys/devices/platform/it87.552/power/control
/sys/devices/platform/it87.552/power/runtime_suspended_time
/sys/devices/platform/it87.552/power/runtime_active_time
/sys/devices/platform/it87.552/power/autosuspend_delay_ms
/sys/devices/platform/it87.552/driver
/sys/devices/platform/it87.552/in0_input
/sys/devices/platform/it87.552/in1_input
/sys/devices/platform/it87.552/in2_input
/sys/devices/platform/it87.552/in3_input
/sys/devices/platform/it87.552/in4_input
/sys/devices/platform/it87.552/in5_input
/sys/devices/platform/it87.552/in6_input
/sys/devices/platform/it87.552/in7_input
/sys/devices/platform/it87.552/in8_input
/sys/devices/platform/it87.552/in0_min
/sys/devices/platform/it87.552/in1_min
/sys/devices/platform/it87.552/in2_min
/sys/devices/platform/it87.552/in3_min
/sys/devices/platform/it87.552/in4_min
/sys/devices/platform/it87.552/in5_min
/sys/devices/platform/it87.552/in6_min
/sys/devices/platform/it87.552/in7_min
/sys/devices/platform/it87.552/in0_max
/sys/devices/platform/it87.552/in1_max
/sys/devices/platform/it87.552/in2_max
/sys/devices/platform/it87.552/in3_max
/sys/devices/platform/it87.552/in4_max
/sys/devices/platform/it87.552/in5_max
/sys/devices/platform/it87.552/in6_max
/sys/devices/platform/it87.552/in7_max
/sys/devices/platform/it87.552/in0_alarm
/sys/devices/platform/it87.552/in1_alarm
/sys/devices/platform/it87.552/in2_alarm
/sys/devices/platform/it87.552/in3_alarm
/sys/devices/platform/it87.552/in4_alarm
/sys/devices/platform/it87.552/in5_alarm
/sys/devices/platform/it87.552/in6_alarm
/sys/devices/platform/it87.552/in7_alarm
/sys/devices/platform/it87.552/temp1_input
/sys/devices/platform/it87.552/temp2_input
/sys/devices/platform/it87.552/temp3_input
/sys/devices/platform/it87.552/temp1_max
/sys/devices/platform/it87.552/temp2_max
/sys/devices/platform/it87.552/temp3_max
/sys/devices/platform/it87.552/temp1_min
/sys/devices/platform/it87.552/temp2_min
/sys/devices/platform/it87.552/temp3_min
/sys/devices/platform/it87.552/temp1_type
/sys/devices/platform/it87.552/temp2_type
/sys/devices/platform/it87.552/temp3_type
/sys/devices/platform/it87.552/temp1_alarm
/sys/devices/platform/it87.552/temp2_alarm
/sys/devices/platform/it87.552/temp3_alarm
/sys/devices/platform/it87.552/alarms
/sys/devices/platform/it87.552/intrusion0_alarm
/sys/devices/platform/it87.552/name
/sys/devices/platform/it87.552/in0_beep
/sys/devices/platform/it87.552/in1_beep
/sys/devices/platform/it87.552/in2_beep
/sys/devices/platform/it87.552/in3_beep
/sys/devices/platform/it87.552/in4_beep
/sys/devices/platform/it87.552/in5_beep
/sys/devices/platform/it87.552/in6_beep
/sys/devices/platform/it87.552/in7_beep
/sys/devices/platform/it87.552/temp1_beep
/sys/devices/platform/it87.552/temp2_beep
/sys/devices/platform/it87.552/temp3_beep
/sys/devices/platform/it87.552/fan1_input
/sys/devices/platform/it87.552/fan1_min
/sys/devices/platform/it87.552/fan1_alarm
/sys/devices/platform/it87.552/fan1_beep
/sys/devices/platform/it87.552/fan2_input
/sys/devices/platform/it87.552/fan2_min
/sys/devices/platform/it87.552/fan2_alarm
/sys/devices/platform/it87.552/fan2_beep
/sys/devices/platform/it87.552/fan3_input
/sys/devices/platform/it87.552/fan3_min
/sys/devices/platform/it87.552/fan3_alarm
/sys/devices/platform/it87.552/fan3_beep
/sys/devices/platform/it87.552/fan4_input
/sys/devices/platform/it87.552/fan4_min
/sys/devices/platform/it87.552/fan4_alarm
/sys/devices/platform/it87.552/fan4_beep
/sys/devices/platform/it87.552/pwm1_enable
/sys/devices/platform/it87.552/pwm1
/sys/devices/platform/it87.552/pwm1_freq
/sys/devices/platform/it87.552/pwm1_auto_channels_temp
/sys/devices/platform/it87.552/pwm2_enable
/sys/devices/platform/it87.552/pwm2
/sys/devices/platform/it87.552/pwm2_freq
/sys/devices/platform/it87.552/pwm2_auto_channels_temp
/sys/devices/platform/it87.552/pwm3_enable
/sys/devices/platform/it87.552/pwm3
/sys/devices/platform/it87.552/pwm3_freq
/sys/devices/platform/it87.552/pwm3_auto_channels_temp
/sys/devices/platform/it87.552/vrm
/sys/devices/platform/it87.552/cpu0_vid
/sys/devices/platform/it87.552/in3_label
/sys/devices/platform/it87.552/in8_label
/sys/devices/platform/it87.552/hwmon
/sys/devices/platform/it87.552/hwmon/hwmon0
/sys/devices/platform/it87.552/hwmon/hwmon0/uevent
/sys/devices/platform/it87.552/hwmon/hwmon0/subsystem
/sys/devices/platform/it87.552/hwmon/hwmon0/device
/sys/devices/platform/it87.552/hwmon/hwmon0/power
/sys/devices/platform/it87.552/hwmon/hwmon0/power/async
/sys/devices/platform/it87.552/hwmon/hwmon0/power/runtime_status
/sys/devices/platform/it87.552/hwmon/hwmon0/power/runtime_usage
/sys/devices/platform/it87.552/hwmon/hwmon0/power/runtime_active_kids
/sys/devices/platform/it87.552/hwmon/hwmon0/power/runtime_enabled
/sys/devices/platform/it87.552/hwmon/hwmon0/power/control
/sys/devices/platform/it87.552/hwmon/hwmon0/power/runtime_suspended_time
/sys/devices/platform/it87.552/hwmon/hwmon0/power/runtime_active_time
/sys/devices/platform/it87.552/hwmon/hwmon0/power/autosuspend_delay_ms
/sys/bus/platform/devices/it87.552
/sys/bus/platform/drivers/it87/it87.552
Je remarque que vous avez résolu le problème vous-même. Si le problème était résolu, vous auriez pu essayer
Sudo update-rc.d fancontrol defaults
J'ai trouvé la solution.
L'installation était corrompue.
Le script de démarrage s'appelait un nom de sauvegarde partiellement installé et je suppose que les liens rc.d ont été cassés parce que cela aussi pour le faire fonctionner à nouveau:
Sudo apt-get --reinstall install fancontrol