FIXED: trackpad in linux

@Fraoch: I hope that’s not your password, but if it is, then it’s an excellent one.

1 Like

Thank you - no, it’s the machine’s host name. I posted it on this forum a while ago.

@Evan_Hazlett

I see your post is from a while ago but I have scroll/right-click/tap-to-click all working in Sway on Fedora 35.

In my Sway config I have the following for the touchpad input:

input 2362:628:PIXA3854:00_093A:0274_Touchpad {
    dwt enabled
    tap enabled
    middle_emulation enabled
    natural_scroll enabled
}

I don’t know if the input identifier value will change across different machines, so just use swaymsg -t get_inputs to find yours.

It should be noted that you need to follow the same touchpad placement as the screenshot in the post above yours. i.e. to achieve “right click” menus you need to use two fingers on the bottom right of the trackpad etc. Hope that helps!

@deadl0ck Awesome! I’ll give this a shot. Thanks for the update!

Does that mean you have to recompile the kernel to solve it? I’m not comfortable with kernel configuration.

chevelu,

If you’re still using Alpine, pinctrl for Tigerlake has just been enabled in the standard lts kernel by default (5.15.36-r1). And I can confirm that the touchpad now works properly:

Thank you @ssu, I’ll take a look at it.

I now run the 5.15.37.0-lts version of the kernel but the touchpad still doesn’t work.
Do you think I missed doing something?

EDIT: with the 5.15.38-1-lts version of the kernel, it now works. :star_struck:

How can I find what version of libintput is installed on my Ububtu 20.0.4 system?

I was hoping that running salt regularly would ensure I have the lastest version of the needed drivers. Perhaps not. I am executing:

wget -O /tmp/framework-laptop-tldr.sh
https://raw.githubusercontent.com/lightrush/framework-laptop-formula/main/framework-laptop-tldr.sh &&
bash /tmp/framework-laptop-tldr.sh --enable-hibernate

I have an issue where, intermittently, my trackpad stops responding. I can go to the login screen (by hitting the power button) and log back in and that usually fixes it. The fw support people said “update your drivers”, among other things.

Well, they also said to get the ‘Emulate PS/2 mouse’ to false. I did that, so it may fix my issues.

apt-cache show libinput10. Looks like it’s 1.15.5, though they may have backported some changes from later versions.

After a lot of head banging in the wall I found out why my touchpad was not working at all with emulation switched off. Turned out that kernel boot parameters

acpi_osi=! acpi_osi='Windows 2021'

break it. It fully works (gestures and all), if you change it to

acpi_osi=! acpi_osi='Windows 2020'

Why I had these parameters in the first place? I was following some reports from people that got their eGPU working with Framework and thought it didn’t break anything and didn’t revert it. Just one bit of info for other people with the same problem.

2 Likes

Oh, great! Upgraded to 1280P and touchpad doesn’t work again without emulation. Does 1280P use a different model touchpad controller?

Nah, had to remove the acpi_osi options completely and it is working again.

On Gentoo-musl, kernel 5.19, I also had to enable Tiger Lake GPIO / pin support in order for the touchpad to become visible. Before that, I could only see the PS/2 generic touchpad.