In a previous post (here) I lamented the lack of new hardware being recognized in LEAP 15.6 (linux 6.4…). The solution was to update to at least linux 6.5 where the appropriate driver would be available.
I finally migrated to LEAP 16.0. I am dismayed to see no new list of sensor entries.
@jimbobrae It’s there and part of the nct6775 modules… If you run sensors-detect --auto it should show the chip address, if you modprobe the module, does it work else you may need to add a force_id=0x????
Oh, you might want to update to the newer kernel…6.12.0-160000.33-default
“Stable” in Leap refers to the distribution release model, not to tracking the latest upstream stable kernel. A distribution can be very stable while intentionally shipping an older kernel version. The stable kernel repository exists for users who need newer hardware support than the distribution kernel provides.
Some Super I/O chips contain embedded sensors.
Probing for Super-I/O at 0x2e/0x2f
...
Trying family `VIA/Winbond/Nuvoton/Fintek'... Yes
Found unknown chip with ID 0xd806
(logical device B has address 0x290, could be sensors)
...
$ modprobe nct6799 force_id=0xd806
modprobe: FATAL: Module nct6799 not found in directory /usr/lib/modules/6.12.0-160000.32-default
$ modprobe force_id=0xd806
modprobe: FATAL: Module force_id=0xd806 not found in directory /usr/lib/modules/6.12.0-160000.32-default
$
Okay. That set the min/max values. The system is still ignoring the presence of nct6799. I have “ignore” statements for inputs the have useless, incorrect, invalid values. Does it need a reboot?
@jimbobrae It will always, the chip information was incorporated into nct6775, so you could add a file /etc/modules-load.d/01-nct6799.conf containing nct6775
Not sure why the module isn’t automatically loaded (upon device detection) already. You don’t actually need dracut at all. It’s only required for drivers needed during early boot (for example, storage, filesystems, or unlocking an encrypted root filesystem).
For nct6775, just create /etc/modules-load.d/nct6775.conf and add nct6775. This tells systemd to load the module during boot.
However, if you really do want to use dracut, then create a config file eg /etc/dracut.conf.d/nct6775.conf with add_drivers+=" nct6775 ", then rebuild the initrd with sudo dracut -f.
BTW, I assume that you already have the relevant service active?
# systemctl status lm_sensors.service
× lm_sensors.service - Initialize hardware monitoring sensors
Loaded: loaded (/usr/lib/systemd/system/lm_sensors.service; enabled; preset: disabled)
Active: failed (Result: resources)
Invocation: 33e3d5c2ca3449dbaa065d9733718124
CPU: 0
Jun 06 17:25:54 sma-server3.sma.com systemd[1]: lm_sensors.service: Failed to load environment files: No such file or >
Jun 06 17:25:54 sma-server3.sma.com systemd[1]: lm_sensors.service: Failed to spawn 'start' task: No such file or dire>
Jun 06 17:25:54 sma-server3.sma.com systemd[1]: lm_sensors.service: Failed with result 'resources'.
Jun 06 17:25:54 sma-server3.sma.com systemd[1]: Failed to start Initialize hardware monitoring sensors.
#
I … don’t know. It would seem not. The sum of information is “a lack of unspecified resources.” lm_sensors is not in the repos.