Skip to contentSkip to conversation

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

PATCH Applied Hans de Goede 2 participants 2 messages Dec 23, 2023 – Dec 29, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: resource: At another DMI match for the TongFang GMxXGxx

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.

---
Note reportedy by private email so not Closes tag

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +7 -0
index 9bd9f79cd409..c3536c236be9 100644
@@ -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 = {
Signature · 1 line
2.41.0
maintainer Applied
#1 lore raw
Quoted 27 lines · Hans de Goede

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.

---
Note reportedy by private email so not Closes tag

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +1 -0
index 9bd9f79cd409..c3536c236be9 100644
@@ -510,6 +510,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "GMxXGxx"),
                },
        },
+       {

drivers/acpi/resource.c static const struct dmi_system_id irq1_edge_low_force_override[] = {

Quoted 10 lines
drivers/acpi/resource.c +6 -1
+               /* 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!