[quote][size=2][url=forum.php?mod=redirect&goto=findpost&pid=226046&ptid=49010][color=#999999]刚会飞的牛 发表于 2026-1-1 20:02[/color][/url][/size]
俺也一样,不知道怎么办[/quote]
方法1:使用 modprobe 自动加载
echo nct6775 | sudo tee /etc/modules-load.d/nct6775.conf
设备重启后即可正常加载。
本次执行一次 modprobe nct6775 即可加载上驱动。
方法2:使用 systemd 自动加载
创建文件 /etc/systemd/system/nct6775-load-module.service,内容为
[Unit]
Description=Load nct6775 EC kernel module
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/modprobe nct6775
ExecStop=/sbin/modprobe -r nct6775
[Install]
WantedBy=multi-user.target
执行命令允许开机运行:systemctl daemon-reload;systemctl enable --now nct6775-load-module.service
检查驱动是否加载成功,执行命令 lsmod | grep nct6775 有输出即确认驱动加载成功。