Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trackpoint stops working after updating from Kernel 5.4.11 to 5.4.12 #2

Closed
bejuba opened this issue Feb 10, 2020 · 6 comments
Closed

Comments

@bejuba
Copy link

bejuba commented Feb 10, 2020

Hi,

first of all thank you for making my function keys work they it should! :)
Unfortunately in recent kernel versions a commit broke the functionality of the trackpoint. The bug is filed here and a workaround that requires the compilation of the kernel is discussed here.
This stuff is way above my level of knowledge so i am asking for help here. Specifically i am wondering if it is possible to modify the patches here to include the workaround without the need of recompiling the whole kernel after an update or ideally to provide the missing mappings and work on an upstream fix.

@Lunm0us
Copy link
Owner

Lunm0us commented Feb 12, 2020

The file modified in the commit is compiled into the hid module which Arch Linux actually configures as a module. So in theory it would be possible to patch it and build it out of tree. However the hid module is, as far as I can see, not only responsible for the touchpad but nearly everything input related. Furthermore we'd need to replace the original hid module shipped with the kernel.

I'll try to work on the workaround in the next couple of days but it probably won't apply as nice as the keyboard module. For everything else we'd need to pin down the bug.

P.s. thanks for the links

@Lunm0us
Copy link
Owner

Lunm0us commented Feb 13, 2020

Think I found the bug. I pushed a patched version (actually for the touchpad; not the hid module) to the multitouch-hid branch. Could you check if it works on your device?

cd hid-multitouch
make
sudo make run

should load the patched module and give you 20 seconds to check. After that it should revert to the upstream module automatically.

@bejuba
Copy link
Author

bejuba commented Feb 14, 2020

Than you so much for looking into this. It works flawlessly!

@Lunm0us
Copy link
Owner

Lunm0us commented Feb 21, 2020

The commit contains a dkms module with the fix. However the blacklisting part is still a bit flaky. Let me know if it works.

@bejuba
Copy link
Author

bejuba commented Feb 23, 2020

I can confirm that the new dkms module also fixes the trackpoint :) Thanks again!

@gebim
Copy link

gebim commented May 19, 2020

I'm on an X1 gen1 with kernel 5.4 (ubuntu 20.04) and also affected by the non-working Trackpoint.

I have a question an request:

*) Reattaching the keyboard solved the issue and a simple "libinput list-devices" lists the trackpoint and is working well.
Is there a way to trigger this in SW ? Let's a say by a script after login ?
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1878882

*) As a novice end-user, it would be very much welcomed if somebody could give me a bit more detailed info, how to build the dkms hid-multitouch kernel module ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants