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

bugzilla-daemon
2021-11-10T22:36:49Z

Denis Pauk (pauk.denis@gmail.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #299483|0 |1
is obsolete| |

--- Comment #163 from Denis Pauk (pauk.denis@gmail.com) ---
Created attachment 299517
--> https://bugzilla.kernel.org/attachment.cgi?id=299517&action=edit
Rebased patch with all asus_* drivers and i2c 11.11.2021

Patch rebased over
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/tag/?h=hwmon-for-v5.16
tag.

Could someone also check i2c adapter? It should work for all boards with direct
access to NCT67xx or with known acpi mutex name and available for:
"PRIME B450M-GAMING",
"PRIME X370-PRO",
"PRIME X399-A",
"PRIME X470-PRO",
"PRIME Z270-A",
"PRIME Z370-A",
"ROG CROSSHAIR VI HERO",
"ROG STRIX B350-F GAMING",
"ROG STRIX B450-F GAMING",
"ROG STRIX X399-E GAMING",
"ROG STRIX Z270-E",
"ROG STRIX Z370-E",
"ROG STRIX Z490-E GAMING",
"TUF B450 PLUS GAMING",

As:
---
cat /sys/bus/i2c/devices/i2c-8/name
SMBus NCT67xx adapter at 0295
---

i2c bus can be checked by:
---
modprobe i2c-dev
i2cdetect 8
---

I2c adapter code is based on patch from OpenRGB repository.