联想R7000 Ubuntu 触摸版问题

原地址:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190/+index?comments=all

下载 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190/+attachment/5419803/+files/standone_pinctrl-amd.zip

And also for those who have difficult building the custom kernel which is not necessary, you can build a single pinctrl-amd.ko.

  1. After you download the attached file which contains fixed pinctrl-amd.c and other heades for building, run make to build this module,

$ make
make -C /lib/modules/uname -r/build M=pwd
make[1]: Entering directory '~/kernel/linux_touchpad
CC [M] ~/kernel/other/standone_pinctrl-amd/pinctrl-amd.o
AR ~/kernel/other/standone_pinctrl-amd/built-in.a
MODPOST ~/kernel/other/standone_pinctrl-amd/Module.symvers
CC [M] ~/kernel/other/standone_pinctrl-amd/pinctrl-amd.mod.o
LD [M] ~/kernel/other/standone_pinctrl-amd/pinctrl-amd.ko

make[1]: Leaving directory ‘/home/coiby/Desktop/kernel/linux_touchpad’

2 Copy pinctrl-amd.ko to override the current one whose path can be found by modinfo

$ modinfo pinctrl-amd
filename: /lib/modules/5.9.0-rc7-MANJARO+/kernel/drivers/pinctrl-amd/pinctrl-amd.ko.xz
$ cp pinctrl-amd.ko /lib/modules/5.9.0-rc7-MANJARO+/kernel/drivers/pinctrl-amd/pinctrl-amd.ko.xz

  1. reboot the system and now you are expected to see a working touchpad
    ;
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值