[Ubuntu-x-swat] [Bug 1887190] Re: MSFT Touchpad not working on Lenovo Legion-5 15ARH05

2020-12-29 Thread Ethan Reker
I can also confirm #322 works on manjaro after installing Linux
5.10.rc5.d1122 through the "Manjaro Settings Manager".  Thanks!

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-libinput in Ubuntu.
https://bugs.launchpad.net/bugs/1887190

Title:
  MSFT Touchpad not working on Lenovo Legion-5 15ARH05

To manage notifications about this bug go to:
https://bugs.launchpad.net/pop-os/+bug/1887190/+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


[Ubuntu-x-swat] [Bug 1887190] Re: MSFT Touchpad not working on Lenovo Legion-5 15ARH05

2020-12-02 Thread Ethan Reker
After several painstaking hours I finally got it working on Manjaro, so
I wanted to share my experience for anyone else that is new to patching
the kernel like me.  This is my first time ever doing so.

I tried and tried to make this work on Ubuntu Budgie 20.10 following the
guide by @Baq Domalaq (baq)  but I just couldnt get the ubuntu kernel to
build.  Manjaro on the other hand was fairly painless.

This only works for Manjaro

1. Clone the kernel repo for linux 5.8
# git clone https://gitlab.manjaro.org/packages/core/linux58.git

2. open the repo
# cd ./linux58

3. Download the patch from #179
# wget 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190/+attachment/5418465/+files/0303-pinctrl-amd2.patch

4. Edit the PKGBUILD file and add '0303-pinctrl-amd2.patch' after the
line that has '0303-pinctrl-amd.patch'

5. Update the checksums
# updpkgsums

6. Build the package.  This will take some time.  You may be prompted for 
something about PREMPT.  Choose CONFIG_PREEMPT_VOLUNTARY.
# makepkg -s

7. Once it's done, you can install the package.
# makepkg -i

In my case, this broke the nvidia driver so I ended up uninstalling the
nonfree driver and using the free driver instead. This can be done with
the following commands.

8. Remove nonfree driver.  Could also be video-nvidia-455xx
# sudo mhwd -r pci video-nvidia-440xx

9. Install the free driver
# sudo mhwd -i pci video-linux

Also installing the free driver fixed the display brightness issue.
Everything seems to be working for me now!

In case anyone runs into any issues, this is the guide I followed to
build the kernel. https://leduccc.medium.com/compiling-a-custom-linux-
kernel-on-manjaro-f09aa103713f

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-libinput in Ubuntu.
https://bugs.launchpad.net/bugs/1887190

Title:
  MSFT Touchpad not working on Lenovo Legion-5 15ARH05

To manage notifications about this bug go to:
https://bugs.launchpad.net/pop-os/+bug/1887190/+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