* [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X670E-A GAMING WIFI
@ 2026-08-30 13:03 ` Asai Neko via B4 Relay
0 siblings, 0 replies; 4+ messages in thread
From: Asai Neko @ 2026-08-30 13:03 UTC (permalink / raw)
To: Guenter Roeck, Jonathan Corbet, Shuah Khan, Eugene Shalygin
Cc: linux-hwmon, linux-doc, linux-kernel, Asai Neko
The ROG STRIX X670E-A GAMING WIFI is missing from the driver's DMI
table. Consequently, the board lookup fails with -ENODEV,
asus_ec_sensors does not load, and no asusec hwmon device or EC
temperature readings are available.
Add a board definition using the AMD 600-series register layout and the
ACPI mutex used by the board firmware. Expose CPU, CPU package,
motherboard, and VRM temperatures, and add the board to the supported
hardware documentation.
Before the change, there was no asusec device under /sys/class/hwmon and
there were no EC readings. After the change, the driver registered four
sensors with representative readings of 57-61 C for CPU, 68-71 C for
CPU package, 43-44 C for motherboard, and 49-52 C for VRM.
The readings correlated with nct6775 and k10temp. Repeated polling with
both hwmon drivers loaded produced no EC access, bank-switch, concurrent
access, or locking errors.
Tested on an ASUS ROG STRIX X670E-A GAMING WIFI with BIOS 2704.
Signed-off-by: Asai Neko <sugar@sne.moe>
---
Add asus-ec-sensors support for the ASUS ROG STRIX X670E-A GAMING WIFI.
Testing details and the rationale are included in the patch commit
message.
Background:
https://github.com/lm-sensors/lm-sensors/issues/474
---
Documentation/hwmon/asus_ec_sensors.rst | 1 +
drivers/hwmon/asus-ec-sensors.c | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index 2c68a343a2ed..ebed9f8d2adb 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -45,6 +45,7 @@ Supported boards:
* ROG STRIX X570-E GAMING WIFI II
* ROG STRIX X570-F GAMING
* ROG STRIX X570-I GAMING
+ * ROG STRIX X670E-A GAMING WIFI
* ROG STRIX X670E-E GAMING WIFI
* ROG STRIX X670E-I GAMING WIFI
* ROG STRIX X870-F GAMING WIFI
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index e43645e884fd..850c8e297397 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -752,6 +752,13 @@ static const struct ec_board_info board_info_strix_x570_i_gaming = {
.family = family_amd_500_series,
};
+static const struct ec_board_info board_info_strix_x670e_a_gaming_wifi = {
+ .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
+ SENSOR_TEMP_MB | SENSOR_TEMP_VRM,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0,
+ .family = family_amd_600_series,
+};
+
static const struct ec_board_info board_info_strix_x670e_e_gaming_wifi = {
.sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
SENSOR_TEMP_MB | SENSOR_TEMP_VRM,
@@ -962,6 +969,8 @@ static const struct dmi_system_id dmi_table[] = {
&board_info_strix_x570_f_gaming),
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-I GAMING",
&board_info_strix_x570_i_gaming),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-A GAMING WIFI",
+ &board_info_strix_x670e_a_gaming_wifi),
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-E GAMING WIFI",
&board_info_strix_x670e_e_gaming_wifi),
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-I GAMING WIFI",
---
base-commit: 75f2c0b3690702c90863c2e138cb5520670845ea
change-id: 20260830-asus-x670e-a-hwmon-fix-a6546e0e1472
Best regards,
--
Asai Neko <sugar@sne.moe>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X670E-A GAMING WIFI
@ 2026-08-30 13:03 ` Asai Neko via B4 Relay
0 siblings, 0 replies; 4+ messages in thread
From: Asai Neko via B4 Relay @ 2026-08-30 13:03 UTC (permalink / raw)
To: Guenter Roeck, Jonathan Corbet, Shuah Khan, Eugene Shalygin
Cc: linux-hwmon, linux-doc, linux-kernel, Asai Neko
From: Asai Neko <sugar@sne.moe>
The ROG STRIX X670E-A GAMING WIFI is missing from the driver's DMI
table. Consequently, the board lookup fails with -ENODEV,
asus_ec_sensors does not load, and no asusec hwmon device or EC
temperature readings are available.
Add a board definition using the AMD 600-series register layout and the
ACPI mutex used by the board firmware. Expose CPU, CPU package,
motherboard, and VRM temperatures, and add the board to the supported
hardware documentation.
Before the change, there was no asusec device under /sys/class/hwmon and
there were no EC readings. After the change, the driver registered four
sensors with representative readings of 57-61 C for CPU, 68-71 C for
CPU package, 43-44 C for motherboard, and 49-52 C for VRM.
The readings correlated with nct6775 and k10temp. Repeated polling with
both hwmon drivers loaded produced no EC access, bank-switch, concurrent
access, or locking errors.
Tested on an ASUS ROG STRIX X670E-A GAMING WIFI with BIOS 2704.
Signed-off-by: Asai Neko <sugar@sne.moe>
---
Add asus-ec-sensors support for the ASUS ROG STRIX X670E-A GAMING WIFI.
Testing details and the rationale are included in the patch commit
message.
Background:
https://github.com/lm-sensors/lm-sensors/issues/474
---
Documentation/hwmon/asus_ec_sensors.rst | 1 +
drivers/hwmon/asus-ec-sensors.c | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index 2c68a343a2ed..ebed9f8d2adb 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -45,6 +45,7 @@ Supported boards:
* ROG STRIX X570-E GAMING WIFI II
* ROG STRIX X570-F GAMING
* ROG STRIX X570-I GAMING
+ * ROG STRIX X670E-A GAMING WIFI
* ROG STRIX X670E-E GAMING WIFI
* ROG STRIX X670E-I GAMING WIFI
* ROG STRIX X870-F GAMING WIFI
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index e43645e884fd..850c8e297397 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -752,6 +752,13 @@ static const struct ec_board_info board_info_strix_x570_i_gaming = {
.family = family_amd_500_series,
};
+static const struct ec_board_info board_info_strix_x670e_a_gaming_wifi = {
+ .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
+ SENSOR_TEMP_MB | SENSOR_TEMP_VRM,
+ .mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0,
+ .family = family_amd_600_series,
+};
+
static const struct ec_board_info board_info_strix_x670e_e_gaming_wifi = {
.sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
SENSOR_TEMP_MB | SENSOR_TEMP_VRM,
@@ -962,6 +969,8 @@ static const struct dmi_system_id dmi_table[] = {
&board_info_strix_x570_f_gaming),
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-I GAMING",
&board_info_strix_x570_i_gaming),
+ DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-A GAMING WIFI",
+ &board_info_strix_x670e_a_gaming_wifi),
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-E GAMING WIFI",
&board_info_strix_x670e_e_gaming_wifi),
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X670E-I GAMING WIFI",
---
base-commit: 75f2c0b3690702c90863c2e138cb5520670845ea
change-id: 20260830-asus-x670e-a-hwmon-fix-a6546e0e1472
Best regards,
--
Asai Neko <sugar@sne.moe>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X670E-A GAMING WIFI
2026-08-30 13:03 ` Asai Neko via B4 Relay
(?)
@ 2026-08-30 13:11 ` sashiko-bot
-1 siblings, 0 replies; 4+ messages in thread
From: sashiko-bot @ 2026-08-30 13:11 UTC (permalink / raw)
To: Asai Neko; +Cc: linux-hwmon
> From: Asai Neko <sugar@sne.moe>
>
> The ROG STRIX X670E-A GAMING WIFI is missing from the driver's DMI
> table. Consequently, the board lookup fails with -ENODEV,
> asus_ec_sensors does not load, and no asusec hwmon device or EC
> temperature readings are available.
>
> Add a board definition using the AMD 600-series register layout and the
> ACPI mutex used by the board firmware. Expose CPU, CPU package,
> motherboard, and VRM temperatures, and add the board to the supported
> hardware documentation.
>
> Before the change, there was no asusec device under /sys/class/hwmon and
> there were no EC readings. After the change, the driver registered four
> sensors with representative readings of 57-61 C for CPU, 68-71 C for
> CPU package, 43-44 C for motherboard, and 49-52 C for VRM.
>
> The readings correlated with nct6775 and k10temp. Repeated polling with
> both hwmon drivers loaded produced no EC access, bank-switch, concurrent
> access, or locking errors.
>
> Tested on an ASUS ROG STRIX X670E-A GAMING WIFI with BIOS 2704.
>
> Signed-off-by: Asai Neko <sugar@sne.moe>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260830-asus-x670e-a-hwmon-fix-v1-1-cf0a680ccbe2@sne.moe?part=1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X670E-A GAMING WIFI
2026-08-30 13:03 ` Asai Neko via B4 Relay
(?)
(?)
@ 2026-08-31 14:18 ` Eugene Shalygin
-1 siblings, 0 replies; 4+ messages in thread
From: Eugene Shalygin @ 2026-08-31 14:18 UTC (permalink / raw)
To: sugar
Cc: Guenter Roeck, Jonathan Corbet, Shuah Khan, linux-hwmon,
linux-doc, linux-kernel
Hi,
On Sun, 30 Aug 2026 at 15:03, Asai Neko via B4 Relay
<devnull+sugar.sne.moe@kernel.org> wrote:
> +static const struct ec_board_info board_info_strix_x670e_a_gaming_wifi = {
> + .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
> + SENSOR_TEMP_MB | SENSOR_TEMP_VRM,
> + .mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0,
> + .family = family_amd_600_series,
> +};
The board_info_strix_x670e_a_gaming_wifi struct does not seem to
differ from board_info_strix_x670e_e_gaming_wifi just below. Please
reference the existing one in the DMI_EXACT_MATCH_ASUS_BOARD_NAME().
Thank you,
Eugene
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-08-31 14:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-30 13:03 [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X670E-A GAMING WIFI Asai Neko
2026-08-30 13:03 ` Asai Neko via B4 Relay
2026-08-30 13:11 ` sashiko-bot
2026-08-31 14:18 ` Eugene Shalygin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.