Public bug reported:

The keyboard doesn't work with this kernel and laptop (see info attached with 
bug report). I was able to solve this issue, which seems to be a known bug, by 
downloading the current kernel's source code through apt and manually compiling 
it after introducing the following patch:
https://lore.kernel.org/linux-acpi/20230411183144.6932-1-pmen...@molgen.mpg.de/raw
(see also this discussion: https://bugzilla.kernel.org/show_bug.cgi?id=217323)
Indeed, the kernel's source code already contains (in drivers/acpi/resource.c) 
some ASUS models for which the same patch was necessary, so the only thing I 
did was to add my model. Here are the main steps I followed:
sudo apt-get source linux-headers-$(uname -r)
sudo apt install build-essential libncurses-dev fakeroot libelf-dev libssl-dev 
ccache bison flex
cd linux-6.8.0/drivers/acpi/
sudo nano resource.c
******** added lines ********
        {
                /* Asus ExpertBook B1502CVA */
                .ident = "Asus ExpertBook B1502CVA",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
                        DMI_MATCH(DMI_BOARD_NAME, "B1502CVA"),
                },
        },
*****************************
sudo make localmodconfig
sudo make -j$(nproc)
sudo chmod +x ./debian/scripts/sign-module
sudo make modules_install
sudo make install
Afterwards I rebooted and switched to this manually compiled kernel and the 
keyboard worked just fine. Unfortunately the microphone stopped working, it 
wasn't even recognized anymore. When I tried switching back to the previous 
kernel, the microphone worked just fine. It seems the small patch messes up 
with microphone drivers, but I have no idea why (I'm no expert).

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-45-generic 6.8.0-45.45
ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
Uname: Linux 6.8.0-45-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Tue Oct  1 13:35:33 2024
InstallationDate: Installed on 2024-09-25 (6 days ago)
InstallationMedia: Kubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827)
MachineType: ASUSTeK COMPUTER INC. ASUS EXPERTBOOK B1502CVA_B1502CVA
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-45-generic 
root=UUID=dfe95e68-da07-440f-9b0a-1c9fb9a3c1c9 ro quiet splash 
resume=UUID=70cd3dd1-ea16-412e-b73b-80c000ed4d9b vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-45-generic N/A
 linux-backports-modules-6.8.0-45-generic  N/A
 linux-firmware                            20240318.git3b128b60-0ubuntu2.4
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/21/2023
dmi.bios.release: 5.27
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: B1502CVA.300
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: B1502CVA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 17.2
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrB1502CVA.300:bd06/21/2023:br5.27:efr17.2:svnASUSTeKCOMPUTERINC.:pnASUSEXPERTBOOKB1502CVA_B1502CVA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnB1502CVA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
dmi.product.family: ASUS EXPERTBOOK
dmi.product.name: ASUS EXPERTBOOK B1502CVA_B1502CVA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: asus keyboard

** Attachment added: "Tarball of /proc/acpi directory, output of uname, lspci, 
dmidecode"
   
https://bugs.launchpad.net/bugs/2083325/+attachment/5823740/+files/bug_report_keyboard_asus.tar

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2083325

Title:
  Keyboard not working with ASUS Expertbook

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2083325/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to