Comment 16 for bug 1761261

Revision history for this message
Luke Williams (wililupy) wrote :

So I patched the 4.15.0-15-generic kernel from kernel.ubuntu.com with the supplied patch and then intstalled the kernel on my 16.04 xenail laptop and everything works as it should. The display came up, the touch pad is responsive and working normally. I have enclosed my dumps of lswh, lspci, lsmod and my cmdline output.

How I installed this:
I build a bionic container on my laptop:
lxc launch ubuntu-daily:bionic kernel
lxc file push spth-pinctrl-fix.diff kernel/root/
lxc exec kernel bash
apt update && apt upgrade -y
apt build-dep linux-image-`uname -r`
apt install fakeroot
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git
cd ubuntu-bionic
cp ../spth-pinctrl-fix.diff .
patch -p1 < spth-pintctrl-fix.diff
fakeroot debian/rules clean
fakeroot debian/rules binary-headers binary-generic binary-perarch

After the build and the output of the deb files:
exit
mkdir ~/kernel-test
cd ~/kernel-test
lxc file pull kernel/root/linux-image-4.15.0-15-generic_4.15.0-15.16_amd64.deb .
lxc file pull kernel/root/linux-image-extra-4.15.0-15-generic_4.15.0-15.16_amd64.deb .
lxc file pull kernel/root/linux-headers-4.15.0-15_4.15.0-15.16_all.deb .
lxc file pull kernel/root/linux-headers-4.15.0-15-generic_4.15.0-15.16_amd64.deb .

Also, the linux-headers-4.15.0-15 deb depends on libssl1.1, which is default in Bionic, but not in Xenial, so I had to download that deb file from here: https://packages.ubuntu.com/bionic/libssl1.1

And then I just used dpkg -i to install the files and reboot the laptop and it started up properly.

While the laptop display works and the touchpad is responsive and works properly. there are still issues with the FN+F7/F8 brightness controls, and the other FN options that should work out of the box, but at least the display works with the 4.15.0-15 kernel