* Re: [PATCH] drivers: fix keyboard not working under some laptops
@ 2023-04-29 22:32 Luke Jones
2023-04-29 22:36 ` Luke Jones
0 siblings, 1 reply; 3+ messages in thread
From: Luke Jones @ 2023-04-29 22:32 UTC (permalink / raw)
To: hqp1203hqp; +Cc: linux-kernel
Hi,
Because this is a quirk sepcific to the FA507NV:
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> + DMI_MATCH(DMI_BOARD_NAME, "FA507NV"),
> + },
perhaps the patch title should be renamed to reflect that?
I have a user with the same issue, I will confirm it fixes the problem.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] drivers: fix keyboard not working under some laptops
2023-04-29 22:32 [PATCH] drivers: fix keyboard not working under some laptops Luke Jones
@ 2023-04-29 22:36 ` Luke Jones
0 siblings, 0 replies; 3+ messages in thread
From: Luke Jones @ 2023-04-29 22:36 UTC (permalink / raw)
To: hqp1203hqp; +Cc: linux-kernel
Hi
Additionally the patch isn't generated correctly.
In your main git of Linux kernel where the last commit is your patch do
`git format-patch HEAD^`
You should then end up with
0001-drivers-fix-keyboard-not-working-under-some-laptops.patch
On Sun, Apr 30 2023 at 10:32:03 +1200, Luke Jones <luke@ljones.dev>
wrote:
> Hi,
>
> Because this is a quirk sepcific to the FA507NV:
>
> > + .matches = {
> > + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> > + DMI_MATCH(DMI_BOARD_NAME, "FA507NV"),
> > + },
>
> perhaps the patch title should be renamed to reflect that?
>
> I have a user with the same issue, I will confirm it fixes the
> problem.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] drivers: fix keyboard not working under some laptops
@ 2023-03-14 14:30 hqp1203
0 siblings, 0 replies; 3+ messages in thread
From: hqp1203 @ 2023-03-14 14:30 UTC (permalink / raw)
To: linux-kernel; +Cc: hqp1203
On that Linux kernel, my laptop's built-in keyboard isn't working. It is
suspected that the architecture of higher vresion of AMD's chip(the spec
ific CPU model is 7735h)conflicts with IRQ of the current Linux Kernel.
The solution is to add my laptop model number under drivers/acpi/resourc-
e.c to skip IRQ overrides. After modification, it was found that the key-
board worked properly.
My laptop model is the ASUS TUF Gaming A15, specifically FA507NV.
Signed-off-by: hqp1203 <hqp1203hqp@163.com>
要提交的变更:
修改: drivers/acpi/resource.c
---
linux-master/drivers/acpi/resource.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/linux-master/drivers/acpi/resource.c b/linux-master/drivers/acpi/resource.c
index 7c9125df5..0a4909dc1 100644
--- a/linux-master/drivers/acpi/resource.c
+++ b/linux-master/drivers/acpi/resource.c
@@ -453,6 +453,13 @@ static const struct dmi_system_id asus_laptop[] = {
DMI_MATCH(DMI_BOARD_NAME, "B2502CBA"),
},
},
+ {
+ .ident = "Asus TUF Gaming A15 FA507NV",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_BOARD_NAME, "FA507NV"),
+ },
+ },
{ }
};
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-29 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-29 22:32 [PATCH] drivers: fix keyboard not working under some laptops Luke Jones
2023-04-29 22:36 ` Luke Jones
-- strict thread matches above, loose matches on Subject: below --
2023-03-14 14:30 hqp1203
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox