As weird as it sounds, the touchpad only seems to be working when using 5 fingers (no more, no less) under OpenBSD 7.5-current. I can confirm that this is not a hardware issue because I also tested with Ubuntu 22.04 and the touchpad is working as intended.
I understand that OpenBSD is not officially supported, but I’d appreciate all the help I can get. Could it be perhaps a configuration issue?
The USB4 spec is open so a connection manager can be written for BSD. However I don’t expect you can leverage Linux code due to the licensing differences.
For CPPC/EPP support you can look at the ACPI specs, but amd-pstate does deviate quite a bit.
For PMF, there isn’t any public open spec, only the Linux driver exists and the license I don’t believe is appropriate for re-use.
For all of those cases you can of course reach out to the author to ask them to relicense the code, but I don’t expect it to happen.
For suspend/resume, you need to notify the AMD SMU on s0ix entry, but there isn’t an open spec for tihs, only amd-pmc code. Also the EC needs to be notified of the state transitions and all other hardware must be in D3.
It’s enabled on -current, but was not enabled by default for the 7.6 release. I just did a test with my Framework 16 and it suspends: acpi0: S3 unavailable, using S0. It wakes up, but then runs into uhub device problems… these are probably the kinks still needing to be worked on before enabling it by default for the next OpenBSD release.
Regarding the touchpad issues - I’m not an HID hacker, but I took a dive. Went through the PIXA3854 report descriptor. The kernel identifies 2 report IDs, number 1 and number 4. With a kernel built with IHIDEV_DEBUG, I can see report 4 showing a live set of numbers when I touch the touchpad, for example with 1 finger:
So, to revive this old thread… I ran into the exact same problem whilst preparing this patch:
(Currently, I am waiting for an official kernel developer to react to it.)
The issue is caused by multi-touch reports that do not start with a repeating logcial collection. (In my case, the buttonpress was reported before them)
THE REASON WHY I AM POSTING IT HERE IS that I need more beta-testers.
If you could apply my patch to the kernel, compile it and tell me if the touchpad is working better/worse and if two finger scrolling is working/not working, that would be wonderful.