From: Stefan Blum <stefanblum2004@gmail.com>
To: platform-driver-x86@vger.kernel.org
Subject: [PATCH] Fix Asus B2402FBA internal keyboard and track point
Date: Sat, 28 Sep 2024 18:17:29 +0200 [thread overview]
Message-ID: <a983e6d5-c7ab-4758-be9b-7dcfc1b44ed3@gmail.com> (raw)
By default the internal keyboard and track point on the Asus Expertbook
B2 Flip B2402FVA are not functional.
Similar to the Asus board B2402FBA, on the B2402FVA the internal keyboard
is only functional by adding it to the irq1_level_low_skip_override array.
For the internal elan track point, i have found out that setting the class to
MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSM makes the track point function as expected.
Signed-off-by: Stefan Blum <stefan.blum@gmail.com>
---
drivers/acpi/resource.c | 8 ++++++++
drivers/hid/hid-multitouch.c | 4 ++++
2 files changed, 12 insertions(+)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index df5d5a554..c29e71401 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -489,6 +489,14 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
DMI_MATCH(DMI_BOARD_NAME, "B2402FBA"),
},
},
+ {
+ /* Asus ExpertBook B2402FVA */
+ .ident = "Asus ExpertBook B2402FVA",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_BOARD_NAME, "B2402FVA"),
+ },
+ },
{
/* Asus ExpertBook B2502 */
.matches = {
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 56fc78841..3f93c5ef6 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1992,6 +1992,10 @@ static const struct hid_device_id mt_devices[] = {
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
USB_VENDOR_ID_ELAN, 0x3148) },
+ { .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU,
+ HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
+ USB_VENDOR_ID_ELAN, 0x32ae) },
+
/* Elitegroup panel */
{ .driver_data = MT_CLS_SERIAL,
MT_USB_DEVICE(USB_VENDOR_ID_ELITEGROUP,
--
2.39.5
next reply other threads:[~2024-09-28 16:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-28 16:17 Stefan Blum [this message]
2024-10-05 21:33 ` [PATCH] Fix Asus B2402FBA internal keyboard and track point Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a983e6d5-c7ab-4758-be9b-7dcfc1b44ed3@gmail.com \
--to=stefanblum2004@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox