Bug 217760 - keyboard not working Asus Expertbook B2502CVA
Summary: keyboard not working Asus Expertbook B2502CVA
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P3 blocking
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-04 05:30 UTC by gnap
Modified: 2024-11-18 12:20 UTC (History)
6 users (show)

See Also:
Kernel Version: 5.19.0-50-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (155.87 KB, text/plain)
2023-08-04 05:30 UTC, gnap
Details
dmidecode (26.70 KB, text/plain)
2023-08-04 05:31 UTC, gnap
Details
lsmod (9.59 KB, text/plain)
2023-08-04 05:32 UTC, gnap
Details
xinput (608 bytes, text/plain)
2023-08-04 05:32 UTC, gnap
Details
dmesg (94.01 KB, application/octet-stream)
2024-09-24 15:24 UTC, bogo
Details

Description gnap 2023-08-04 05:30:18 UTC
Created attachment 304770 [details]
dmesg

Hi everynoe,

Component: Asus Expertbook B2502CVA
OS: Ubuntu 22.04.2 LTS

I am having a keyboard issue after installing Ubuntu 22.04 LTS on my Asus ExpertBook B2502CVA, I discovered that the built-in keyboard is not functioning. The keyboard works perfectly under Windows 11, which leads me to reasonably suspect a hardware compatibility issue with Linux. 

I found that BUG 216158, Bug 216864, Bug 217323 has similarities to my situation, attachment is my dmesg.
Comment 1 gnap 2023-08-04 05:31:20 UTC
Created attachment 304771 [details]
dmidecode
Comment 2 gnap 2023-08-04 05:32:30 UTC
Created attachment 304772 [details]
lsmod
Comment 3 gnap 2023-08-04 05:32:48 UTC
Created attachment 304773 [details]
xinput
Comment 4 Bagas Sanjaya 2023-08-04 12:28:26 UTC
(In reply to gnap from comment #0)
> Created attachment 304770 [details]
> dmesg
> 
> Hi everynoe,
> 
> Component: Asus Expertbook B2502CVA
> OS: Ubuntu 22.04.2 LTS
> 
> I am having a keyboard issue after installing Ubuntu 22.04 LTS on my Asus
> ExpertBook B2502CVA, I discovered that the built-in keyboard is not
> functioning. The keyboard works perfectly under Windows 11, which leads me
> to reasonably suspect a hardware compatibility issue with Linux. 
> 
> I found that BUG 216158, Bug 216864, Bug 217323 has similarities to my
> situation, attachment is my dmesg.

Can you try latest mainline (currently v6.5-rc4)? You also need to attach
external USB keyboard to your laptop while building the kernel.
Comment 5 gnap 2023-08-05 05:15:25 UTC
(In reply to Bagas Sanjaya from comment #4)
> (In reply to gnap from comment #0)
> > Created attachment 304770 [details]
> > dmesg
> > 
> > Hi everynoe,
> > 
> > Component: Asus Expertbook B2502CVA
> > OS: Ubuntu 22.04.2 LTS
> > 
> > I am having a keyboard issue after installing Ubuntu 22.04 LTS on my Asus
> > ExpertBook B2502CVA, I discovered that the built-in keyboard is not
> > functioning. The keyboard works perfectly under Windows 11, which leads me
> > to reasonably suspect a hardware compatibility issue with Linux. 
> > 
> > I found that BUG 216158, Bug 216864, Bug 217323 has similarities to my
> > situation, attachment is my dmesg.
> 
> Can you try latest mainline (currently v6.5-rc4)? You also need to attach
> external USB keyboard to your laptop while building the kernel.

I have tried using the 6.5.0-060500rc4-generic kernel today, but unfortunately, the built-in keyboard still not working.
Comment 6 gnap 2023-08-08 03:39:32 UTC
@Bagas any update about this issue?
Comment 7 The Linux kernel's regression tracker (Thorsten Leemhuis) 2023-08-08 18:01:00 UTC
Could you try if this patches help (and report back to the list)
https://lore.kernel.org/all/20230808103335.95339-1-hdegoede@redhat.com/
Comment 8 gnap 2023-08-09 05:17:21 UTC
(In reply to The Linux kernel's regression tracker (Thorsten Leemhuis) from comment #7)
> Could you try if this patches help (and report back to the list)
> https://lore.kernel.org/all/20230808103335.95339-1-hdegoede@redhat.com/

Hi Thorsten, thank you for your response. I don't quite understand how to manually apply the patches mentioned in the link you provided, and I'm concerned about destroying my current development environment. Do you have any recommended kernel version that would allow me to upgrade and test using the mainline kernel?
Comment 9 Artem S. Tashkinov 2024-04-18 15:27:56 UTC
Can you reproduce this in 6.8.7?
Comment 10 bogo 2024-09-24 15:24:27 UTC
Created attachment 306916 [details]
dmesg

dmesg
Comment 11 bogo 2024-09-24 15:24:53 UTC
Hello
for me the same problem with recent Ubuntu 24.04.1
Kernel 6.8
I tried also Zabbly kernel - no help (6.10.11-zabbly+)

dmesg attached
br Bohuslav
Comment 12 bogo 2024-09-24 16:47:22 UTC
UPDATE: helpfull link: https://bugzilla.kernel.org/show_bug.cgi?id=216158

adding this section to file drivers/acpi/resource.c helped; if someone could do an official patch it would be great :-|

        {
                /* Asus ExpertBook B2502CVA */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
                        DMI_MATCH(DMI_BOARD_NAME, "B2502CVA"),
                },
        },


how to compile the kernel for ubuntu when someone interested e.g. there
https://davidaugustat.com/linux/how-to-compile-linux-kernel-on-ubuntu
Comment 13 Hans de Goede 2024-09-27 14:27:17 UTC
Thank you for reporting this. I have submitted a patch adding the DMI quirk for this upstream:

https://lore.kernel.org/linux-acpi/20240927141606.66826-4-hdegoede@redhat.com/
Comment 14 Nirmal Chathura 2024-11-17 09:31:51 UTC
Hello,

I am having the same issue: Asus ExpertBook B1502CV

Keyboard not working for any Debian-based OS (Ubuntu, Lubuntu, Kubuntu, Kali, Debian). But working with Fedora, Windows etc.

Could you help in resolving?

Thank you.
Comment 15 bogo 2024-11-17 22:57:35 UTC
Hi Nirmal
I can only suggest you to do the same as I did - open the link 'how-to-compile-linux-kernel...', but before compiling it, add this section to the file drivers/acpi/resource.c. For me it was the solution
btw maybe in advance check if 'B1502CV' is compete boardname - with dmidecode utility
br Bohuslav

        {
                /* Asus ExpertBook B1502CV */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
                        DMI_MATCH(DMI_BOARD_NAME, "B1502CV"),
                },
        },
Comment 16 Hans de Goede 2024-11-18 12:20:11 UTC
(In reply to Nirmal Chathura from comment #14)
> I am having the same issue: Asus ExpertBook B1502CV

All B1502CV models should be covered by the kernel after this commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/acpi/resource.c?id=158d0f3700fd7190df609a0a61294f29ae698d9e

Which is available in recent kernels like Fedora is using and should have been backported to stable kernel series like those used by Debian. Please contact your distribution's kernel maintainer asking them to backport all the recent changes to drivers/acpi/resource.c:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/acpi/resource.c?id=158d0f3700fd7190df609a0a61294f29ae698d9e

Note AFAIK most have already been picked up by Greg in the various stable kernel series.

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