* [PATCH] ACPI: resource: Do IRQ override on GMxBGxx (XMG APEX 17 M23)
@ 2024-04-15 18:51 Guenter Schafranek
2024-04-22 16:23 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Schafranek @ 2024-04-15 18:51 UTC (permalink / raw)
To: rafael, lenb, linux-acpi, linux-kernel; +Cc: Guenter Schafranek
The XM APEX 17 M23 (TongFang?) GMxBGxx (got using `sudo dmidecode -s
baseboard-product-name`) needs IRQ overriding for the keyboard to work.
Adding an entry for this laptop to the override_table makes the internal
keyboard functional.
See https://www.reddit.com/r/XMG_gg/comments/15kd5pg/xmg_apex_17_m23_keyboard_not_working_on_linux/.
Patch was successfully tested with Arch Linux Kernel v6.8 under
Manjaro Linux v23.1.4.
Signed-off-by: Guenter Schafranek <gschafra@web.de>
---
drivers/acpi/resource.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 59423fe9d..c9af5d2f4 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -533,6 +533,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
* to have a working keyboard.
*/
static const struct dmi_system_id irq1_edge_low_force_override[] = {
+ {
+ /* XMG APEX 17 (M23) */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "GMxBGxx"),
+ },
+ },
{
/* TongFang GMxRGxx/XMG CORE 15 (M22)/TUXEDO Stellaris 15 Gen4 AMD */
.matches = {
--
2.44.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ACPI: resource: Do IRQ override on GMxBGxx (XMG APEX 17 M23)
2024-04-15 18:51 [PATCH] ACPI: resource: Do IRQ override on GMxBGxx (XMG APEX 17 M23) Guenter Schafranek
@ 2024-04-22 16:23 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2024-04-22 16:23 UTC (permalink / raw)
To: Guenter Schafranek; +Cc: rafael, lenb, linux-acpi, linux-kernel
On Mon, Apr 15, 2024 at 8:51 PM Guenter Schafranek <gschafra@web.de> wrote:
>
> The XM APEX 17 M23 (TongFang?) GMxBGxx (got using `sudo dmidecode -s
> baseboard-product-name`) needs IRQ overriding for the keyboard to work.
> Adding an entry for this laptop to the override_table makes the internal
> keyboard functional.
> See https://www.reddit.com/r/XMG_gg/comments/15kd5pg/xmg_apex_17_m23_keyboard_not_working_on_linux/.
> Patch was successfully tested with Arch Linux Kernel v6.8 under
> Manjaro Linux v23.1.4.
>
> Signed-off-by: Guenter Schafranek <gschafra@web.de>
> ---
> drivers/acpi/resource.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 59423fe9d..c9af5d2f4 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -533,6 +533,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
> * to have a working keyboard.
> */
> static const struct dmi_system_id irq1_edge_low_force_override[] = {
> + {
> + /* XMG APEX 17 (M23) */
> + .matches = {
> + DMI_MATCH(DMI_BOARD_NAME, "GMxBGxx"),
> + },
> + },
> {
> /* TongFang GMxRGxx/XMG CORE 15 (M22)/TUXEDO Stellaris 15 Gen4 AMD */
> .matches = {
> --
Applied as 6.10 material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-22 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15 18:51 [PATCH] ACPI: resource: Do IRQ override on GMxBGxx (XMG APEX 17 M23) Guenter Schafranek
2024-04-22 16:23 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®