手动控制风扇转速,将温度保持在30°C左右
slackware吧
全部回复
仅看楼主
level 7
unibsd💤 楼主
fancontrol 的配置文件由 pwmconfig 生成,
pwmconfig 依赖于 sensors ,但是执行 sensors 命令时,
只显示CPU和显卡的温度,不显示风扇的转速
执行 sensors-detect 时没有检测出风扇设备,也没提示需要加载其他驱动模块
请问大家,怎么让 sensors 命令显示出风扇的转速呢
2015年08月02日 14点08分 1
level 7
第一,主板、风扇需要有四针的接口
第二,主板的电源芯片有对应的驱动
通常第一是问题,第二不是问题
2015年08月10日 07点08分 2
我拆开看了,是四针的接口
2015年08月10日 14点08分
level 7
unibsd💤 楼主
2015年08月10日 14点08分 3
level 7
unibsd💤 楼主
[root@diagmap:~]
# uname -a
Linux diagmap 3.10.17 #2 SMP Fri Feb 14 16:45:28 CST 2014 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux
[root@diagmap:~]
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Stepping: 7
CPU MHz: 1320.000
BogoMIPS: 4789.13
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
[root@diagmap:~]
# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 04)
05:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
[root@diagmap:~]
# lsmod
Module Size Used by
ipv6 292446 42
cpufreq_ondemand 8799 0
lp 9851 0
ppdev 5862 0
parport_pc 19332 0
parport 30389 3 lp,ppdev,parport_pc
fuse 73848 3
uvcvideo 71742 0
videobuf2_vmalloc 2912 1 uvcvideo
videobuf2_memops 1879 1 videobuf2_vmalloc
videobuf2_core 27437 1 uvcvideo
videodev 102061 2 uvcvideo,videobuf2_core
hid_generic 1145 0
usbhid 37080 0
hid 87523 2 hid_generic,usbhid
ath9k 87291 0
ath9k_common 1951 1 ath9k
ath9k_hw 369458 2 ath9k_common,ath9k
ath 15545 3 ath9k_common,ath9k,ath9k_hw
intel_powerclamp 8391 0
joydev 9751 0
nouveau 951981 1
coretemp 5870 0
mac80211 429423 1 ath9k
cfg80211 380228 3 ath,ath9k,mac80211
kvm_intel 126236 0
kvm 363491 1 kvm_intel
i915 567446 2
intel_agp 10864 1 i915
intel_gtt 12600 2 i915,intel_agp
ttm 63381 1 nouveau
drm_kms_helper 35118 2 i915,nouveau
drm 229054 6 ttm,i915,drm_kms_helper,nouveau
rfkill 15522 3 cfg80211
mperf 1163 0
video 11451 2 i915,nouveau
processor 27543 0
thermal 8644 0
agpgart 27267 4 drm,ttm,intel_agp,intel_gtt
thermal_sys 22993 4 video,intel_powerclamp,thermal,processor
mei_me 7728 0
freq_table 2628 2 cpufreq_ondemand,thermal_sys
i2c_algo_bit 5351 2 i915,nouveau
i2c_dev 5843 0
mxm_wmi 1427 1 nouveau
snd_hda_codec_hdmi 29622 1
evdev 9648 9
ehci_pci 3688 0
i2c_i801 13860 0
wmi 8243 2 mxm_wmi,nouveau
mei 42963 1 mei_me
i2c_core 20936 8 drm,i915,i2c_i801,i2c_dev,drm_kms_helper,i2c_algo_bit,nouveau,videodev
ehci_hcd 39275 1 ehci_pci
hwmon 1337 3 coretemp,nouveau,thermal_sys
snd_hda_codec_conexant 35276 1
crc32_pclmul 2883 0
crc32c_intel 14113 0
ghash_clmulni_intel 4333 0
battery 11579 0
psmouse 81058 0
xhci_hcd 88528 0
ac 4311 0
snd_hda_intel 34861 0
serio_raw 4585 0
atl1c 34906 0
button 4696 2 i915,nouveau
snd_hda_codec 143196 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 6388 1 snd_hda_codec
snd_pcm 76009 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
lpc_ich 12841 0
microcode 13140 0
snd_page_alloc 7098 2 snd_pcm,snd_hda_intel
snd_timer 18614 1 snd_pcm
snd 58630 7 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore 5354 1 snd
loop 18479 0
[root@diagmap:~
#
2015年08月10日 14点08分 5
level 7
unibsd💤 楼主
[root@diagmap:~]
# yes | sensors-detect
sensors-detect revision 6170 (2013-05-20 21:25:22 +0200)
System: Hasee PAN4 [1.0] (laptop)
Board: PEGATRON CORPORATION A24
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No
Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'... Yes
Found unknown chip with ID 0x0202
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No
Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): Using driver `i2c-i801' for device 0000:00:1f.3: Intel Cougar Point (PCH)
Next adapter: SMBus I801 adapter at e040 (i2c-0)
Do you want to scan it? (YES/no/selectively): Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.
You should now start the lm_sensors service to load the required
kernel modules.
Unloading cpuid... OK
[root@diagmap:~]
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +66.0°C (crit = +99.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +66.0°C (high = +86.0°C, crit = +100.0°C)
Core 0: +66.0°C (high = +86.0°C, crit = +100.0°C)
Core 1: +66.0°C (high = +86.0°C, crit = +100.0°C)
nouveau-pci-0100
Adapter: PCI adapter
temp1: +65.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)
[root@diagmap:~]
#
2015年08月10日 14点08分 6
1