文書の過去の版を表示しています。
AT-x510-28GTXあれこれ
ファンをPWM制御で静音化
先達の解析によれば、デバイスファイルに値を書き込むとファンの回転数をソフト的に変更できるそうで。その知見をありがたく使わせていただく。
回転数制御スクリプトを用意。エディタはCtrl-Kの後にSキーで保存、Ctrl-Cで終了。
# edit fan.sh ---- 中身:ここから ---- # 低回転エラー避け #!/bin/sh echo 1000 > /sys/class/hwmon/hwmon0/device/fan1_min # 回転速度を0-255で指定 echo 64 > /sys/class/hwmon/hwmon0/device/pwm1_auto_point1_pwm echo 64 > /sys/class/hwmon/hwmon0/device/pwm1_auto_point2_pwm # 以下、メモ #cat /sys/class/hwmon/hwmon0/device/pwm1_auto_channels_temp #cat /sys/class/hwmon/hwmon0/device/pwm1_auto_point1_pwm #cat /sys/class/hwmon/hwmon0/device/pwm1_auto_point2_pwm #cat /sys/class/hwmon/hwmon0/device/pwm1_enable #cat /sys/class/hwmon/hwmon0/device/pwm1_freq #cat /sys/class/hwmon/hwmon0/device/pwm1 ---- 中身:ここまで ----
スクリプト実行
# activate fan.sh
正しく記述できていれば、ファンが静かになる。
#show system environment Environment Monitoring Status (略) Resource ID: 3 Name: x510-28GTX ID Sensor (Units) Reading Low Limit High Limit Status 1 Fan: Fan 1 (Rpm) 1929 1000 - Ok 2 Voltage: 1.8V (Volts) 1.806 1.617 1.978 Ok 3 Voltage: 1.0V (Volts) 0.998 0.896 1.099 Ok 4 Voltage: 3.3V (Volts) 3.282 3.028 3.545 Ok 5 Voltage: 5.0V (Volts) 5.099 4.477 5.498 Ok 6 Voltage: 1.2V (Volts) 1.184 1.072 1.318 Ok 7 Temp: CPU (Degrees C) 51 -11 80 Ok
書き込む値と回転数の関係は下表な感じ。面倒なので全部は調べてません。
| PWM値 | 回転数 | 備考 |
|---|---|---|
| 32 | 582 | |
| 64 | 1869 | 室温26℃アイドル状態で54℃ |
| 66 | 1968 | |
| 68 | 2048 | |
| 72 | 2204 | これ上は煩くて一般のご家庭的には厳しい(個人の感想) |
| 80 | 2511 | |
| 96 | 3114 |