#asahi-re · 2026-07-05 12:04
aites[m]Wait so are those events you sent also of length 0xe then?#asahi-re · 2026-07-05 12:03
aites[m]Ohhhhh my bad#asahi-re · 2026-07-05 12:03
aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04. Could different hardware have different packet lengths?#asahi-re · 2026-07-05 12:03
aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04. Could different hardware have different protocols?#asahi-re · 2026-07-05 12:03
aites[m]* one field (For packets of same length), my, * that field that varies is also, * also force? Even though it's in a different position. For both#asahi-re · 2026-07-05 12:02
aites[m]s/difference/different/#asahi-re · 2026-07-05 12:02
aites[m]And I suppose that would mean that macos is giving you difference force feedback depending on how hard/fast you physically press down on the trackpad would be my guess#asahi-re · 2026-07-05 12:01
aites[m]<aites[m]> "sofus: I went into the m1n1..." <- I think since the "click-release" signals have minor variation in one field and that field is the force, and through all the down press events I traced they all vary by exactly one field, my guess is that maybe that field is also force? For both of the different "Down-press" events#asahi-re · 2026-07-05 12:00
aites[m]* That's weird, the ones I found are of different length, 0x13, 0x0e, and 0x04#asahi-re · 2026-07-05 12:00
aites[m]sofus: Interestingly the ones I've found are not the same length?#asahi-re · 2026-07-05 11:59
aites[m]And also I have found that each TX packet sent to the trackpad ALWAYS comes with an ack back to the host (which isn't that crazy I guess, but I didn't expect it haha)#asahi-re · 2026-07-05 11:57
aites[m]there's a 0x21#asahi-re · 2026-07-05 11:57
aites[m]sofus: And also there turns out to be 3 set up commands and a 4th to send events#asahi-re · 2026-07-05 11:54
aites[m]I'll have to play around and experiment a bit more with this #asahi-re · 2026-07-05 11:53
aites[m]* minimum roundness (0xFF, 0x00) and it#asahi-re · 2026-07-05 11:53
aites[m]* minimum roundness (0xFF, 0x00 and it#asahi-re · 2026-07-05 11:53
aites[m]sofus: This also makes sense to me, yesterday when playing around I tried maximum force with minimum roundness and it was firm but nothing that would make me worry that I was causing long term damage to my trackpad#asahi-re · 2026-07-05 11:52
aites[m]sofus: This makes sense to me#asahi-re · 2026-07-05 01:14
aites[m]Based off this#asahi-re · 2026-07-05 01:14
aites[m]https://lore.kernel.org/all/20250818-support-forcepads-v3-0-e4f9ab0add84@google.com/#asahi-re · 2026-07-05 01:12
aites[m]I believe that checking from userspace is the idiomatic/desired method of doing this for the maintainer/ecosystem #asahi-re · 2026-07-05 01:09
aites[m]Sorry accidental ping #asahi-re · 2026-07-05 01:09
aites[m]s/:sobord/😭/#asahi-re · 2026-07-05 01:09
aites[m]Ughhhh now I have to learn how to compile a swift app too now :sobord #asahi-re · 2026-07-05 01:09
aites[m]Oh that's perfect actually, I'll look into that tomorrow :3#asahi-re · 2026-07-05 01:03
aites[m]Hahaha alrightr#asahi-re · 2026-07-05 01:02
aites[m]I think the existing asahi drivers already report that to userspace#asahi-re · 2026-07-05 01:02
aites[m]I think we already have the raw pressure don't we?#asahi-re · 2026-07-05 00:55
aites[m]Thank you for this information I will look into that as well :D#asahi-re · 2026-07-05 00:55
aites[m]Oooooooo#asahi-re · 2026-07-04 23:09
aites[m]* feel different,, * the second certainly feels "Deeper" but I'll#asahi-re · 2026-07-04 23:08
aites[m]Hmm yeah the two down clicks definitely feel different but I'll have to figure out why 😅#asahi-re · 2026-07-04 23:01
aites[m]Across the single-digit amount of clicks I've manually traced so far, it seems that they each have a minor variation maybe it corresponds with how hard you click or something I'm not sure.#asahi-re · 2026-07-04 22:55
aites[m]sofus: I went into the m1n1 scripts and wrote up a short function to send literally a single packet, and I can confirm that I've also found what you have found, the 3rd byte controls force and 4th controls roundness... (full message at <https://matrix.org/oftc/media/v1/media/download/AYeqV_3UmV-GZ-1tLyX9Cv_MWB2OoD3fr5oFmj9w0X5VWS0P08Zq9fPhh3UZryVla09jbraQ_RJ47b7oxwBc47dCefd3EMcAAG1hdHJpeC5vcmcvWXdqVGppT0VVaUtyQWJaUUd0YWZ1ckJr>)#asahi-re · 2026-07-02 12:48
aites[m]that's weird, under the hypervisor I pushed the trackpad until the yellow highlight for the force click came up and I read the packets over the hypervisor log#asahi-re · 2026-07-02 12:46
aites[m]Ahh right. I have only discovered 2 of these lengths so far 😅#asahi-re · 2026-07-02 12:41
aites[m]sofus: What do you mean by send anything with the 3 different headers?#asahi-re · 2026-07-02 12:36
aites[m]But it seems to also be swapped with 53 01 17 90 sometimes when doing force click and I haven't gotten around to figuring out what's different yet#asahi-re · 2026-07-02 12:36
aites[m]And it seems that under 0x53 there are 2 (3?) different send commands, 53 01 13 90 seems to be a regular click, and 53 01 18 90 seems to be used for a force click?#asahi-re · 2026-07-02 12:34
aites[m]sofus: Yeah this is what I found as well#asahi-re · 2026-07-02 12:11
aites[m]I'll take a look at your code thanks 🙏#asahi-re · 2026-07-02 12:11
aites[m]sofus: hahaha don't worry I won't, certainly better than what I've got so far#asahi-re · 2026-07-02 12:11
aites[m]chaos_princess: I'm sorry, I don't quite understand. I am using m1n1 hypervisor right now to trace the packets going through dockchannel I thought#asahi-re · 2026-07-02 11:52
aites[m]https://gitlab.freedesktop.org/libinput/libinput/-/work\_items/1027#note\_2543949#asahi-re · 2026-07-02 11:52
aites[m]* Hi, all! I'm an asahi linux user (m2 max) and I want to see if I could develop some sort of macos forceclick-like functionality for asahi. I've been playing around with running macos under the m1n1 hypervisor and playing around with the macbook's dockchannel interface for its internal MTP trackpad, and was reading the conversations with marcan on the libinput gitlabs.#asahi-re · 2026-07-02 11:51
aites[m]Thanks!#asahi-re · 2026-07-02 11:51
aites[m]or would a different kind of method be reccomended for this?#asahi-re · 2026-07-02 11:51
aites[m]Following his findings, I think I'm starting to get a sense of which TX and RX packets do what, and I was wondering what I would use to try and write my own custom packets through dockchannel on macos to play around with what each packet does#asahi-re · 2026-07-02 11:51
aites[m]https://gitlab.freedesktop.org/libinput/libinput/-/work_items/1027#note_2543949#asahi-re · 2026-07-02 11:51
aites[m]Hi, all! I'm an asahi linux user (m2 max) and I've wanted to see if I could develop something macos forceclick-like functionality for asahi. I've been playing around with running macos under the m1n1 hypervisor and playing around with the macbook's dockchannel interface for its internal MTP trackpad, and was reading the conversations with marcan on the libinput gitlabs.