2024-03-10 22:13:49

by Tobias Jakobi

[permalink] [raw]
Subject: [PATCH v2] hwmon: (dell-smm) Add Dell G5 5505 to DMI table

From: Tobias Jakobi <[email protected]>

Enables reading the speed of the CPU and GPU fan on the G5.

Signed-off-by: Tobias Jakobi <[email protected]>
---
drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 44aaf9b9191d..02405a1dd0a0 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1096,6 +1096,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5590"),
},
},
+ {
+ .ident = "Dell G5 5505",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+ },
+ },
{
.ident = "Dell Inspiron",
.matches = {
--
2.43.0



2024-03-14 17:14:29

by Armin Wolf

[permalink] [raw]
Subject: Re: [PATCH v2] hwmon: (dell-smm) Add Dell G5 5505 to DMI table

Am 10.03.24 um 23:07 schrieb [email protected]:

> From: Tobias Jakobi <[email protected]>
>
> Enables reading the speed of the CPU and GPU fan on the G5.
>
> Signed-off-by: Tobias Jakobi <[email protected]>
> ---
> drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index 44aaf9b9191d..02405a1dd0a0 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1096,6 +1096,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
> DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5590"),
> },
> },
> + {
> + .ident = "Dell G5 5505",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
> + },
> + },
> {
> .ident = "Dell Inspiron",
> .matches = {

Reviewed-by: Armin Wolf <[email protected]>


2024-03-20 17:51:30

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH v2] hwmon: (dell-smm) Add Dell G5 5505 to DMI table

On Sun, Mar 10, 2024 at 11:07:09PM +0100, [email protected] wrote:
> From: Tobias Jakobi <[email protected]>
>
> Enables reading the speed of the CPU and GPU fan on the G5.
>
> Signed-off-by: Tobias Jakobi <[email protected]>
> Reviewed-by: Armin Wolf <[email protected]>

Applied to hwmon-next.

Please note that I'll push the branch after the commit window closed.

Thanks,
Guenter