From a37e778bb72034335298bc9bfab9bcfad2276456 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 17 Jan 2024 12:24:39 +0100 Subject: [PATCH] 5.4-stable patches added patches: acpi-resource-add-another-dmi-match-for-the-tongfang-gmxxgxx.patch --- ...r-dmi-match-for-the-tongfang-gmxxgxx.patch | 41 +++++++++++++++++++ queue-5.4/series | 1 + 2 files changed, 42 insertions(+) create mode 100644 queue-5.4/acpi-resource-add-another-dmi-match-for-the-tongfang-gmxxgxx.patch diff --git a/queue-5.4/acpi-resource-add-another-dmi-match-for-the-tongfang-gmxxgxx.patch b/queue-5.4/acpi-resource-add-another-dmi-match-for-the-tongfang-gmxxgxx.patch new file mode 100644 index 00000000000..e9101399f47 --- /dev/null +++ b/queue-5.4/acpi-resource-add-another-dmi-match-for-the-tongfang-gmxxgxx.patch @@ -0,0 +1,41 @@ +From df0cced74159c79e36ce7971f0bf250673296d93 Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Sat, 23 Dec 2023 15:57:06 +0100 +Subject: ACPI: resource: Add another DMI match for the TongFang GMxXGxx + +From: Hans de Goede + +commit df0cced74159c79e36ce7971f0bf250673296d93 upstream. + +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 +Signed-off-by: Hans de Goede +Cc: All applicable +Signed-off-by: Rafael J. Wysocki +Signed-off-by: Greg Kroah-Hartman +--- + drivers/acpi/resource.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +--- a/drivers/acpi/resource.c ++++ b/drivers/acpi/resource.c +@@ -456,6 +456,13 @@ static const struct dmi_system_id asus_l + }, + }, + { ++ /* 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 = { + DMI_MATCH(DMI_BOARD_NAME, "GM6XGxX"), diff --git a/queue-5.4/series b/queue-5.4/series index 5cfb217e993..2869373278a 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -29,3 +29,4 @@ input-xpad-add-razer-wolverine-v2-support.patch ida-fix-crash-in-ida_free-when-the-bitmap-is-empty.patch arm-sun9i-smp-fix-return-code-check-of-of_property_m.patch drm-crtc-fix-uninitialized-variable-use.patch +acpi-resource-add-another-dmi-match-for-the-tongfang-gmxxgxx.patch -- 2.47.3