hwmon: (asus-ec-sensors) add ROG STRIX B650E-E GAMING WIFI
Subsystems (3)
Eugene Shalygin
maintainerPATCH 1/1 hwmon: (asus-ec-sensors) add ROG STRIX B650E-E GAMING WIFI
From: Veronika Kossmann <[email protected]>
Add support for ROG STRIX B650E-E GAMING WIFI
--- Documentation/hwmon/asus_ec_sensors.rst | 1 + drivers/hwmon/asus-ec-sensors.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
Documentation/hwmon/asus_ec_sensors.rst +1 -0
@@ -31,6 +31,7 @@ Supported boards: * ROG MAXIMUS Z690 FORMULA * ROG STRIX B550-E GAMING * ROG STRIX B550-I GAMING + * ROG STRIX B650E-E GAMING WIFI * ROG STRIX B650E-I GAMING WIFI * ROG STRIX B850-I GAMING WIFI * ROG STRIX X470-F GAMING
drivers/hwmon/asus-ec-sensors.c +10 -1
@@ -274,7 +274,7 @@ static const struct ec_sensor_info sensors_family_amd_600[] = { [ec_sensor_temp_cpu_package] = EC_SENSOR("CPU Package", hwmon_temp, 1, 0x00, 0x31), [ec_sensor_temp_mb] = - EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x32), + EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x32), [ec_sensor_temp_vrm] = EC_SENSOR("VRM", hwmon_temp, 1, 0x00, 0x33), [ec_sensor_temp_t_sensor] =
@@ -616,6 +616,13 @@ static const struct ec_board_info board_info_strix_b550_i_gaming = { .family = family_amd_500_series, }; +static const struct ec_board_info board_info_strix_b650e_e_gaming = { + .sensors =SENSOR_TEMP_VRM |SENSOR_SET_TEMP_CHIPSET_CPU_MB | +SENSOR_IN_CPU_CORE , + .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_b650e_i_gaming = { .sensors =SENSOR_TEMP_VRM |SENSOR_TEMP_T_SENSOR |SENSOR_SET_TEMP_CHIPSET_CPU_MB |SENSOR_IN_CPU_CORE ,
@@ -861,6 +868,8 @@ static const struct dmi_system_id dmi_table[] = { &board_info_strix_b550_e_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B550-I GAMING" , &board_info_strix_b550_i_gaming), +DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B650E-E GAMING WIFI" , + &board_info_strix_b650e_e_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B650E-I GAMING WIFI" , &board_info_strix_b650e_i_gaming), DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX B850-I GAMING WIFI",
Signature · 1 line
2.53.0
Guenter Roeck
maintainerQuoted 6 lines · Eugene Shalygin
From: Veronika Kossmann <[email protected]>
Add support for ROG STRIX B650E-E GAMING WIFI
Signed-off-by Veronika Kossmann <[email protected]>Signed-off-by Eugene Shalygin <[email protected]>
Sashiko has a problem with this patch:
https://sashiko.dev/#/patchset/20260403210343.1380437-1-eugene.shalygin%40gmail.com
I never paid attention, but seems to me that it has a point. Assuming the concern is valid, that makes me wonder: Do other boards have similar problems ?
Thanks,
Guenter
Quoted 53 lines
--- Documentation/hwmon/asus_ec_sensors.rst | 1 + drivers/hwmon/asus-ec-sensors.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-)Documentation/hwmon/asus_ec_sensors.rst +1
-0@@ -31,6 +31,7 @@ Supported boards: * ROG MAXIMUS Z690 FORMULA * ROG STRIX B550-E GAMING * ROG STRIX B550-I GAMING + * ROG STRIX B650E-E GAMING WIFI * ROG STRIX B650E-I GAMING WIFI * ROG STRIX B850-I GAMING WIFI * ROG STRIX X470-F GAMINGdrivers/hwmon/asus-ec-sensors.c +10
-1@@ -274,7 +274,7 @@ static const struct ec_sensor_info sensors_family_amd_600[] = { [ec_sensor_temp_cpu_package] = EC_SENSOR("CPU Package", hwmon_temp, 1, 0x00, 0x31), [ec_sensor_temp_mb] = - EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x32), + EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x32), [ec_sensor_temp_vrm] = EC_SENSOR("VRM", hwmon_temp, 1, 0x00, 0x33), [ec_sensor_temp_t_sensor] =@@ -616,6 +616,13 @@ static const struct ec_board_info board_info_strix_b550_i_gaming = { .family = family_amd_500_series, }; +static const struct ec_board_info board_info_strix_b650e_e_gaming = { + .sensors =SENSOR_TEMP_VRM |SENSOR_SET_TEMP_CHIPSET_CPU_MB | +SENSOR_IN_CPU_CORE , + .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_b650e_i_gaming = { .sensors =SENSOR_TEMP_VRM |SENSOR_TEMP_T_SENSOR |SENSOR_SET_TEMP_CHIPSET_CPU_MB |SENSOR_IN_CPU_CORE ,@@ -861,6 +868,8 @@ static const struct dmi_system_id dmi_table[] = { &board_info_strix_b550_e_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B550-I GAMING" , &board_info_strix_b550_i_gaming), +DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B650E-E GAMING WIFI" , + &board_info_strix_b650e_e_gaming),DMI_EXACT_MATCH_ASUS_BOARD_NAME ("ROG STRIX B650E-I GAMING WIFI" , &board_info_strix_b650e_i_gaming), DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX B850-I GAMING WIFI",
Eugene Shalygin
maintainerQuoted 1 line · Guenter Roeck
Sashiko has a problem with this patch:
I must admit now, that these _SET macros were a bad idea, it turned out to be too easy to misread. I'm going to remove them.
Veronika, could you, please, show us the output from sensors with this version of the code?
Cheers,
Eugene
Quoted 10 lines · Eugene Shalygin
Quoted 1 line · Guenter Roeck
Sashiko has a problem with this patch:
I must admit now, that these
_SETmacros were a bad idea, it turned out to be too easy to misread. I'm going to remove them.Veronika, could you, please, show us the output from sensors with this version of the code?
Cheers,
Eugene
Of course:
$sensors asusec-isa-000a
asusec-isa-000a
Adapter: ISA adapter
CPU: +37.0°C
Motherboard: +38.0°C
VRM: +51.0°C
These are relevant to actual temperatures.
Best wishes,
Veronika
Eugene Shalygin
maintainerHey Veronika,
Quoted 12 lines · Veronika Kossmann
Of course:
$sensors asusec-isa-000a
asusec-isa-000aAdapter: ISA adapter CPU: +37.0°C Motherboard: +38.0°C VRM: +51.0°CThese are relevant to actual temperatures.
Thanks! So, there is no output for CPU current and chipset temperature. Could you, please, test that CPU current displays reasonable values with the following additional change:
asus-ec-sensors.c +0 -0
@@ -284,6 +284,7 @@ static const struct ec_sensor_info
sensors_family_amd_600[] = {
EC_SENSOR("VRM", hwmon_temp, 1, 0x00, 0x33),
[ec_sensor_temp_t_sensor] =
EC_SENSOR("T_Sensor", hwmon_temp, 1, 0x00, 0x36),
+ [ec_sensor_curr_cpu] = EC_SENSOR("CPU", hwmon_curr, 1, 0x00, 0xf4), [ec_sensor_fan_cpu_opt] =
EC_SENSOR("CPU_Opt", hwmon_fan, 2, 0x00, 0xb0),
[ec_sensor_temp_water_in] =
At least it should correlate with CPU load.
And we need to replace SENSOR_SET_TEMP_CHIPSET_CPU_MB with SENSOR_TEMP_CPU | SENSOR_TEMP_MB.
Cheers,
Eugene