Skip to contentSkip to conversation

hwmon: (asus_wmi_ec_sensors) Support T_Sensor on Prime X570-Pro

PATCH Applied Anthony DeRossi 3 participants 4 messages Jan 11, 2022 – Jan 14, 2022 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (asus_wmi_ec_sensors) Support T_Sensor on Prime X570-Pro

Asus Prime X570-Pro motherboards have a T_Sensor header that can be connected to an optional temperature probe.

---
 drivers/hwmon/asus_wmi_ec_sensors.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hwmon/asus_wmi_ec_sensors.c +2 -1
index 22a1459305a7..a3a2f014dec0 100644
@@ -112,7 +112,8 @@ struct asus_wmi_data {
 /* boards with EC support */
 static struct asus_wmi_data sensors_board_PW_X570_P = {
 	.known_board_sensors = {
-		SENSOR_TEMP_CHIPSET, SENSOR_TEMP_CPU, SENSOR_TEMP_MB, SENSOR_TEMP_VRM,
+		SENSOR_TEMP_CHIPSET, SENSOR_TEMP_CPU, SENSOR_TEMP_MB,
+		SENSOR_TEMP_T_SENSOR, SENSOR_TEMP_VRM,
 		SENSOR_FAN_CHIPSET,
 		SENSOR_MAX
 	},
Signature · 1 line
2.34.1
#1 lore raw

Thank you, Anthony, for the fix. It was also included in the v3 patch for a new EC sensors driver that should replace this one. Perhaps I can enable the T_Sensor for each B550/X570 ASUS model that provides this connector? Seems like it's always found in the EC registers. Before you submitted this patch another user provided information for this board with no T_Sensor, and I thought this board was the exception.

Best regards,
Eugene

#2 lore raw
Quoted 8 lines · Eugene Shalygin

Thank you, Anthony, for the fix. It was also included in the v3 patch for a new EC sensors driver that should replace this one. Perhaps I can enable the T_Sensor for each B550/X570 ASUS model that provides this connector? Seems like it's always found in the EC registers. Before you submitted this patch another user provided information for this board with no T_Sensor, and I thought this board was the exception.

If the header is present on a B550/X570 board I assume the sensor is in the EC registers, but I don't have any other models to test.

Anthony

maintainer Applied
#3 lore raw
In reply to Anthony DeRossi
Quoted 4 lines · Anthony DeRossi

Asus Prime X570-Pro motherboards have a T_Sensor header that can be connected to an optional temperature probe.

Applied to hwmon-next.

Guenter

Quoted 18 lines
---
 drivers/hwmon/asus_wmi_ec_sensors.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hwmon/asus_wmi_ec_sensors.c +2 -1
index 22a1459305a7..a3a2f014dec0 100644
@@ -112,7 +112,8 @@ struct asus_wmi_data {
 /* boards with EC support */
 static struct asus_wmi_data sensors_board_PW_X570_P = {
 	.known_board_sensors = {
-		SENSOR_TEMP_CHIPSET, SENSOR_TEMP_CPU, SENSOR_TEMP_MB, SENSOR_TEMP_VRM,
+		SENSOR_TEMP_CHIPSET, SENSOR_TEMP_CPU, SENSOR_TEMP_MB,
+		SENSOR_TEMP_T_SENSOR, SENSOR_TEMP_VRM,
 		SENSOR_FAN_CHIPSET,
 		SENSOR_MAX
 	},