diff mbox series

ACPI: resource: IRQ override for Eluktronics MECH-17

Message ID 20250127093902.328361-1-gannon.kolding@gmail.com
State Accepted
Commit 607ab6f85f4194b644ea95ac5fe660ef575db3b4
Headers show
Series ACPI: resource: IRQ override for Eluktronics MECH-17 | expand

Commit Message

Gannon Kolding Jan. 27, 2025, 9:39 a.m. UTC
The Eluktronics MECH-17 (GM7RG7N) needs IRQ overriding for the
keyboard to work. Adding a DMI_MATCH entry for this laptop model
makes the internal keyboard function normally.

Signed-off-by: Gannon Kolding <gannon.kolding@gmail.com>
---
 drivers/acpi/resource.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rafael J. Wysocki Feb. 5, 2025, 8:13 p.m. UTC | #1
On Mon, Jan 27, 2025 at 10:39 AM Gannon Kolding
<gannon.kolding@gmail.com> wrote:
>
> The Eluktronics MECH-17 (GM7RG7N) needs IRQ overriding for the
> keyboard to work. Adding a DMI_MATCH entry for this laptop model
> makes the internal keyboard function normally.
>
> Signed-off-by: Gannon Kolding <gannon.kolding@gmail.com>
> ---
>  drivers/acpi/resource.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 90aaec923889..b4cd14e7fa76 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -563,6 +563,12 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "RP-15"),
>                 },
>         },
> +       {
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "Eluktronics Inc."),
> +                       DMI_MATCH(DMI_BOARD_NAME, "MECH-17"),
> +               },
> +       },
>         {
>                 /* TongFang GM6XGxX/TUXEDO Stellaris 16 Gen5 AMD */
>                 .matches = {
> --

Applied as 6.14-rc material, thanks!
Gannon Kolding Feb. 5, 2025, 8:54 p.m. UTC | #2
Great, thanks Rafael!

Gannon

On Wed, Feb 5, 2025 at 1:14 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
>
> On Mon, Jan 27, 2025 at 10:39 AM Gannon Kolding
> <gannon.kolding@gmail.com> wrote:
> >
> > The Eluktronics MECH-17 (GM7RG7N) needs IRQ overriding for the
> > keyboard to work. Adding a DMI_MATCH entry for this laptop model
> > makes the internal keyboard function normally.
> >
> > Signed-off-by: Gannon Kolding <gannon.kolding@gmail.com>
> > ---
> >  drivers/acpi/resource.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> > index 90aaec923889..b4cd14e7fa76 100644
> > --- a/drivers/acpi/resource.c
> > +++ b/drivers/acpi/resource.c
> > @@ -563,6 +563,12 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
> >                         DMI_MATCH(DMI_BOARD_NAME, "RP-15"),
> >                 },
> >         },
> > +       {
> > +               .matches = {
> > +                       DMI_MATCH(DMI_SYS_VENDOR, "Eluktronics Inc."),
> > +                       DMI_MATCH(DMI_BOARD_NAME, "MECH-17"),
> > +               },
> > +       },
> >         {
> >                 /* TongFang GM6XGxX/TUXEDO Stellaris 16 Gen5 AMD */
> >                 .matches = {
> > --
>
> Applied as 6.14-rc material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 90aaec923889..b4cd14e7fa76 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -563,6 +563,12 @@  static const struct dmi_system_id irq1_edge_low_force_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "RP-15"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Eluktronics Inc."),
+			DMI_MATCH(DMI_BOARD_NAME, "MECH-17"),
+		},
+	},
 	{
 		/* TongFang GM6XGxX/TUXEDO Stellaris 16 Gen5 AMD */
 		.matches = {