A patched linux kernel for the Lenovo T14 gen3. The kernel config is copied from the general ubuntu kernel 5.19.3.
The problem is discussed here. The are two independent proposed patches.
One patch proposed by taoky
in the above thread (remove-return.patch
) and another one here (i915.patch
).
Choose one.
This repo only simplifies things in case I to do a fresh install on my Lenovo T14 gen3 with the patched kernel.
ELAN Touchpad also suffers from a bizzare behaviour after S3 suspend. The only (quick) solution I found is to change the BIOS settings to "windows/linux" sleep mode.
A container is provided to keep your system clean (otherwise, take a look at launch.sh
).
docker build -t kernel-builder .
docker run --mount type=bind,source="$(pwd)"/builds,target=/builds -it kernel-builder /builder/launch.sh
Then install the compiled kernel
cd builds
sudo dpkg -i *deb