ソースの表示以前のリビジョンバックリンク全て展開する/折り畳む文書の先頭へ Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer Reddit Teams最近の変更Send via e-Mail印刷パーマリンク × 目次 AT-x510-28GTXあれこれ ファンをPWM制御で静音化 ================ ======= ======= ================ ======= ======= ================ ======= ======= 文書の過去の版を表示しています。 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 特権exec awplus> enable awplus# configure terminal スタック無効化 awplus(config)#no stack 1 enable Warning: this will disable the stacking hardware on member-1. Are you sure you want to continue? (y/n): y awplus(config)#03:27:03 awplus VCS[1049]: Deactivating Stacking Ports on stack member 1 vlan作成 awplus(config)#vlan database awplus(config-vlan)#vlan 32,33 awplus(config-vlan)#do show vlan all VLAN ID Name Type State Member ports (u)-Untagged, (t)-Tagged ================ ======= ======= 1 default STATIC ACTIVE port1.0.1(u) port1.0.2(u) port1.0.3(u) port1.0.4(u) port1.0.5(u) port1.0.6(u) port1.0.7(u) port1.0.8(u) port1.0.9(u) port1.0.10(u) port1.0.11(u) port1.0.12(u) port1.0.13(u) port1.0.14(u) port1.0.15(u) port1.0.16(u) port1.0.17(u) port1.0.18(u) port1.0.19(u) port1.0.20(u) port1.0.21(u) port1.0.22(u) port1.0.23(u) port1.0.24(u) port1.0.25(u) port1.0.26(u) 32 VLAN0032 STATIC ACTIVE 33 VLAN0033 STATIC ACTIVE vlanに名前を付ける awplus(config-vlan)#vlan 32 name TKY_Main awplus(config-vlan)#vlan 33 name TKY_Trust awplus(config-vlan)#do show vlan all VLAN ID Name Type State Member ports (u)-Untagged, (t)-Tagged ================ ======= ======= 1 default STATIC ACTIVE port1.0.1(u) port1.0.2(u) port1.0.3(u) (略) 32 TKY_Main STATIC ACTIVE 33 TKY_Trust STATIC ACTIVE ポートvlan awplus(config)#interface port1.0.25 awplus(config-if)#switchport mode access awplus(config-if)#switchport access vlan 33 VLAN ID Name Type State Member ports (u)-Untagged, (t)-Tagged ================ ======= ======= 1 default STATIC ACTIVE port1.0.1(u) port1.0.2(u) port1.0.3(u) (略) 32 TK0_Main STATIC ACTIVE 33 TY0_Trust STATIC ACTIVE port1.0.25(u) vlanインタフェースにIPアドレスを割り当て awplus(config)#interface vlan33 awplus(config-if)#ip address 172.20.33.254/24 network/at-x510-28gtx_tips.1560213561.txt.gz 最終更新: 2019-06-11 09:39by Decomo