frankcrawford / it87

202 stars 39 forks source link

IT8665E on PRIME X470-PRO: No such device #27

Closed checooh closed 2 months ago

checooh commented 2 months ago

I'm trying to use this driver with my PRIME X470-PRO motherboard. Chip markings and sensors-detect say that this is IT8665E. I use NixOS with nixpkgs-unstable. According to package nix-file, it uses "unstable-2022-02-26" version, that is built from this hash. The comment in the file says "This is the same upstream as the AUR uses."

The problem is that when I try to run sudo modprobe it87 force_id=0x8665 ignore_resource_conflict=1 command, I get an modprobe: ERROR: could not insert 'it87': No such device error. However, if I change the ID to 0x8628, the module loads and works, but I only see 4 channels, instead of 6 that I should see. There is also asus-wmi-sensors driver, that shows all 6 channels, but doesn't allow to control the fans, only see RPM values.

Here is abridged output of sensors:

it8628-isa-0290
Adapter: ISA adapter
in0:           1.37 V  (min =  +1.52 V, max =  +1.14 V)
in1:           2.74 V  (min =  +0.42 V, max =  +1.72 V)
in2:           2.22 V  (min =  +0.84 V, max =  +2.47 V)
+5V:           4.37 V  (min =  +3.58 V, max =  +0.55 V)
in4:          36.00 mV (min =  +2.64 V, max =  +2.02 V)
in5:          36.00 mV (min =  +2.94 V, max =  +3.06 V)
in6:          36.00 mV (min =  +1.43 V, max =  +1.36 V)
3VSB:          3.70 V  (min =  +5.35 V, max =  +5.69 V)
Vbat:          3.53 V  
fan1:         915 RPM  (min =   32 RPM)
fan3:         579 RPM  (min =  275 RPM)
fan4:         795 RPM  (min =   -1 RPM)
fan5:           0 RPM  (min =   -1 RPM)
temp1:        +37.0°C  (low  = +75.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +30.0°C  (low  = -19.0°C, high = -27.0°C)  sensor = thermistor
temp3:        +32.0°C  (low  = -85.0°C, high = +86.0°C)  sensor = thermistor
temp6:        +32.0°C  
intrusion0:  OK

asus_wmi_sensors-virtual-0
Adapter: Virtual device
CPU Core Voltage:          1.24 V  
+12V Voltage:             12.10 V  
+5V Voltage:               4.96 V  
3VSB Voltage:              3.36 V  
CPU Fan:                  917 RPM
Chassis Fan 1:            595 RPM
Chassis Fan 2:            579 RPM
Chassis Fan 3:            795 RPM
AIO Pump:                   0 RPM
Water Pump:                 0 RPM
CPU OPT:                 1095 RPM
CPU Temperature:          +37.0°C  
Motherboard Temperature:  +30.0°C  
Chipset Temperature:      +40.0°C  
Tsensor 1 Temperature:   +216.0°C  

What shall I do to debug this issue?

checooh commented 2 months ago

I have tried to build the newest version and insmod it and everything started to work as I wanted. Turns out, the version in nixpkgs (and in AUR) is too old.