Skip to content

Commit 7592b79

Browse files
flyingOwlrafaeljw
authored andcommitted
ACPI: resource: do IRQ override on XMG Core 15
The Schenker XMG CORE 15 (M22) is Ryzen-6 based and needs IRQ overriding for the keyboard to work. Adding an entry for this laptop to the override_table makes the internal keyboard functional again. Signed-off-by: Erik Schumacher <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 057b40f commit 7592b79

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/acpi/resource.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,17 @@ static const struct dmi_system_id lenovo_82ra[] = {
446446
{ }
447447
};
448448

449+
static const struct dmi_system_id schenker_gm_rg[] = {
450+
{
451+
.ident = "XMG CORE 15 (M22)",
452+
.matches = {
453+
DMI_MATCH(DMI_SYS_VENDOR, "SchenkerTechnologiesGmbH"),
454+
DMI_MATCH(DMI_BOARD_NAME, "GMxRGxx"),
455+
},
456+
},
457+
{ }
458+
};
459+
449460
struct irq_override_cmp {
450461
const struct dmi_system_id *system;
451462
unsigned char irq;
@@ -460,6 +471,7 @@ static const struct irq_override_cmp override_table[] = {
460471
{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
461472
{ lenovo_82ra, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
462473
{ lenovo_82ra, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
474+
{ schenker_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
463475
};
464476

465477
static bool acpi_dev_irq_override(u32 gsi, u8 triggering, u8 polarity,

0 commit comments

Comments
 (0)