Skip to content

Instantly share code, notes, and snippets.

@bakman2
Last active June 11, 2024 12:11
Show Gist options
  • Save bakman2/e801f342aaa7cade62d7bd54fd3eabd8 to your computer and use it in GitHub Desktop.
Save bakman2/e801f342aaa7cade62d7bd54fd3eabd8 to your computer and use it in GitHub Desktop.

PWM fan control in Linux with a Gigabyte Aorus motherboard

  • install lm-sensors with your package manager

sensors

If it won't show any fan/speed, continue

sensor-detect

Say YES to at least "Super I/O sensors"

Expected output:

Trying family `ITE'...                                      Yes
Found unknown chip with ID 0x8688

If similar, continue

git clone https://github.com/a1wong/it87.git

cd it87
sudo make clean
sudo make make install
sudo modprobe it87 ignore_resource_conflict=1 force_id=0x8622

sensors

The fans should show up now, if yes, continue to make them available at boot:

echo options it87 ignore_resource_conflict=1 force_id=0x8622 > /etc/modprobe.d/it87.conf
echo it87 >> /etc/modules
@Glideh
Copy link

Glideh commented May 14, 2024

Aorus B450 on Ubuntu 24.04 & sensors 3.6.0.
The it87 is detected with no tweak required but sensors shows only 3 fans with 0 RPM:

it8792-isa-0a60
Adapter: ISA adapter
in0:           1.79 V  (min =  +0.00 V, max =  +2.78 V)
in1:           1.29 V  (min =  +0.00 V, max =  +2.78 V)
in2:           1.17 V  (min =  +0.00 V, max =  +2.78 V)
+3.3V:         3.36 V  (min =  +0.00 V, max =  +5.56 V)
in4:           1.26 V  (min =  +0.00 V, max =  +2.78 V)
in5:           1.13 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.10 V  
fan1:           0 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
temp1:        +30.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +36.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +36.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
intrusion0:  ALARM

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +27.5°C  

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

amdgpu-pci-0c00
Adapter: PCI adapter
vddgfx:           N/A  
vddnb:            N/A  
edge:         +27.0°C  

nvme-pci-0b00
Adapter: PCI adapter
Composite:    +36.9°C  (low  =  -0.1°C, high = +84.8°C)
                       (crit = +94.8°C)
Sensor 1:     +36.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +42.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 8:     +36.9°C  (low  = -273.1°C, high = +65261.8°C)

Not sure someone else has this issue.

I also have 2 PCI cards (HBA & SFP+) with builtin sensors which don't show but that's another story.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment