Comment 69 for bug 2034477

Revision history for this message
Endre Olah (endreolah68) wrote :

Hi Jean-Marie,

Download an d isntall Ubunte 22.04 LTS as suggested be Quinten, than follow his instructions: Download teh kernel 6.5.9 on kernel.org. And it seems to work. I can guarantee as I am just typing this on my laptop keyboard, which did nkt work before. So again Quinten's istructions are here:

"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)"

Fully confirmed working on Ubuntu 22.04 LTS.

Kind regards

       Endre