Thank you so much Quinten and every helper ! I have Ubuntu 22.04 on Lenovo V15 G4
When patching it returns "*can't find file to patch at input line 15* *From 7a62c5f716bb3a0dd119d6a6eb5994d906ffbb32 Mon Sep 17 00:00:00 2001From: Hans de Goede <hdego...@redhat.com <hdego...@redhat.com>>Date: Mon, 16 Oct 2023 22:40:47 +0200Subject: [PATCH] i8259 hack allow mapping of legacy IRQs with NULL PICSigned-off-by: Hans de Goede <hdego...@redhat.com <hdego...@redhat.com>>--- arch/x86/kernel/i8259.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.cindex 30a55207c000..e34b2c884d70 100644--- a/arch/x86/kernel/i8259.c+++ b/arch/x86/kernel/i8259.c*" which is strange as line 15 reads (in red in the file) "*@@ -394,7 +394,7 @@ static int legacy_pic_probe(void)"* On Wed, 25 Oct 2023 at 20:26, Quinten Van Ginderen < 2034...@bugs.launchpad.net> wrote: > Hi Endre, > > I have kinda made progress in regards of being able to patch and install > a kernel. > > First i'ill walk you through my assumptions, > > 1) you have the laptop and installed a debian/ubuntu based distro but the > keyboard and touchpad don't work. > 2) there is at least 64Gb of disk space available > 3) you have the option of using the root user. > > so first off. > Download the patch from above. > https://bugzilla.kernel.org/attachment.cgi?id=305236 > run uname -r, this will return your kernel version, download the closest > matching version to that version from kernel.org, but remeber only > download later versions, so you are not using a version older than your > current kernel. > > then run sudo apt install build-essential libncurses5-dev libssl-dev > flex libelf-dev bc bison gcc make dwarves zstd > > then unzip the downloaded kernel and enter it as root. > appply the patch by running the following as roon in the unzipped kernel > directory: patch -p1 < path_to_patchfile > > it will return something notifying it's ready. > > then copy over the latest kernel config to the unzipped kernel this can > be found in the /boot directory mine is /boot/config-6.1.59 for example. > this is beceause i patched up the old kernel to this one. cp -r > /boot/<latestkernel>.conf .config replace latestkernel with the one you > find in /boot > > then run make menuconfig as the root in the unzipped kernel. > immediatly just hit save and exit > > run the following 2 lines as the root user in the unzipped kernel > individually :) (been there done that) > > scripts/config --disable SYSTEM_TRUSTED_KEYS > scripts/config --disable SYSTEM_REVOCATION_KEYS > > then run make -j 16 > > and just hit enter whenever it prompts something, oh and get a coffee or > a tea this is going to take a while :)) > > when it completes, run as root in the unzipped kernel: make modules_install > should'nt take too long > whenever it completes run make install > let it complete, > congrats kernel installed, > run; update-grub > verify that the version of the kernel is somewhere in it's output. > > reboot, and pray. > if it boots up, run a uname -r, try it with the laptop's builtin keyboard. > > if you've made it this far congrats. > you have now patched and installed a kernel. > > above works on any distro i've tried. (zorin16 debian12 ubuntu2204) > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/2034477 > > Title: > Keyboard and Touchpad Not Working in New Lenovo V15 Gen4 Laptop > > Status in ideapad-laptop: > New > Status in libinput package in Ubuntu: > Confirmed > Status in linux-signed-hwe-6.2 package in Ubuntu: > Confirmed > Status in linux-signed-oem-6.5 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/ideapad-laptop/+bug/2034477/+subscriptions > > -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libinput in Ubuntu. https://bugs.launchpad.net/bugs/2034477 Title: Keyboard and Touchpad Not Working in New Lenovo V15 Gen4 Laptop To manage notifications about this bug go to: https://bugs.launchpad.net/ideapad-laptop/+bug/2034477/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp