ASRock A55 Pro3 硬體監督(lm-sensors)無法檢視 CPU Fan,可安裝 AUR 的 nct677x,
依據 Sources 裡的 README.ASRock,必須執行下列指令才能秀出 CPU Fan:
isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isaset -y 0x2e 0x2f 0x7 0x8
isaset -y 0x2e 0x2f 0xf0 0xb2
isaset -y 0x2e 0x2f 0xf1 0xb3
之後執行 sensors 就可秀出 CPU Fan 了(fan2)。
但每次重開機就得執行一次,可將指令置放於 /etc/rc.local,但 systemd 已不支援 rc.local 開機執行,必須自訂 service:
/etc/systemd/system/rclocal.service
[Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local
[Service]
Type=forking
ExecStart=/etc/rc.local
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
/etc/rc.local:
isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isaset -y 0x2e 0x2f 0x7 0x8
isaset -y 0x2e 0x2f 0xf0 0xb2
isaset -y 0x2e 0x2f 0xf1 0xb3
改成可執行:chmod +x /etc/rc.local
開機執行:systemctl enable rclocal.service
手動執行:systemctl start rclocal.service
沒有留言:
張貼留言