#
#asahi-dev · 2024-10-26 12:50
chaos_princessyea, but who cares for exploratory code, you are gonna write real drivers in c/rust anyway
#asahi-dev · 2024-10-26 12:49
aakisn't it slower than C?
#asahi-dev · 2024-10-26 12:49
chaos_princessno, why?
#asahi-dev · 2024-10-26 12:48
aakunrelated but has there been any discussion of replacing python?
#asahi-dev · 2024-10-26 12:46
aakthat makes sense
#asahi-dev · 2024-10-26 12:44
chaos_princessfor example here is the entry point of the webcam driver that runs under m1n1 itself https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/isp.py
#asahi-dev · 2024-10-26 12:43
chaos_princessor you can pretend to be macos too, several drivers were first prototyped as python scripts in m1n1, and then rewritten to a real kernel driver
#asahi-dev · 2024-10-26 12:42
aakI see, so mac os is the proxy here
#asahi-dev · 2024-10-26 12:42
chaos_princessit runs macos in a very thin vm that passes through almost all hardware
#asahi-dev · 2024-10-26 12:41
aakdoes m1n1 run on top of macos or does it pretend to be macos
#asahi-dev · 2024-10-26 12:41
chaos_princesshttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/hw/sep.py - there is a beginning of a sep tracer here
#asahi-dev · 2024-10-26 12:39
chaos_princessThe recommended approach is to use m1n1 (a hypervizor/debugger that can load python scripts) to intercept the macos->sep communication and figure it out from there
#asahi-dev · 2024-10-26 12:39
aakwhat would be the legal approach?
#asahi-dev · 2024-10-26 12:38
chaos_princessthat is one approach, but it is somewhat recommended against, because it is not open source, and there might be legal issues if you dont know how to do it properly.
#asahi-dev · 2024-10-26 12:37
aakYea so I'll have to reverse engineer the SEP firmware?
#asahi-dev · 2024-10-26 12:34
chaos_princesssimilar deal for external touch id on apple keyboards, except over bt or something instead of over SPI
#asahi-dev · 2024-10-26 12:33
chaos_princessfor that, you need SEP, the touch id sensor will only talk to it, and the only thing that the driver can do is initialization and then passing through encrypted buffers between sep and the sensor
#asahi-dev · 2024-10-26 12:30
aakfl0_id thanks, for missing hardware support I think the touch id doesn't work, I can give that a try
#asahi-dev · 2024-10-26 12:26
fl0_idaak https://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving plus various missing hardware support on the model features pages
#asahi-dev · 2024-10-26 12:15
chaos_princessis there any hardware feature that you personally find missing?
#asahi-dev · 2024-10-26 12:08
aakHey, are there any issues that need to be tackled? Looking to start contributing
#asahi-dev · 2024-10-26 07:43
LarstiQchaos_princess: oho!
#asahi-dev · 2024-10-26 06:10
chadmedyes 274 people
#asahi-dev · 2024-10-26 06:09
Demlany1 there
#asahi-dev · 2024-10-26 05:42
Demlhi hru
#asahi-dev · 2024-10-26 05:37
chadmedhallo
#asahi-dev · 2024-10-26 05:33
Demlhi?
#asahi-dev · 2024-10-25 22:11
fl0_idchaos_princess a wild microphone appears?
#asahi-dev · 2024-10-25 21:52
j`ey:o
#asahi-dev · 2024-10-25 21:41
chaos_princesshttps://social.treehouse.systems/@chaos_princess/113370229410416973 - hmm, what do we have here :P
#asahi-dev · 2024-10-25 16:58
chaos_princessIt is p.pmgr_adt_clocks_enable("adt path here") in m1n1 shell, not sure about how to do it with raw register writes
#asahi-dev · 2024-10-25 16:55
nikaaha. makes sense (.... I guess)
#asahi-dev · 2024-10-25 13:13
chaos_princessno, you need to turn it on via pmgr
#asahi-dev · 2024-10-25 13:12
nikaby writing to its asc's regs? you cant
#asahi-dev · 2024-10-25 12:56
chaos_princessdid you turn on the power to it?
#asahi-dev · 2024-10-25 12:55
nikaimmediately after iBoot you can access aic regs (eg 0x23.. on m1) but cannot ans (0x27..). why/how?
#asahi-dev · 2024-10-24 14:59
nickchanchaos_princess: Don't think there's much research on that besides eclecticlight's blog
#asahi-dev · 2024-10-24 14:58
nickchannote: TXM runs in GL0 too, and in this sense TXM is SPTM's userland
#asahi-dev · 2024-10-24 14:55
chaos_princessno i mean, what extra stuff does the exclave thing do, compared to what gl2 did previously?
#asahi-dev · 2024-10-24 14:55
nickchanthe kicker here is that Exclave is essentially SPTM's VM so to run it properly under m1n1 nested virt is required
#asahi-dev · 2024-10-24 14:54
nickchanboth runs in GL2
#asahi-dev · 2024-10-24 14:54
nickchanchaos_princess: sptm is the ppl replacement
#asahi-dev · 2024-10-24 14:53
chaos_princesshow is it different from the old ppl/whatever it is called now?
#asahi-dev · 2024-10-24 14:53
nickchanI think it's like 230 MB in size at least for M4 iPad
#asahi-dev · 2024-10-24 14:53
nickchanexclave userland is called exclaveOS, has a rootfs dmg, dyld, libsystem all that
#asahi-dev · 2024-10-24 14:52
nickchancL4 kernel, runs in GL1, called exclaveCore
#asahi-dev · 2024-10-24 14:52
nickchanchaos_princess: Exclave is its own little OS
#asahi-dev · 2024-10-24 14:48
chaos_princessIs there a writeup on exclaves anywhere, cause eclecticlight's is kinda... light on the details.
#asahi-dev · 2024-10-24 14:46
nickchanI expect m4 macs to get it so we should see soon
#asahi-dev · 2024-10-24 14:46
nickchancan do nested on m2 at least but m1, uh idk

plus ›