Ubuntu 22.04下sensors-detect无法检测加载模块导致fancontrol/pwmconfig无法使用的求助
大家好,我最近在尝试用fancontrol和pwmconfig控制电脑风扇时遇到了问题,想跟大家详细说说情况,希望能得到帮忙:
我的硬件配置
- AMD Ryzen 7 5800X 8核处理器
- 32 GB DDR4内存
- GIGABYTE X570S AORUS ELITE AX主板
- GIGABYTE NVIDIA GeForce RTX 3060 Ti Rev 2.0 8GB显卡
- NZXT Kraken x53 AIO水冷(带2个风扇+1个水泵)
- Corsair Commander Pro XT,搭配5个PWM+RGB风扇和1个温度传感器
系统信息
我运行的是Ubuntu 22.04 LTS:
VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy
内核版本为:
Linux 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
问题详情
我想通过fancontrol/pwmconfig来调节风扇转速,但一直无法正常工作。我猜测问题出在sensors-detect的检测过程中——全程没有加载任何相关模块,最后直接跳过了模块配置步骤。
之后运行pwmconfig时,会直接报错:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
我现在想知道怎么让sensors-detect能加载到正确的模块,这样至少能实现部分风扇的监控或控制功能。
下面是sensors-detect的完整输出:
sensors-detect version 3.6.0System: Gigabyte Technology Co., Ltd. X570S AORUS ELITE AX [-CF]Kernel: 5.15.0-58-generic x86_64Processor: AMD Ryzen 7 5800X 8-Core Processor (25/33/2)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): y
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 16h thermal sensors... No
AMD Family 17h thermal sensors... Success!
(driver `k10temp')
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Hygon Family 18h thermal sensors... No
Intel digital thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... NoSome 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): y
Probing for Super-I/O at 0x2e/0x2f
Trying familyNational Semiconductor/ITE'... No Trying familySMSC'... No
Trying familyVIA/Winbond/Nuvoton/Fintek'... No Trying familyITE'... Yes
Found unknown chip with ID 0x8689
Probing for Super-I/O at 0x4e/0x4f
Trying familyNational Semiconductor/ITE'... No Trying familySMSC'... No
Trying familyVIA/Winbond/Nuvoton/Fintek'... No Trying familyITE'... NoSome systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): y
Probing forIPMI BMC KCS' at 0xca0... No Probing forIPMI BMC SMIC' at 0xca8... NoSome 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): y
Probing forNational Semiconductor LM78' at 0x290... No Probing forNational Semiconductor LM79' at 0x290... No
Probing forWinbond W83781D' at 0x290... No Probing forWinbond W83782D' at 0x290... NoLastly, 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): y
Using driveri2c-piix4' for device 0000:00:14.0: AMD KERNCZ SMBus Next adapter: NVIDIA i2c adapter 1 at b:00.0 (i2c-0) Do you want to scan it? (yes/NO/selectively): y Next adapter: NVIDIA i2c adapter 5 at b:00.0 (i2c-1) Do you want to scan it? (yes/NO/selectively): y y Next adapter: NVIDIA i2c adapter 6 at b:00.0 (i2c-2) Do you want to scan it? (yes/NO/selectively): y Next adapter: NVIDIA i2c adapter 7 at b:00.0 (i2c-3) Do you want to scan it? (yes/NO/selectively): y Client found at address 0x4a Probing forNational Semiconductor LM75'... No
Probing forNational Semiconductor LM75A'... No Probing forDallas Semiconductor DS75'... No
Probing forNational Semiconductor LM77'... No Probing forAnalog Devices ADT7410/ADT7420'... No
Probing forAnalog Devices ADT7411'... No Probing forMaxim MAX6642'... No
Probing forTexas Instruments TMP435'... No Probing forNational Semiconductor LM73'... No
Probing forNational Semiconductor LM92'... No Probing forNational Semiconductor LM76'... No
Probing forMaxim MAX6633/MAX6634/MAX6635'... No Probing forNXP/Philips SA56004'... No
Client found at address 0x4b
Probing forNational Semiconductor LM75'... No Probing forNational Semiconductor LM75A'... No
Probing forDallas Semiconductor DS75'... No Probing forNational Semiconductor LM77'... No
Probing forAnalog Devices ADT7410/ADT7420'... No Probing forAnalog Devices ADT7411'... No
Probing forMaxim MAX6642'... No Probing forTexas Instruments TMP435'... No
Probing forNational Semiconductor LM92'... No Probing forNational Semiconductor LM76'... No
Probing forMaxim MAX6633/MAX6634/MAX6635'... No Probing forNXP/Philips SA56004'... No
Probing for `Analog Devices ADT7481'... No
Next adapter: NVIDIA i2c adapter 8 at b:00.0 (i2c-4)
Do you want to scan it? (yes/NO/selectively): yNow follows a summary of the probes I have just done.
Just press ENTER to continue:Driver `k10temp' (autoloaded):
- Chip `AMD Family 17h thermal sensors' (confidence: 9)
No modules to load, skipping modules configuration.
Unloading cpuid... OK
备注:内容来源于stack exchange,提问作者user1168561

