[Bug 204807] Hardware monitoring sensor nct6798d doesn't work unless acpi_enforce_resources=lax is enabled

bugzilla-daemon
2023-01-27T00:49:32Z

--- Comment #286 from Nikita Koval (nikodll@gmail.com) ---
(In reply to Denis Pauk from comment #285)
> Created attachment 303655 [details]
> Asus WMI for nct6775 v6.1 base (2023.01.26)
>

Thanks for the patch! It didn't work right away with my current 6.1.7-gentoo
kernel though, but I was able to apply it against vanilla v6.0. The sensors
from 6798D chip seem working now (at least the ones that I care about, like fan
values):

nct6798-isa-0290
Adapter: ISA adapter
in0: 144.00 mV (min = +0.00 V, max = +1.74 V)
in1: 1.01 V (min = +0.00 V, max = +0.00 V) ALARM
in2: 3.41 V (min = +0.00 V, max = +0.00 V) ALARM
in3: 3.33 V (min = +0.00 V, max = +0.00 V) ALARM
in4: 1000.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in5: 0.00 V (min = +0.00 V, max = +0.00 V) ALARM
in6: 0.00 V (min = +0.00 V, max = +0.00 V)
in7: 3.41 V (min = +0.00 V, max = +0.00 V) ALARM
in8: 3.23 V (min = +0.00 V, max = +0.00 V) ALARM
in9: 528.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in10: 504.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in11: 0.00 V (min = +0.00 V, max = +0.00 V) ALARM
in12: 1.06 V (min = +0.00 V, max = +0.00 V) ALARM
in13: 392.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in14: 896.00 mV (min = +0.00 V, max = +0.00 V) ALARM
fan1: 0 RPM (min = 0 RPM)
fan2: 1124 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
fan7: 0 RPM (min = 0 RPM)
SYSTIN: +28.0°C (high = +80.0°C, hyst = +75.0°C) sensor =
thermistor
CPUTIN: +38.0°C (high = +80.0°C, hyst = +75.0°C) sensor =
thermistor
AUXTIN0: -128.0°C sensor = thermistor
AUXTIN1: +25.0°C sensor = thermistor
AUXTIN2: +127.0°C sensor = thermistor
AUXTIN3: +32.0°C sensor = thermistor
PECI Agent 0 Calibration: +38.5°C
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +55.0°C
PCH_CPU_TEMP: +0.0°C
intrusion0: ALARM
intrusion1: ALARM
beep_enable: disabled

I will be using this kernel for a while and will report if I notice any related
issues.