* [PATCH] ACPI: EC: Add quirk for the HP Pavilion Gaming 15-cx0041ur
@ 2022-10-29 22:20 Mia Kanashi
2022-11-03 18:43 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Mia Kanashi @ 2022-10-29 22:20 UTC (permalink / raw)
To: rafael; +Cc: lenb, linux-kernel, linux-acpi, Mia Kanashi
Added GPE quirk entry for the HP Pavilion Gaming 15-cx0041ur.
There is a quirk entry for the 15-cx0xxx laptops, but this one has
different DMI_PRODUCT_NAME.
Notably backlight keys and other ACPI events now function correctly.
Signed-off-by: Mia Kanashi <chad@redpilled.dev>
---
drivers/acpi/ec.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 9b42628cf21b..9751b84c1b22 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -1875,6 +1875,16 @@ static const struct dmi_system_id ec_dmi_table[] __initconst = {
DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Gaming Laptop 15-cx0xxx"),
},
},
+ {
+ /*
+ * HP Pavilion Gaming Laptop 15-cx0041ur
+ */
+ .callback = ec_honor_dsdt_gpe,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP 15-cx0041ur"),
+ },
+ },
{
/*
* Samsung hardware
--
2.37.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI: EC: Add quirk for the HP Pavilion Gaming 15-cx0041ur
2022-10-29 22:20 [PATCH] ACPI: EC: Add quirk for the HP Pavilion Gaming 15-cx0041ur Mia Kanashi
@ 2022-11-03 18:43 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-11-03 18:43 UTC (permalink / raw)
To: Mia Kanashi; +Cc: rafael, lenb, linux-kernel, linux-acpi
On Sun, Oct 30, 2022 at 12:20 AM Mia Kanashi <chad@redpilled.dev> wrote:
>
> Added GPE quirk entry for the HP Pavilion Gaming 15-cx0041ur.
> There is a quirk entry for the 15-cx0xxx laptops, but this one has
> different DMI_PRODUCT_NAME.
>
> Notably backlight keys and other ACPI events now function correctly.
>
> Signed-off-by: Mia Kanashi <chad@redpilled.dev>
> ---
> drivers/acpi/ec.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
> index 9b42628cf21b..9751b84c1b22 100644
> --- a/drivers/acpi/ec.c
> +++ b/drivers/acpi/ec.c
> @@ -1875,6 +1875,16 @@ static const struct dmi_system_id ec_dmi_table[] __initconst = {
> DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Gaming Laptop 15-cx0xxx"),
> },
> },
> + {
> + /*
> + * HP Pavilion Gaming Laptop 15-cx0041ur
> + */
> + .callback = ec_honor_dsdt_gpe,
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "HP"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "HP 15-cx0041ur"),
> + },
> + },
> {
> /*
> * Samsung hardware
> --
Applied as 6.2 material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-03 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-29 22:20 [PATCH] ACPI: EC: Add quirk for the HP Pavilion Gaming 15-cx0041ur Mia Kanashi
2022-11-03 18:43 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®