#
#asahi-re · 2026-07-05 01:03
aites[m]Hahaha alrightr
#asahi-re · 2026-07-05 01:02
nicolas17I have no clue what asahi supports :D
#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 01:02
nicolas17there's *also* a way to get the raw pressure but that's independent of haptics
#asahi-re · 2026-07-05 01:01
nicolas17it will click at those 5 levels
#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-05 00:14
nicolas17for example the fast-forward button in QuickTime Player
#asahi-re · 2026-07-05 00:14
nicolas17aites[m]: afaik macOS public APIs let you make an NSButton accept up to 5 pressure levels
#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-03 10:21
chaos_princessnp
#asahi-re · 2026-07-03 10:21
StanfordAppliedCyber[m]i'm also doing that tomorrow because it's 3:20 here in california and i need to sleep
#asahi-re · 2026-07-03 10:21
StanfordAppliedCyber[m]if you really want i can dig through my git log, but that wouldn't be trivial for me to get
#asahi-re · 2026-07-03 10:20
chaos_princesswhich instructions did you use?
#asahi-re · 2026-07-03 10:19
StanfordAppliedCyber[m]i spent a long time trying to figure this out
#asahi-re · 2026-07-03 10:19
StanfordAppliedCyber[m]i tried both
#asahi-re · 2026-07-03 10:15
chaos_princessor full flush
#asahi-re · 2026-07-03 10:15
chaos_princessjust tlb?
#asahi-re · 2026-07-03 09:56
StanfordAppliedCyber[m]definitely does not work
#asahi-re · 2026-07-03 09:56
StanfordAppliedCyber[m]first thing i tried
#asahi-re · 2026-07-03 09:56
StanfordAppliedCyber[m]yes
#asahi-re · 2026-07-03 09:54
svenhave you tried just doing a normal tlb invalidation? if gxf is off there really shouldn’t be special maintenance requirements
#asahi-re · 2026-07-03 09:54
StanfordAppliedCyber[m]the uat continue ones i can dodge just by ensuring that the non continue endpoint completes the work all at once and never returns the continue return code
#asahi-re · 2026-07-03 09:53
StanfordAppliedCyber[m]basically on retype to a page table type sptm keeps track of dirty pages and flushes them with those instructions
#asahi-re · 2026-07-03 09:53
StanfordAppliedCyber[m]for context btw the weird gxf instructions occur in a few endpoints, in the uat continue endpoints, but the relevant one is the RETYPE endpoint in the xnu bootstrap table
#asahi-re · 2026-07-03 09:32
bennofs3oh thx, didn't know the asahi page has such detailed docs :)
#asahi-re · 2026-07-03 09:31
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/soc/apple/sep.rs
#asahi-re · 2026-07-03 09:31
chaos_princesshttps://asahilinux.org/docs/hw/soc/sep/
#asahi-re · 2026-07-03 09:30
bennofs3what's the current state of SEP RE? any resources I could look at?
#asahi-re · 2026-07-02 21:48
StanfordAppliedCyber[m]mischa85: i'm writing cleanroom docs on my sptm emulator right now, i finished xnu-bootstrap a while ago (it's missing some stuff i learned recently, notably the cache stuff, but is overall correct), i finished sart yesterday, will work on dart + nvme + uat today, probably gonna do txm last because i may end up tossing that emulator entirely and just doing the "virtualize txm" thing separately
#asahi-re · 2026-07-02 20:51
starcatmeowmischa85: yes, but looks like we are having different issues. I was running into RTKit crash saying "cmd fetch error for host I/O SQ" and both I/O SQ/CQ addr are 0.
#asahi-re · 2026-07-02 17:05
mischa85starcatmeow: is nvme-secure-bar present in your ADT?
#asahi-re · 2026-07-02 16:33
mischa85right. that makes sense. might be worth tracing ans bringup from xnu on t6040/t6041
#asahi-re · 2026-07-02 16:23
svenbut i'd really expect that iboot sets all that up
#asahi-re · 2026-07-02 16:23
svenand we also have to put the rtkit buffers in there
#asahi-re · 2026-07-02 16:23
svenSART contains a few regions put there by iboot including the firmware itself iirc
#asahi-re · 2026-07-02 16:23
sventhe NVMMU only works together with a NVMe command on either queue
#asahi-re · 2026-07-02 16:22
mischa85should SART also cover the low range the firmware DMA's to?
#asahi-re · 2026-07-02 16:22
svencould also be that you're missing some additional initialization that was added on t6041
#asahi-re · 2026-07-02 16:22
mischa85yeah, before any command, no identify sent.
#asahi-re · 2026-07-02 16:17
svencould also be that SART is setup incorrectly
#asahi-re · 2026-07-02 16:17
svenalso, uh, this happens before you send any command on the admin queue?
#asahi-re · 2026-07-02 16:16
svensptm
#asahi-re · 2026-07-02 16:16
mischa85so the million dollar question is: what programs the coastguard?
#asahi-re · 2026-07-02 16:15
mischa85*iommu
#asahi-re · 2026-07-02 16:15
mischa85looks like the coastguard uimmu translation for the fw's FTL DMA never gets set up

plus ›