0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

x510-28GTX ファンコン

Last updated at Posted at 2024-11-13

やりたいこと

スイッチがうるさいので静音化したい

activate *.shでファンをpwm制御

1. 制御コマンド

・fan-summer.sh
#夏用

#!/bin/sh

echo 1000 > /sys/class/hwmon/hwmon0/device/fan1_min

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

・fan-winter.sh
#冬用

#!/bin/sh

echo 1000 > /sys/class/hwmon/hwmon0/device/fan1_min

echo 48 > /sys/class/hwmon/hwmon0/device/pwm1_auto_point1_pwm
echo 48 > /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

2. pwm制御範囲

echo N > /sys/class...

のNを変更してファン回転数を制御できる(0~255)
最低でも40くらいにしておいた方がいいと思われ

3. show sys env

#show system environment

でファン回転数を確認

電源を切ると制御が切れるので
trigger コマンドで自動的に適用されるようにすると楽

4. 自動でファンコンを適用しよう

conf t
trigger N
type reboot
script N *.sh
active
コマンドリファレンス
https://www.allied-telesis.co.jp/support/list/switch/x510/rel/5.4.2a-0.1/001763a/docs/index.html
もっと詳しい説明があった
https://nofu.jp/wiki/network/at-x510-28gtx_tips
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?