diff mbox series

ACPI: resource: At another DMI match for the TongFang GMxXGxx

Message ID 20231223145706.26218-1-hdegoede@redhat.com (mailing list archive)
State Mainlined, archived
Headers show
Series ACPI: resource: At another DMI match for the TongFang GMxXGxx | expand

Commit Message

Hans de Goede Dec. 23, 2023, 2:57 p.m. UTC
The TongFang GMxXGxx, which needs IRQ overriding for the keyboard to work,
is also sold as the Eluktronics RP-15 which does not use the standard
TongFang GMxXGxx DMI board_name.

Add an entry for this laptop to the irq1_edge_low_force_override[] DMI
table to make the internal keyboard functional.

Reported-by: Luis Acuna <ldacuna@gmail.com>
Cc: Werner Sembach <wse@tuxedocomputers.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
Note reportedy by private email so not Closes tag
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki Dec. 29, 2023, 5:45 p.m. UTC | #1
On Sat, Dec 23, 2023 at 3:57 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> The TongFang GMxXGxx, which needs IRQ overriding for the keyboard to work,
> is also sold as the Eluktronics RP-15 which does not use the standard
> TongFang GMxXGxx DMI board_name.
>
> Add an entry for this laptop to the irq1_edge_low_force_override[] DMI
> table to make the internal keyboard functional.
>
> Reported-by: Luis Acuna <ldacuna@gmail.com>
> Cc: Werner Sembach <wse@tuxedocomputers.com>
> Cc: All applicable <stable@vger.kernel.org>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> Note reportedy by private email so not Closes tag
> ---
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 9bd9f79cd409..c3536c236be9 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -510,6 +510,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "GMxXGxx"),
>                 },
>         },
> +       {
> +               /* TongFang GMxXGxx sold as Eluktronics Inc. RP-15 */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "Eluktronics Inc."),
> +                       DMI_MATCH(DMI_BOARD_NAME, "RP-15"),
> +               },
> +       },
>         {
>                 /* TongFang GM6XGxX/TUXEDO Stellaris 16 Gen5 AMD */
>                 .matches = {
> --

Applied as 6.8 material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 9bd9f79cd409..c3536c236be9 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -510,6 +510,13 @@  static const struct dmi_system_id irq1_edge_low_force_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "GMxXGxx"),
 		},
 	},
+	{
+		/* TongFang GMxXGxx sold as Eluktronics Inc. RP-15 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Eluktronics Inc."),
+			DMI_MATCH(DMI_BOARD_NAME, "RP-15"),
+		},
+	},
 	{
 		/* TongFang GM6XGxX/TUXEDO Stellaris 16 Gen5 AMD */
 		.matches = {