* [PATCH] hwmon:(asus-ec-sensors) Add T_Sensor for ASUS WS X570-ACE/PRIME
@ 2022-03-26 10:24 Wei Shuyu
2022-04-03 21:37 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Wei Shuyu @ 2022-03-26 10:24 UTC (permalink / raw)
To: linux-hwmon; +Cc: wsy, eugene.shalygin, pauk.denis, jdelvare, linux, oleksandr
WS X570-ACE has a T_Sensor header on board according to manual[1].
I'm using a 10kΩ B=3435K thermsistor attached to the header of WS X570-ACE.
EC byte at 0x3d matches readings from BIOS sensor page and environment temperature.
[1]https://www.asus.com/Motherboards-Components/Motherboards/All-series/Pro-WS-X570-ACE/HelpDesk_Manual/
Signed-off-by: Wei Shuyu <wsy@dogben.com>
---
drivers/hwmon/asus-ec-sensors.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index b5cf0136360c..3ad8eadea68f 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -178,7 +178,8 @@ static const struct dmi_system_id asus_ec_dmi_table[] __initconst = {
SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET),
DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "Pro WS X570-ACE",
SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
- SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE),
+ SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET |
+ SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE),
DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE,
"ROG CROSSHAIR VIII DARK HERO",
SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_T_SENSOR |
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hwmon:(asus-ec-sensors) Add T_Sensor for ASUS WS X570-ACE/PRIME
2022-03-26 10:24 [PATCH] hwmon:(asus-ec-sensors) Add T_Sensor for ASUS WS X570-ACE/PRIME Wei Shuyu
@ 2022-04-03 21:37 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-04-03 21:37 UTC (permalink / raw)
To: Wei Shuyu; +Cc: linux-hwmon, eugene.shalygin, pauk.denis, jdelvare, oleksandr
On Sat, Mar 26, 2022 at 06:24:05PM +0800, Wei Shuyu wrote:
> WS X570-ACE has a T_Sensor header on board according to manual[1].
>
> I'm using a 10kΩ B=3435K thermsistor attached to the header of WS X570-ACE.
> EC byte at 0x3d matches readings from BIOS sensor page and environment temperature.
>
> [1]https://www.asus.com/Motherboards-Components/Motherboards/All-series/Pro-WS-X570-ACE/HelpDesk_Manual/
>
> Signed-off-by: Wei Shuyu <wsy@dogben.com>
Applied to hwmon-next.
Thanks,
Guenter
> ---
> drivers/hwmon/asus-ec-sensors.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
> index b5cf0136360c..3ad8eadea68f 100644
> --- a/drivers/hwmon/asus-ec-sensors.c
> +++ b/drivers/hwmon/asus-ec-sensors.c
> @@ -178,7 +178,8 @@ static const struct dmi_system_id asus_ec_dmi_table[] __initconst = {
> SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET),
> DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "Pro WS X570-ACE",
> SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
> - SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE),
> + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET |
> + SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE),
> DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE,
> "ROG CROSSHAIR VIII DARK HERO",
> SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_T_SENSOR |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-03 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26 10:24 [PATCH] hwmon:(asus-ec-sensors) Add T_Sensor for ASUS WS X570-ACE/PRIME Wei Shuyu
2022-04-03 21:37 ` Guenter Roeck
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.