#
✕ nick:sofus
#asahi-re · 2026-10-31 15:13
sofusbut also this channel is for binary reverse engineering we should move to #asahi-dev instead
#asahi-re · 2026-10-31 15:11
sofusthe trackpad feels incredible!!
#asahi-re · 2026-10-31 15:09
sofushex86[m]: works like magic! I think i somehow destroyed the libinput quirks, so the difference is even more apparent
#asahi-re · 2026-09-15 16:37
sofustruita: both PR's need testing so please do! I only meant you did not need to write them
#asahi-re · 2026-09-15 16:22
sofuschaos_princess: maybe thats only for external displays?
#asahi-re · 2026-09-15 16:01
sofusthere is also the PMP report PR
#asahi-re · 2026-09-15 16:00
sofusthe one called something like "dcp on m3" has t8122 nodes
#asahi-re · 2026-07-05 12:10
sofusyou are using 0x53 to send the clicks right? Try using 0x23 / 0x22
#asahi-re · 2026-07-05 12:08
sofusiirc the 0x21 is the host mode command, i dont think the 0x0e is a "special" "click-release" event, but rather macos uses it like that
#asahi-re · 2026-07-05 12:06
sofusi also have an m2 pro so it would be _very_ weird otherwise
#asahi-re · 2026-07-05 12:05
sofusyes the same lenght
#asahi-re · 2026-07-05 12:03
sofusaites[m]: thoose are the same lenght, sometimes i mix hex with normal digits sorry
#asahi-re · 2026-07-05 06:27
sofusi think we _should_ actually be able to use most of it. looking at hid-haptic.h, we should be able to expose some control over the waveforms
#asahi-re · 2026-07-05 06:16
sofusi remember finding a repo with someone who did the magic trackpad (2?) and it being basicly the same as the trackpad so yeah
#asahi-re · 2026-07-05 06:11
sofusidevices?
#asahi-re · 2026-07-05 06:07
sofusalso i was not able to break the actuator by sending a bunch of random events to it. It can do a lot more than what apple exposes
#asahi-re · 2026-07-05 06:06
sofusaites[m]: my guess is most bytes control something about the feel. So the longer events are just more complex types
#asahi-re · 2026-07-02 12:57
sofusaites[m]: i had written two of the "medium" events down: 53 01 2E 90 02 00 24 18 1B and 53 01 32 90 02 04 24 18 1B
#asahi-re · 2026-07-02 12:54
sofusthat is weird, maybe the logger is to slow? I kinda remember i needed to push harder / longer for it to trigger
#asahi-re · 2026-07-02 12:47
sofusoh i think you never triggered the force click then
#asahi-re · 2026-07-02 12:46
sofusso 53 01 13 90 would be the smallest where 13 90 are controlling the click, with 13 being strengt and 90 softness
#asahi-re · 2026-07-02 12:44
sofusiirc you can control the way it clicks with 3 different lengts of commands
#asahi-re · 2026-07-02 12:41
sofusi kinda remember the first number being strenght and the second being "softness"
#asahi-re · 2026-07-02 12:38
sofusthey all start with xx 01
#asahi-re · 2026-07-02 12:38
sofusoh yeah! You can send anything with the 3 different headers, and there are 3 different command lenghts also
#asahi-re · 2026-07-02 12:35
sofusi think the command with len 4 was the easiest to play around with
#asahi-re · 2026-07-02 12:34
sofusiirc there where 3 commands to control haptics, 0x22 to set the press haptic, 0x23 to set the up(?) haptic and 0x53 to just send an event
#asahi-re · 2026-07-02 12:24
sofusi think i deleted my notes :(
#asahi-re · 2026-07-02 12:24
sofuswe dont *need* to do anything force related actually
#asahi-re · 2026-07-02 12:20
sofusbut libinput support would be very cool, i remember something about haptic "waves"
#asahi-re · 2026-07-02 12:19
sofuswe can change the default haptics without needing to do anything crazy
#asahi-re · 2026-07-02 12:16
sofusim suprised it did not break
#asahi-re · 2026-07-02 12:15
sofuschadmed: no i just send a bunch of cursed commands to my trackpad
#asahi-re · 2026-07-02 12:14
sofusaites[m]: the code allows you to send events to the trackpad like this: echo -ne '220111f0' > /sys/class/input/event0/device/raw
#asahi-re · 2026-07-02 12:10
sofusplease dont jugde :p
#asahi-re · 2026-07-02 12:10
sofushttps://github.com/sofus13/linux/commit/3339f7a049f4ed359d757d44c0c976c6b8cfb402
#asahi-re · 2026-07-02 12:10
sofusaites[m]: i actually made a *very* crappy sysfs driver for this some time ago