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

bugzilla-daemon
2024-08-11T16:10:33Z

--- Comment #340 from Attila (attila@fulop.one) ---
(In reply to Denis Pauk from comment #338)
> (In reply to Attila from comment #336)
> > Hello,
> >
> > I've this board :
> >
> > # grep -e '' -n /sys/class/dmi/id/board_{name,vendor}
> > /sys/class/dmi/id/board_name:1:G15CF
> > /sys/class/dmi/id/board_vendor:1:ASUSTeK COMPUTER INC.
> >
> > # dmidecode -t baseboard
> > Base Board Information
> > Manufacturer: ASUSTeK COMPUTER INC.
> > Product Name: G15CF
> >
> > Can you please add my board to the supported motherboard list?
> >
> > BTW, I added "acpi_enforce_resources=lax" to GRUB_CMDLINE_LINUX and after
> > modprobe nct6775 I can see a new section in the output of sensors command
> > with the following details:
> > nct6798-isa-0290
> > Adapter: ISA adapter
> >
> > output of dmesg:
> > [ 3469.171468] nct6775: Found NCT6798D or compatible chip at 0x2e:0x290
> > [ 3469.171488] ACPI Warning: SystemIO range
> > 0x0000000000000295-0x0000000000000296 conflicts with OpRegion
> > 0x0000000000000290-0x0000000000000299 (\RMTW.SHWM) (20230628/utaddress-204)
> > [ 3469.171504] ACPI Warning: SystemIO range
> > 0x0000000000000295-0x0000000000000296 conflicts with OpRegion
> > 0x0000000000000290-0x0000000000000299 (\HWM) (20230628/utaddress-204)
> > [ 3469.171513] ACPI: OSL: Resource conflict; ACPI support missing from
> > driver?
> > [ 3469.171515] ACPI: OSL: Resource conflict: System may be unstable or
> > behave erratically
> >
> > Thanks!
>
> Could you please attach dump of bios by `acpidump -b -n DSDT`?
>
> Or could please also try to build a kernel with add your board to
> asus_msi_boards list in
> https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/
> tree/drivers/hwmon/nct6775-platform.c?h=hwmon-next#n1264 if its possible?

Hello,

I've attached the dump file.

- I've also managed to build and install the kernel with the suggested change.
- So, I added "G15CF", to line number 1272 and built the kernel.
- After installation of packages, I removed the "acpi_enforce_resources=lax"
from GRUB_CMDLINE_LINUX (in /etc/default/grub), ran "update-grub" command and
rebooted without secure boot.
- The module was not loaded automatically, but I could load it with modprobe.
- The output of dmesg is: "[ 37.371639] nct6775: Found NCT6798D or compatible
chip at 0x2e:0x290", there is no any warning.
- The output of sensor command contains the "nct6798-isa-0290" section.

Should I do any other test or is it fine?

Thanks