Hi Endre, to answer your many questions; Take your time, read the entire thing first before doing anything.
First on i followed the link to the patch file: https://bugzilla.kernel.org/attachment.cgi?id=305236&action=diff I downloaded the file by pressing 'view' button on that website. second I went to the kernel.org documentation to find the following page: https://www.kernel.org/doc/html/v4.14/process/applying- patches.html it explains how to patch a kernel the required packages are (already in the apt command line :p) found here:https://people.montefiore.uliege.be/gain/courses/info0940/tutorials/tutorial3/compilekernel.html sudo apt install build-essential libncurses5-dev libssl-dev flex libelf- dev bc bison gcc make bc After this you should have: the patch file and all the packages required for patching, i personally used debian, but it's perfectly doable on ubuntu i guess. then head over to kernel.org and download a kernel. i suggest as close as possible to the current kernel your os is running. I personally downloaded 6.1.59, and will today try with another kernel to see if results are persistent. i will test it on kernel 5.15.136. decompress the downloaded kernel. from here on all commands are issued as the root user. aquire root privileges. (sudo su) enter the decompressed kernel root directory so you are in linux-image-X/ then as root in that directory run patch -p1 < /path/to/downloaded_patch let is complete it should notify you when completed. the guide says to modify the kernel config, but i skipped that entirely the way to do this is to run make menuconfig next up is to build the actual kernel itself, depending on the hard disk speed it could take 3 hours. my laptop (the ryzen 5-7520u combined with a usb ssd took about 3 and a half hours) you will need about 60Gb of hard disk/ssd space. (today i will run it in my ramdisk as my desktop workstation has 64Gb of ram for ramdisk purposes :p) i will post total build time after it's done. build the kernel by running: make seems simple enough, just type make and press enter, now get a coffee or a tea or go watch grass grow because now it will start building, it will take time. if you are running ubuntu: make might complain about certificates (No rule to make target 'debian/canonical-certs.pem) , nothing too bad, !!just run the following!! scripts/config --disable SYSTEM_TRUSTED_KEYS scripts/config --disable SYSTEM_REVOCATION_KEYS and then run make again. then let it cook until al dente; then you will need to make the modules for the kernel i don't exactly know what this does but it's important. run: sudo make modules_install this shouldn't take too long to complete. After this is done: congrats, you now have a patched kernel, but what to do with it now? installing it in the current running system: make install after a reboot into the installed kernel (grub should do this automatically as the version is later than the currently installed ones don't quote me on this :p) the keyboard/touchpad should be working now. if not then maybe a step failed. what if i need to reinstall my distro? well, back the patched kernel up, preferably compressed, to a flash drive or whatever. install the new distro using external kb and mouse and then copy over the patched kernel, it can be installed by decompressing it, and running the following 2 commands in it's root directory: #cd linux-image-XX < x is the version :-) do not forget to manually cd sudo make modules_install sudo make install this will conclude the patch. make sure after rebooting that you freeze the kernel package in apt. list the packages by running sudo apt list --installed | grep linux-image then take note of the currently installed kernel, and take the one without much other text for example in my case it was: sudo apt-mark linux-image-amd64/stable and that's it. I hope this works for you too; Happy patching! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed in Ubuntu. https://bugs.launchpad.net/bugs/2034477 Title: Keyboard and Touchpad Not Working in New Lenovo V15 Gen4 Laptop Status in linux-signed package in Ubuntu: Confirmed Status in linux-signed-hwe-6.2 package in Ubuntu: Confirmed Status in Fedora: New Bug description: Hello. Ubuntu 22.04.3 with (later upgraded to kernel 6.2.0-32-generic) was installed in rewly purchased LENOVO V15 GEN4 AMN (AMD Ryzen 5 7520u) laptop and it was noticed that keyboard, touchpad and microphone are not working. The keyboard and touchpad work fine in BIOS setup and till GRUB (command line). It was found that when external devices such as keyboard, mouse and microphone are connected through USB and 3.5 jack, respectively, these work just fine. To confirm these are not hardware problems, Microsoft Windows 11 (Home) was installed in another disk partition and observed all these working alright. Hence a bug is being reported to draw attention of the concerned team and I request them to refer this issue and do the needful at the earliest. Regards, Pradip Kumar Das ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 ProcVersionSignature: Ubuntu 6.2.0-32.32~22.04.1-generic 6.2.16 Uname: Linux 6.2.0-32-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Wed Sep 6 08:04:42 2023 InstallationDate: Installed on 2023-08-14 (22 days ago) InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223) ProcEnviron: LANGUAGE=en_IN:en PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_IN SHELL=/bin/bash SourcePackage: linux-signed-hwe-6.2 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/2034477/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp