* [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist
[not found] <20251128191650.6191-1-gabemarcano.ref@yahoo.com>
@ 2025-11-28 19:16 ` Gabriel Marcano
2025-11-28 22:11 ` Guenter Roeck
2025-12-01 19:08 ` Pali Rohár
0 siblings, 2 replies; 3+ messages in thread
From: Gabriel Marcano @ 2025-11-28 19:16 UTC (permalink / raw)
To: Pali Rohár, Guenter Roeck; +Cc: Gabriel Marcano, linux-hwmon, linux-kernel
Allow manual PWM control on Dell G5 5505 (and SE).
Signed-off-by: Gabriel Marcano <gabemarcano@yahoo.com>
---
I tested this on my Dell G5 5505 SE, although there only seem to be
three fan speeds regardless of the actual PWM setting (off, somewhere in
the middle, and max).
drivers/hwmon/dell-smm-hwmon.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index cbe1a74a3dee..683baf361c4c 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1533,6 +1533,15 @@ static const struct i8k_fan_control_data i8k_fan_control_data[] __initconst = {
};
static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
+ {
+ .ident = "Dell G5 5505",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+
+ },
+ .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+ },
{
.ident = "Dell Latitude 5480",
.matches = {
base-commit: 765e56e41a5af2d456ddda6cbd617b9d3295ab4e
--
2.52.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist
2025-11-28 19:16 ` [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist Gabriel Marcano
@ 2025-11-28 22:11 ` Guenter Roeck
2025-12-01 19:08 ` Pali Rohár
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2025-11-28 22:11 UTC (permalink / raw)
To: Gabriel Marcano; +Cc: Pali Rohár, linux-hwmon, linux-kernel
On Fri, Nov 28, 2025 at 11:16:44AM -0800, Gabriel Marcano wrote:
> Allow manual PWM control on Dell G5 5505 (and SE).
>
> Signed-off-by: Gabriel Marcano <gabemarcano@yahoo.com>
> ---
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist
2025-11-28 19:16 ` [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist Gabriel Marcano
2025-11-28 22:11 ` Guenter Roeck
@ 2025-12-01 19:08 ` Pali Rohár
1 sibling, 0 replies; 3+ messages in thread
From: Pali Rohár @ 2025-12-01 19:08 UTC (permalink / raw)
To: Gabriel Marcano; +Cc: Guenter Roeck, linux-hwmon, linux-kernel
On Friday 28 November 2025 11:16:44 Gabriel Marcano wrote:
> Allow manual PWM control on Dell G5 5505 (and SE).
>
> Signed-off-by: Gabriel Marcano <gabemarcano@yahoo.com>
Acked-by: Pali Rohár <pali@kernel.org>
> ---
> I tested this on my Dell G5 5505 SE, although there only seem to be
> three fan speeds regardless of the actual PWM setting (off, somewhere in
> the middle, and max).
>
> drivers/hwmon/dell-smm-hwmon.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index cbe1a74a3dee..683baf361c4c 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1533,6 +1533,15 @@ static const struct i8k_fan_control_data i8k_fan_control_data[] __initconst = {
> };
>
> static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
> + {
> + .ident = "Dell G5 5505",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
> +
> + },
> + .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
> + },
> {
> .ident = "Dell Latitude 5480",
> .matches = {
>
> base-commit: 765e56e41a5af2d456ddda6cbd617b9d3295ab4e
> --
> 2.52.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-01 19:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20251128191650.6191-1-gabemarcano.ref@yahoo.com>
2025-11-28 19:16 ` [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist Gabriel Marcano
2025-11-28 22:11 ` Guenter Roeck
2025-12-01 19:08 ` Pali Rohár
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox