使用 Ubuntu 22.04 和 MSI 主板安装 Fancontrol 时出现问题

使用 Ubuntu 22.04 和 MSI 主板安装 Fancontrol 时出现问题

我想使用 fancontrol 包来控制风扇速度。但我很快就遇到了这个问题:

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

经过一番研究,我意识到我需要acpi_enforce_resources=lax补充/etc/default/grub

不幸的是,这并没有解决我的问题。我做了更多的研究并检查了我的sensors,结果如下:

Adapter: ISA adapter
Package id 0:  +37.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 4:        +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 8:        +34.0°C  (high = +80.0°C, crit = +100.0°C)
Core 12:       +34.0°C  (high = +80.0°C, crit = +100.0°C)
Core 16:       +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 20:       +34.0°C  (high = +80.0°C, crit = +100.0°C)
Core 24:       +34.0°C  (high = +80.0°C, crit = +100.0°C)
Core 28:       +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 32:       +36.0°C  (high = +80.0°C, crit = +100.0°C)
Core 33:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 34:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 35:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 36:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 37:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 38:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 39:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 40:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 41:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 42:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 43:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 44:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 45:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 46:       +35.0°C  (high = +80.0°C, crit = +100.0°C)
Core 47:       +35.0°C  (high = +80.0°C, crit = +100.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +105.0°C)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +39.0°C  

nvme-pci-0300
Adapter: PCI adapter
Composite:    +45.9°C  (low  =  -0.1°C, high = +79.8°C)
                       (crit = +81.8°C)
Sensor 1:     +45.9°C  (low  = -273.1°C, high = +65261.8°C) 

可以看到,没有粉丝信息。运行sensors-detect并同意所有内容后,我得到以下输出:

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

我感觉 coretemp 之后应该还有另一个驱动程序,但找不到任何解决方案。因此,我恳请论坛帮忙 :-)

我的电脑上全新安装了 Ubuntu 22.04。我使用 MSI MPG Z790 主板。此外,我还有 2 个 RTX3090 GPU 和 525 驱动程序。

编辑:这是命令的超级 I/O 部分的输出sensors-detect

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): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found unknown chip with ID 0xd592

答案1

关键是这里的信息

Found unknown chip with ID 0xd592

当您搜索该确切错误时,您会找到一些资源来提供帮助。看起来这块主板有一个 I/O 控制器 NUVOTON NCT6687-R 控制器芯片。好消息是,如果我们手动加载旧 Nuvoton 控制器的驱动程序,它们可能会与之兼容。您可以查看nct可用的驱动程序https://github.com/torvalds/linux/tree/master/drivers/hwmon

nct6683.c我们在里面看到

#define SIO_NCT6687_ID      0xd590

看起来在 5.11 下添加了对它的支持nct6683,而 Ubuntu 22.04 从 5.15 开始,现在使用 5.19,因此它应该可以在所有 22.04 版本中工作。这肯定是 的问题sensors-detect

测试一下

sudo modprobe nct6683

看看它是否出现在 中sensors。如果有效,只需nct6683在 中添加它自己的行即可/etc/modules

相关内容