Skip to contentSkip to conversation

add ROG STRIX X870E-E GAMING WIFI

PATCH Applied Eugene Shalygin 2 participants 5 messages Sep 23, 2025 – Sep 24, 2025

Subsystems (3)
lore
Share & tools
lore

Eugene Shalygin

author maintainer
#0 lore raw

cover add ROG STRIX X870E-E GAMING WIFI

This adds the new board and increases the ACPI mutex lock timeout so that the driver works with the ROG STRIX X870E-E GAMING WIFI board without triggering frequent lock failures.

Ben Copeland (2):
hwmon: (asus-ec-sensors) add ROG STRIX X870E-E GAMING WIFI
hwmon: (asus-ec-sensors) increase timeout for locking ACPI mutex

 Documentation/hwmon/asus_ec_sensors.rst |  1 +
 drivers/hwmon/asus-ec-sensors.c         | 12 +++++++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.51.0
author maintainer
#1 lore raw

PATCH 1/2 hwmon: (asus-ec-sensors) add ROG STRIX X870E-E GAMING WIFI

From: Ben Copeland <[email protected]>

Add support for ROG STRIX X870E-E GAMING WIFI

This board uses the same sensor configuration as the ProArt X870E-CREATOR WIFI motherboard.

---
 Documentation/hwmon/asus_ec_sensors.rst |  1 +
 drivers/hwmon/asus-ec-sensors.c         | 10 ++++++++++
 2 files changed, 11 insertions(+)
Documentation/hwmon/asus_ec_sensors.rst +1 -0
index 4a99b65338bf..a5a58c00c322 100644
@@ -36,6 +36,7 @@ Supported boards:
  * ROG STRIX X670E-E GAMING WIFI
  * ROG STRIX X670E-I GAMING WIFI
  * ROG STRIX X870-I GAMING WIFI
+ * ROG STRIX X870E-E GAMING WIFI
  * ROG STRIX Z390-F GAMING
  * ROG STRIX Z490-F GAMING
  * ROG STRIX Z690-A GAMING WIFI D4
drivers/hwmon/asus-ec-sensors.c +10 -0
index dff13132847c..ce3ea0333fd9 100644
@@ -635,6 +635,14 @@ static const struct ec_board_info board_info_strix_x870_i_gaming_wifi = {
 	.family = family_amd_800_series,
 };
 
+static const struct ec_board_info board_info_strix_x870e_e_gaming_wifi = {
+	.sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
+		SENSOR_TEMP_MB | SENSOR_TEMP_VRM |
+		SENSOR_FAN_CPU_OPT,
+	.mutex_path = ASUS_HW_ACCESS_MUTEX_SB_PCI0_SBRG_SIO1_MUT0,
+	.family = family_amd_800_series,
+};
+
 static const struct ec_board_info board_info_strix_z390_f_gaming = {
 	.sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
 		SENSOR_TEMP_T_SENSOR |
@@ -777,6 +785,8 @@ static const struct dmi_system_id dmi_table[] = {
 					&board_info_strix_x670e_i_gaming_wifi),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X870-I GAMING WIFI",
 					&board_info_strix_x870_i_gaming_wifi),
+	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X870E-E GAMING WIFI",
+					&board_info_strix_x870e_e_gaming_wifi),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z390-F GAMING",
 					&board_info_strix_z390_f_gaming),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z490-F GAMING",
Signature · 1 line
2.51.0
author maintainer
#3 lore raw

PATCH 2/2 hwmon: (asus-ec-sensors) increase timeout for locking ACPI mutex

In reply to Eugene Shalygin

From: Ben Copeland <[email protected]>

Some motherboards require more time to acquire the ACPI mutex, causing "Failed to acquire mutex" messages to appear in the kernel log. Increase the timeout from 500ms to 800ms to accommodate these cases.

---
 drivers/hwmon/asus-ec-sensors.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/asus-ec-sensors.c +1 -1
index ce3ea0333fd9..34a8f6b834c9 100644
@@ -49,7 +49,7 @@ static char *mutex_path_override;
  */
 #define ASUS_EC_MAX_BANK	3
 
-#define ACPI_LOCK_DELAY_MS	500
+#define ACPI_LOCK_DELAY_MS	800
 
 /* ACPI mutex for locking access to the EC for the firmware */
 #define ASUS_HW_ACCESS_MUTEX_ASMX	"\\AMW0.ASMX"
Signature · 1 line
2.51.0
maintainer Applied
#4 lore raw

Re: [PATCH 2/2] hwmon: (asus-ec-sensors) increase timeout for locking ACPI mutex

In reply to Eugene Shalygin
Quoted 8 lines · Eugene Shalygin

From: Ben Copeland <[email protected]>

Some motherboards require more time to acquire the ACPI mutex, causing "Failed to acquire mutex" messages to appear in the kernel log. Increase the timeout from 500ms to 800ms to accommodate these cases.

Applied.

Guenter