#
✕ nick:aites[m]
#asahi-dev · 2026-08-25 13:45
aites[m]ohh that's chill
#asahi-dev · 2026-08-25 13:41
aites[m]or is that more firmware side
#asahi-dev · 2026-08-25 13:41
aites[m]how conscious is the current linux scheduler (EEVDF I think?) of these P and E core shennanigeans?
#asahi-dev · 2026-08-25 13:39
aites[m]thats cool, I wonder how having 3 core types would affect performance
#asahi-dev · 2026-08-25 13:33
aites[m]DAMN 3 core types ??
#asahi-dev · 2026-08-20 14:45
aites[m]I have done it 🫡
#asahi-dev · 2026-08-20 14:45
aites[m]thanks for the tip
#asahi-dev · 2026-08-20 14:45
aites[m]chadmed: ahhh ok
#asahi-dev · 2026-08-20 11:48
aites[m]this?... (full message at <https://matrix.org/oftc/media/v1/media/download/AV3TITH9AHSws7YjzFxf6sFq4LCvKj6cET7mljD7yq590Amq9N2vwu3VvkeCTn4uMl5E4Hn9F8MVZbL99XjqXQxCegZxl0JwAG1hdHJpeC5vcmcvTWpxb3ljZkJNc3VvWUFXZ0JiTWFjQ0l2>)
#asahi-dev · 2026-08-20 11:46
aites[m]What is the issue?
#asahi-dev · 2026-08-20 11:44
aites[m]so big thanks for everyone! 👍️👍️
#asahi-dev · 2026-08-20 11:44
aites[m]https://github.com/AsahiLinux/linux/pull/573
#asahi-dev · 2026-08-20 11:44
aites[m]Heya! Thanks for everyone for taking a look through my commit a few weeks ago and clear up some architectural design things, I finally had the time to clean it up a little bit and refactor a lot of the code, and I've put it all together as a pull request in the asahi repository now! :D
#asahi-dev · 2026-07-27 12:28
aites[m]but I agree it would be more modular if we could separate them
#asahi-dev · 2026-07-27 12:26
aites[m]:((
#asahi-dev · 2026-07-27 12:26
aites[m]sofus: I think that the problem is that hid-haptic implements functions to "Configure the haptics of the trackpad passed to it" but the problem would be that if we implemented the upload effects etc into the actuator driver, then we would be passing trackpad hdevs into actuator driver code since the haptic ioctls are sent to the trackpad
#asahi-dev · 2026-07-27 11:54
aites[m]and in the case that we want to add further support to other magicmouse devices like the USB trackpad, I think that would have the actuator registered under the same device so it would be helpful to be able to just add a branch statement within these already existing functions and reuse much of the code
#asahi-dev · 2026-07-27 11:52
aites[m]I think I could do that but I'm not sure if that's the best way, since all of the force feedback callbacks under the haptics subsystem are registered under the trackpad, so all the callback functions would give you pointers to the trackpad hdev rather than the actuator's one
#asahi-dev · 2026-07-27 11:41
aites[m]sofus: as in implement all of these functions within the actuator driver and then call them from the magicmouse?
#asahi-dev · 2026-07-27 00:30
aites[m]* Yeah, it's the same mechanism used in magicmouse_enable_multitouch where we copy some data and just give that to the dockchannel drivers
#asahi-dev · 2026-07-27 00:29
aites[m]chaos_princess: Yeah, it's the same mechanism used in `magicmouse_enable_multitouch` where we copy some data and just send that verbatim through dockchannel
#asahi-dev · 2026-07-27 00:28
aites[m]chaos_princess: I think it exposes some things but not the things needed for actually sending haptic commands
#asahi-dev · 2026-07-26 23:11
aites[m]https://github.com/Ambioid/linux
#asahi-dev · 2026-07-26 23:11
aites[m]Heya! chaos_princess chadmed thanks for the comments, I tried to address your comments and did a minor refactor, do take a look at the new commit. If the overall logic and structure looks good to you, I'll fix all the syntax style and checkpatch comments proper commit messages and things in it as welll .. I wouldn't want to comb through the checkpatch if I was gonna delete all that code anyways in the end 😅
#asahi-dev · 2026-07-25 12:58
aites[m]sofus: Ohh yeah that makes sense, I could add that to the driver too I reckon, but I guess the problem is that we already have pre-established ioctls for configuring the haptic force feedback events that userspace can manually send but none for configuring the ones that happen autonomously
#asahi-dev · 2026-07-25 12:45
aites[m]sofus: Is this the `0x22` and `0x23` events?
#asahi-dev · 2026-07-25 12:44
aites[m]<aites[m]> "My design follows the interface..." <- Yeah this is in the patchseries I linked
#asahi-dev · 2026-07-25 12:41
aites[m]I think I'll send a PR to libinput too
#asahi-dev · 2026-07-25 12:41
aites[m]JamesCalligeros[m]: It doesn't afaik
#asahi-dev · 2026-07-25 12:36
aites[m]sofus: What do you mean?
#asahi-dev · 2026-07-25 12:20
aites[m]chaos_princess: 🫡 this will be fixed
#asahi-dev · 2026-07-25 12:20
aites[m]But if you wanted to take a look as well I'd be absolutely interested in what you find
#asahi-dev · 2026-07-25 12:20
aites[m]I believe the other magic numbers do something, the clicks definitely feel different, but I'm not 100% sure what they do, but I think it might be that what it does might be non-standard compared to the rest of the haptic trackpads from other vendors so it might be difficult to finangle in controls for them in a way that's standardized if their feature was known
#asahi-dev · 2026-07-25 12:20
aites[m]sofus: Thank you!!! :D
#asahi-dev · 2026-07-25 12:17
aites[m]And yess I will clean up the code if the shape of the driver looks about right to you guys
#asahi-dev · 2026-07-25 12:17
aites[m]chaos_princess: Dockchannel enumerates the actuator as a separate device that it probes and initializes independently from the trackpad itself and its own instantiation of hid_ll_driver which you can send a raw request using, independently of the raw_request of the trackpad itself
#asahi-dev · 2026-07-25 12:06
aites[m]chaos_princess: 😅 I'm a little anxious about a ml-style review I still have left some comments and codes strewn about, but sure
#asahi-dev · 2026-07-25 12:03
aites[m]Ohh right.
#asahi-dev · 2026-07-25 12:02
aites[m]What is meant by ml?
#asahi-dev · 2026-07-25 12:01
aites[m]But basically, the way this works: this series follows the desired interface from this patchseries (https://lore.kernel.org/all/20250818-support-forcepads-v3-0-e4f9ab0add84@google.com/) to set the INPUT_PROP_PRESSUREPAD... (full message at <https://matrix.org/oftc/media/v1/media/download/AQ5qiVlMB2NQ5jYfexvIhNoj6QMJplblLY58CbCkLJyXV0SUuab4lC0_ubNHbXbrMjqCWBwYtYQeQO_2dNS0-KlCef4T-MLwAG1hdHJpeC5vcmcvbGRLRG9UV1N5ZWhQY29YVFRXd0pnclJp>)
#asahi-dev · 2026-07-25 12:00
aites[m]My design follows the interface as specified by: https://docs.kernel.org/input/event-codes.html#input-prop-pressurepad, explained in the patch-series: https://lore.kernel.org/all/20250818-support-forcepads-v3-0-e4f9ab0add84@google.com/T/#m12f9be6691015fb9b2e834248c368e5f90802391
#asahi-dev · 2026-07-25 12:00
aites[m]sofus: you might be interested
#asahi-dev · 2026-07-25 12:00
aites[m]https://github.com/Ambioid/linux
#asahi-dev · 2026-07-25 12:00
aites[m]Heya! So I've been working on writing a new driver for controlling haptics on the trackpad for the MTP multitouch trackpad and I would love if somebody could take a look. I've spent way too long on this 😅 I had to dig through a lot of code and mailing list stuff to figure all this out
#asahi-dev · 2026-07-25 02:02
aites[m]It sounds like you did a lot of work trying to get this to work - Honestly, I feel ya, its an absolute pain to navigate I had to do this too
#asahi-dev · 2026-07-25 02:01
aites[m]Ah, right. In that case I must have gotten the 13.5 installer from archive.org then
#asahi-dev · 2026-07-25 01:43
aites[m]I'm pretty sure the one you get from their online mirrors and/or mist also work
#asahi-dev · 2026-07-25 01:42
aites[m]I'm pretty sure this is the one I used. But also I think I was able to install it without this? It was kinda weird on my machine in the end I wasn't fully understanding how it worked in the end by the time I got the working 13.5 installation on my machine
#asahi-dev · 2026-07-25 01:42
aites[m]https://archive.org/details/install-assistant_20240930
#asahi-dev · 2026-07-25 01:41
aites[m]Yeah I think somewhere a few months ago was me struggling in the chat with the exact same thing

plus ›