Fedora 27(현재 FC30)로 업그레이드한 후 기존 Dell 워크스테이션의 팬이 매우 빠르게 작동합니다.
나는 lm_sensors 패키지와 "fancontrol"을 사용해 보았습니다.
내 시스템은 다음과 같습니다.
> sensors
coretemp-isa-0001
Adapter: ISA adapter
Core 0: +35.0°C (high = +87.0°C, crit = +103.0°C)
Core 1: +35.0°C (high = +87.0°C, crit = +103.0°C)
Core 2: +36.0°C (high = +87.0°C, crit = +103.0°C)
Core 3: +34.0°C (high = +87.0°C, crit = +103.0°C)
dell_smm-virtual-0
Adapter: Virtual device
Processor Fan: 794 RPM
Processor Fan: 1102 RPM
Motherboard Fan: 1132 RPM
Ambient: +17.0°C
nouveau-pci-0300
Adapter: PCI adapter
GPU core: +1.18 V (min = +1.05 V, max = +1.18 V)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +37.0°C (high = +87.0°C, crit = +103.0°C)
Core 1: +40.0°C (high = +87.0°C, crit = +103.0°C)
Core 2: +40.0°C (high = +87.0°C, crit = +103.0°C)
Core 3: +40.0°C (high = +87.0°C, crit = +103.0°C)
nouveau-pci-0400
Adapter: PCI adapter
GPU core: +1.05 V (min = +0.75 V, max = +1.10 V)
temp1: +43.0°C (high = +95.0°C, hyst = +3.0°C)
(crit = +105.0°C, hyst = +5.0°C)
(emerg = +135.0°C, hyst = +5.0°C)
pwmconfig의 출력
> pwmconfig
# Initial output from
hwmon0 is nouveau
hwmon1 is nouveau
hwmon2 is dell_smm
hwmon3 is coretemp
hwmon4 is coretemp
Found the following PWM controls:
hwmon2/pwm1 current value: 255
hwmon2/pwm2 current value: 255
hwmon2/pwm3 current value: 255
Giving the fans some time to reach full speed...
Found the following fan sensors:
hwmon2/fan1_input current speed: 947 RPM
hwmon2/fan2_input current speed: 1530 RPM
hwmon2/fan3_input current speed: 1230 RPM
/etc/fancontrol 파일을 수동으로 작성해 보았습니다.
INTERVAL=5
DEVPATH=hwmon0=devices/pci0000:00/0000:00:03.0/0000:03:00.0 hwmon1=devices/pci0000:00/0000:00:07.0/0000:04:00.0 hwmon2=devices/virtual/hwmon/hwmon2/device hwmon3=devices/platform/coretemp.0 hwmon4=devices/platform/coretemp.1
DEVNAME=hwmon0=nouveau hwmon1=nouveau hwmon2=dell_smm hwmon3=coretemp hwmon4=coretemp
FCTEMPS=hwmon2/device/pwm1=hwmon2/temp1_input hwmon2/device/pwm2=hwmon2/temp2_input hwmon2/device/pwm3=hwmon2/temp3_input
FCFANS=hwmon2/device/pwm1=hwmon2/fan1_input hwmon2/device/pwm2=hwmon2/fan2_input hwmon2/device/pwm3=hwmon2/fan3_input
MINTEMP=hwmon2/device/pwm1=20
MAXTEMP=hwmon2/device/pwm1=55
MINSTART=hwmon2/device/pwm1=150
MINSTOP=hwmon2/device/pwm1=105
MINTEMP=hwmon2/device/pwm2=20
MAXTEMP=hwmon2/device/pwm2=55
MINSTART=hwmon2/device/pwm2=150
MINSTOP=hwmon2/device/pwm2=105
MINTEMP=hwmon2/device/pwm3=20
MAXTEMP=hwmon2/device/pwm3=55
MINSTART=hwmon2/device/pwm3=150
MINSTOP=hwmon2/device/pwm3=105
장치 및 이름을 검색하여 다음 값을 얻었습니다.
# Devices
for d in `seq 0 5`
do
readlink -f /sys/class/hwmon/hwmon$d/device | sed -e 's/^\/sys\///'
done
devices/pci0000:00/0000:00:03.0/0000:03:00.0
devices/pci0000:00/0000:00:07.0/0000:04:00.0
devices/virtual/hwmon/hwmon2/device
devices/platform/coretemp.0
devices/platform/coretemp.1
# Names:
for d in `seq 0 5`
do
cat /sys/class/hwmon/hwmon$d/name
done
nouveau
nouveau
dell_smm
coretemp
coretemp
fancontrol을 실행하면 다음과 같이 표시됩니다.
Device path of hwmon2 has changed
Configuration appears to be outdated, please run pwmconfig again
pwmconfig를 실행하면 팬 중 하나의 속도가 느려지는 소리가 들리므로 하드웨어에 영향을 미치는 것 같습니다. pwmconfig가 구성 파일을 작성한 후 fancontrol을 실행했지만 오류가 발생했습니다.
- 해당 줄을 주석 처리하면 /sys/class/hwmon/hwmon2/pwm1에서 읽을 수 없습니다(스크립트가 계속될 수 있도록 값을 수동으로 설정하세요).
- 그러면 동일한 파일에 쓸 수 없습니다
수정된 값을 파일에 수동으로 쓰면 거의 즉시 덮어쓰이는 것 같습니다. 하드웨어 센서가 해당 파일에 쓸 수 있을까요?
내가 뭘 잘못하고 있는지 어떤 아이디어가 있습니까?