2024-03-29 15:31:45

by Bernhard Rosenkränzer

[permalink] [raw]
Subject: [PATCH] platform/x86: acer-wmi: Add support for Acer PH18-71

Add Acer Predator PH18-71 to acer_quirks with predator_v4
to support mode button and fan speed sensor.

Signed-off-by: Bernhard Rosenkränzer <[email protected]>
---
drivers/platform/x86/acer-wmi.c | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index ee2e164f86b9c..38c932df6446a 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -597,6 +597,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
},
.driver_data = &quirk_acer_predator_v4,
},
+ {
+ .callback = dmi_matched,
+ .ident = "Acer Predator PH18-71",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Predator PH18-71"),
+ },
+ .driver_data = &quirk_acer_predator_v4,
+ },
{
.callback = set_force_caps,
.ident = "Acer Aspire Switch 10E SW3-016",
--
2.44.0



2024-04-02 18:07:18

by Ilpo Järvinen

[permalink] [raw]
Subject: Re: [PATCH] platform/x86: acer-wmi: Add support for Acer PH18-71

On Fri, 29 Mar 2024, Bernhard Rosenkränzer wrote:

> Add Acer Predator PH18-71 to acer_quirks with predator_v4
> to support mode button and fan speed sensor.
>
> Signed-off-by: Bernhard Rosenkränzer <[email protected]>
> ---
> drivers/platform/x86/acer-wmi.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> index ee2e164f86b9c..38c932df6446a 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -597,6 +597,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
> },
> .driver_data = &quirk_acer_predator_v4,
> },
> + {
> + .callback = dmi_matched,
> + .ident = "Acer Predator PH18-71",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "Predator PH18-71"),
> + },
> + .driver_data = &quirk_acer_predator_v4,
> + },
> {
> .callback = set_force_caps,
> .ident = "Acer Aspire Switch 10E SW3-016",
>

Reviewed-by: Ilpo Järvinen <[email protected]>

--
i.

2024-04-08 15:42:11

by Ilpo Järvinen

[permalink] [raw]
Subject: Re: [PATCH] platform/x86: acer-wmi: Add support for Acer PH18-71

On Fri, 29 Mar 2024 16:28:00 +0100, Bernhard Rosenkränzer wrote:

> Add Acer Predator PH18-71 to acer_quirks with predator_v4
> to support mode button and fan speed sensor.
>
>


Thank you for your contribution, it has been applied to my local
review-ilpo branch. Note it will show up in the public
platform-drivers-x86/review-ilpo branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: acer-wmi: Add support for Acer PH18-71
commit: b45d0d01da542be280d935d87b71465028cdcb1f

--
i.