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

bugzilla-daemon
2023-01-28T22:01:19Z

--- Comment #289 from Robert Kling (robert.kling@gmail.com) ---
(In reply to Denis Pauk from comment #288)
> Created attachment 303660 [details]
> Asus WMI for nct6775 v6.1 base (2023.01.28)
>
> (In reply to Robert Kling from comment #287)
> > Created attachment 303659 [details]
> > dsdt.dat Z170 PRO GAMING/AURA
> >
> > Hello, would it be possible to add support for Asus Z170 PRO GAMING/AURA?
> >
> > cat /sys/class/dmi/id/board_name:
> > Z170 PRO GAMING/AURA
>
> Could you please check now? There will be used mutex lock for access to
> sensors.
>
> Note, i have also checked such boards and it will be without support in any
> currently known way as no mutex used inside access methods:
> * Z170I PRO GAMING
> * B150I PRO GAMING/WIFI/AURA
> * B150I PRO GAMING/AURA
> * Z97-PRO GAMER (no definition like nct6775 sensor)

The patch didn't apply to 6.1.8 cleanly, some mainboards were already mentioned
in nct6775-platform.c. I tried to adapt and it applied/compiled.

But sensors show no fan speed & voltages.
dmesg showing:

2023-01-28T22:44:58+0100 kernel: nct6775: No such ASUS mutex: \_GPE.MUT0
2023-01-28T22:44:58+0100 kernel: nct6775: Enabling hardware monitor logical
device mappings.
2023-01-28T22:44:58+0100 kernel: nct6775: Found NCT6793D or compatible chip at
0x2e:0x290
2023-01-28T22:44:58+0100 kernel: ACPI Warning: SystemIO range
0x0000000000000295-0x0000000000000296 conflicts with OpRegion
0x0000000000000290-0x0000000000000299 (\_GPE.HWM) (20220331/utaddress-204)
2023-01-28T22:44:58+0100 kernel: ACPI: OSL: Resource conflict; ACPI support
missing from driver?

Not sure if I made an error, I'll try 6.1.0 when I have some more time.