I think I am hitting similar on Slackware-current. Libinput v1.18.1 on 5.13.8
On Debian 11 live (an RC, but had it to hand) the touchpad's right click button does work (as does middle emulation). That too uses libinput.
Under Slackware, if I change from libinput to synpatics (I'm using X) the touchpad buttons work as expected. But I cannot rest a finger on a button ready to click it, as the top surface is also touchable: synpatics sees two touchs and then won't move the pointer. Libinput does tolerate my finger/thumb resting.
Anyway, I have found a difference between Slack-current and Debian, and that is the "Click methods" `libinput list-devices` reports for the touchpad. Slack has "none", Deb has "*button-areas clickfinger".
Also, I found some capabilities differences with a udev report. But how this is getting different capabilities on different distros but the same hardware I don't know.
After about 2 weeks of owning this laptop I found, just last night, the same touchpad might be available but showing different manufacturers. My device is synpatics, 093a:0255. But there also seems to be uniwood and HTIX or something with the same product ID. Uniwood might be when on an AMD system? People with those other touchpads have had similar problems from various threads I had mostly dismissed.
Right now I am tempted to downgrade libinput to about 1.16.x, the same as that which seems to work in Debian 11 Live.
That kernel bug message I see under Slack and Deb, where it works in the latter. In the last post here simonw suggests that message is a red herring, and I think I agree.
https://forum.endeavouros.com/t/clic...allation/15668
I've found only a couple of people on the whole web otherwise that seem to have noticed the click methods are none when right-click does not work. little-dude using nixos has notice the "Click methods" discrepancy between NixOS and Arch,
https://discourse.nixos.org/t/touchp...-working/12276. The above EndeavourOS thread is about the same problem, but ends with a confused user seeing behaviour vanish.
Also, quirks might be tripping you up. Run this, where N is your touchpad, likely 0 or 1.
`libinput quirks list /dev/input/mouseN --verbose`
It will say if there is a match for a quirk, and for me a laptop like mine matches for the right button being disabled. I have made a quirks file for my laptop and tried to use the same method to force the r-click to be enabled, but no luck.