Bug 216864 - ASUS ExpertBook B2402 internal keyboard not detected
Summary: ASUS ExpertBook B2402 internal keyboard not detected
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 17:30 UTC by zelenat
Modified: 2023-10-12 12:31 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.19.7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Fix IRQ issues on keyboard for B2402CBA for linux kernel 6.1 (521 bytes, patch)
2022-12-30 05:13 UTC, Tamim Khan
Details | Diff
Fix IRQ issues on keyboard for all ExpertBook on linux 5.15 - 6.0 (1.04 KB, patch)
2022-12-30 05:29 UTC, Tamim Khan
Details | Diff

Description zelenat 2022-12-29 17:30:42 UTC
Hi,

I have got an Asus ExpertBook B2402 which is brand new, and I faced with the same problem (internal keyboard not worked) under Ubuntu 22.04 and 22.10.

According to 216158 (https://bugzilla.kernel.org/show_bug.cgi?id=216158) bug conversation I did the next.

dmidecode:
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: B2402CBA

The
    cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
    iasl -d dsdt.dat
    grep -A 30 PS2K dsdt.dsl | grep IRQ -A 1
output was:
    IRQ (Level, ActiveLow, Exclusive, )
                        {1}

So I use this patch (https://bugzilla.kernel.org/attachment.cgi?id=301690) and, 
I include my board to the drivers/acpi/resource.c in the (5.19.7 official Ubuntu kernel source) asus_laptop array:

static const struct dmi_system_id asus_laptop[] = {
.......
        {
                .ident = "Asus Expertbook B2402CBA",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
                        DMI_MATCH(DMI_BOARD_NAME, "B2402CBA"),
                },
        },
......

and compiled a custom kernel, and now my internal keyboard working fine. 

So thx, and I suggest to include this type of board to the patch.
Comment 1 Tamim Khan 2022-12-30 05:13:02 UTC
Created attachment 303503 [details]
Fix IRQ issues on keyboard for B2402CBA for linux kernel 6.1

I have posted a patch similar to the ones in https://bugzilla.kernel.org/show_bug.cgi?id=216158 that will fix the issue on kernel 6.1 and will be adding a patch for 5.15 - 6.0 kernels shortly.

I am also in the process of submitting this to the mailing list and will follow up here what that is done.

Tamim
Comment 2 Tamim Khan 2022-12-30 05:29:01 UTC
Created attachment 303504 [details]
Fix IRQ issues on keyboard for all ExpertBook on linux 5.15 - 6.0
Comment 3 Tamim Khan 2022-12-30 06:08:07 UTC
Patch has been submitted to the list (https://lore.kernel.org/linux-acpi/20221230055839.80885-1-tamim@fusetak.com/T/#u). I will post again with what kernel version it will end up in but given what happened with the other patch it will probably end up in 6.2.

Tamim
Comment 4 Tamim Khan 2023-01-19 05:36:30 UTC
Looks like the fix will end up in the 6.2 kernel and is already present in the latest release candidate (6.2-rc4): https://lore.kernel.org/linux-acpi/CAJZ5v0ikQN=C966p3Fm=HTRGfeWimjgCps9aqAp0UBHRQ5Xt9g@mail.gmail.com/T/#t

Tamim
Comment 5 Audette 2023-09-18 15:54:37 UTC
Hi

I've got an Asus ExpertBook B2402FB and I had the same problem like you (internal keyboard not worked and some of hotkeys) on Debian 12.

Thank you very much @zelenat and @Tamim Khan for your replies. I found an easy solution. I've installed the latest linux kernel version (6.5.3) and the keyboard work fine.
I followed this tutorial: https://www.linuxcapable.com/how-to-install-latest-linux-kernel-on-debian-linux/

All the best,
Audette

Note You need to log in before you can comment on or make changes to this bug.