Reading Sensors on Gigabyte X570

Unfortunately, the https://www.gigabyte.com/Motherboard/X570-AORUS-MASTER-rev-11-12 is only partially supported by the Linux Kernel. Not all sensors are accessible because of the lack of a specific driver for one of the two Super I/O chips.

So I’ve asked Gemini what I can do about it, but the proposed solution sounds a little risky to me, considering this computer and CachyOS are my daily drivers since quite a while now.

I’d even say CachyOS is GOAT :slight_smile:

Gemini wants me to install this package/driver from the AUR:

# Assuming you have an AUR helper like 'paru' or 'yay'
paru -S it87-dkms

Well, I try not to install too much sh*t from the AUR, but I guess that’s gonna be okay…?

Then it says “You must prevent the kernel from blocking the driver due to resource conflicts.”

/etc/modprobe.d/it87.conf

options it87 ignore_resource_conflict=1

Finally I would apply a new Kernel Parameter in my /boot/limine.conf

:CachyOS
    PROTOCOL=linux
    KERNEL_PATH=boot:///vmlinuz-linux-cachyos
    MODULE_PATH=boot:///initramfs-linux-cachyos.img
    # Add the parameter at the end of the existing command line:
    KERNEL_CMDLINE=root=UUID=your-uuid-here rw rootflags=subvol=@ acpi_enforce_resources=lax

Gemini issues this warning. That’s why I’m seeking advice from real humans :slight_smile:

Stability: Since this relies on it87-dkms (a community-maintained driver), there is a small risk that a major kernel update could break the module compilation. If your sensors disappear after a system update, simply rebuild the DKMS modules (sudo dkms autoinstall).

Do you think this procedure is safe? I don’t want to lose all the nice optimizations tweaks of the CachyOS-Kernel.

Below is the output of “sensors” it’s missing quite a lot and some values seem wrong. I have to two thermistor sensors to check water temps.

it8792-isa-0a60
Adapter: ISA adapter
in0:           1.78 V  (min =  +0.00 V, max =  +2.78 V)
in1:         719.00 mV (min =  +0.00 V, max =  +2.78 V)
in2:         981.00 mV (min =  +0.00 V, max =  +2.78 V)
in3:          76.00 mV (min =  +0.00 V, max =  +2.78 V)
in4:           1.78 V  (min =  +0.00 V, max =  +2.78 V)
in5:           1.18 V  (min =  +0.00 V, max =  +2.78 V)
in6:           2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
3VSB:          3.33 V  (min =  +0.00 V, max =  +5.56 V)
Vbat:          3.07 V  
fan1:        1634 RPM  (min =   10 RPM)
fan2:         867 RPM  (min =    0 RPM)
fan3:         875 RPM  (min =    0 RPM)
temp1:        +47.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +30.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +47.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
pwm1:             44%  (freq = 23437 Hz)  MANUAL CONTROL
pwm2:             46%  (freq = 23437 Hz)  MANUAL CONTROL
pwm3:             46%  (freq = 23437 Hz)  MANUAL CONTROL
intrusion0:  ALARM

r8169_0_700:00-mdio-0
Adapter: MDIO adapter
temp1:        +51.0°C  (high = +120.0°C)

nvme-pci-0100
Adapter: PCI adapter
Composite:    +50.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +50.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +54.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  
temp2:        +16.8°C  

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

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +49.4°C  
Tccd1:        +45.8°C  
Tccd2:        +39.5°C  

nvme-pci-0400
Adapter: PCI adapter
Composite:    +51.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +51.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +57.9°C  (low  = -273.1°C, high = +65261.8°C)