#asahi-dev · 2026-04-09 11:16
tryhard[m]is there a way to access adt from rust? or should i just hardcode the data#asahi-dev · 2026-04-08 19:48
tryhard[m]ill check it out, thx#asahi-dev · 2026-04-08 19:43
tryhard[m]we need to notify pmp whenever we turn off/on different units#asahi-dev · 2026-04-08 19:42
tryhard[m]chaos_princess: it is possible to make linux use notify_pmp right?#asahi-dev · 2026-04-08 19:41
tryhard[m]there is still these 0x204 messages, which don't appear to do anything other than appear after specific DEV devpwr messages. ill check the fabric power state, see if it does something there.#asahi-dev · 2026-04-08 19:39
tryhard[m]chaos_princess: yeah#asahi-dev · 2026-04-08 19:39
tryhard[m]chaos_princess: yeah i figured, but i thought there is something i forgot to setup because nothing actually changed from my view#asahi-dev · 2026-04-08 19:38
tryhard[m]ok. well other than that, it doesn't appear there is something else to do with pmp.py. sending messages are working as long as pmgr actually turned it on#asahi-dev · 2026-04-08 19:36
tryhard[m]how can i check the fabric power state?#asahi-dev · 2026-04-08 19:32
tryhard[m]if it doesn't actually cut off the power, then what does it actually do with that info?#asahi-dev · 2026-04-08 19:26
tryhard[m]is it the pmgr that actually controls the power? because whenever something happening, like closing the lid and the disp0 turns off, there is a message to pmp but pmgr is the one i think that actually powers off. it happens with every soc.#asahi-dev · 2026-04-07 15:58
tryhard[m]btw p.pmgr_adt_power_disable("/arm-io/disp0") doesnt work in macos.#asahi-dev · 2026-04-07 15:58
tryhard[m]shit xD#asahi-dev · 2026-04-07 15:51
tryhard[m]so whats up with that? you have any idea why pmp devpwr doesn't work?#asahi-dev · 2026-04-07 15:50
tryhard[m]oh yeah it works#asahi-dev · 2026-04-07 15:47
tryhard[m]doesn't seem like pmgr_adt_power_disable_index is exposed in python#asahi-dev · 2026-04-07 15:39
tryhard[m]this is correct right: pmp.p.pmgr_adt_power_disable("/arm-io/dcp")#asahi-dev · 2026-04-07 15:38
tryhard[m]nope#asahi-dev · 2026-04-07 15:36
tryhard[m]/arm-io/disp0#asahi-dev · 2026-04-07 15:35
tryhard[m]yeah i guess#asahi-dev · 2026-04-07 15:34
tryhard[m]wdym new#asahi-dev · 2026-04-07 15:32
tryhard[m]even disabling through pmgr it doesnt turn off, assuming i got the dev path correctly.#asahi-dev · 2026-04-07 15:31
tryhard[m]macos does turn it off successfully with a devpwr msg#asahi-dev · 2026-04-07 15:30
tryhard[m]yet, disp0 doesnt turn off when sending a message. turned on all the stuff it uses before turning off the display.#asahi-dev · 2026-04-07 15:29
tryhard[m]thx#asahi-dev · 2026-04-07 15:29
tryhard[m]noopwafel: yeah i turned it on with pmgr and it was fixed.#asahi-dev · 2026-04-07 13:21
tryhard[m]in addition, turning off the display still doesn't work. might be i need to turn on something first...#asahi-dev · 2026-04-07 13:19
tryhard[m]if i dont turn it on, then no crash.#asahi-dev · 2026-04-07 13:19
tryhard[m]ok it seems like its actually related to turning on ANE. specifcally self.send(PMP_DevPwr(DEV=0x68, STATE=1)).#asahi-dev · 2026-04-07 13:15
tryhard[m]chaos_princess: don't think its related then.#asahi-dev · 2026-04-07 12:55
tryhard[m]you happen to know the command for that?#asahi-dev · 2026-04-07 12:52
tryhard[m]chaos_princess: https://pastebin.com/HDhTUM3n#asahi-dev · 2026-04-07 12:47
tryhard[m]the original fw/pmp.py didn't initialize correctly the mapping between the registers and dva, so i fixed it and now it looks the same. before it would still crash when i would send a devpwr message for another device (AVD or ANE, don't exactly remember), but now its crashing when i send a message to change state for ISP#asahi-dev · 2026-04-07 12:47
tryhard[m]chaos_princess: i was trying to put ISP in some state (0x21). here is a more informative crash: https://pastebin.com/2arJqK5x#asahi-dev · 2026-04-07 12:39
tryhard[m]can anyone help out with this crash? i'm not sure what it means. https://pastebin.com/CBRhvVUq#asahi-dev · 2026-04-06 20:17
tryhard[m]sending message to turn on ANE crashes ASC. sayin a few PA are mapped incorrectly?#asahi-dev · 2026-04-06 19:15
tryhard[m]disp0#asahi-dev · 2026-04-06 19:15
tryhard[m]sending a message to power off the display doesn't turn it off#asahi-dev · 2026-04-06 19:12
tryhard[m]why what you thinkin#asahi-dev · 2026-04-06 19:11
tryhard[m]the asahi console#asahi-dev · 2026-04-06 19:10
tryhard[m]pmp init runs, getting syslog ssying pmp started and then shell#asahi-dev · 2026-04-06 19:09
tryhard[m]you mean going straight to shell#asahi-dev · 2026-04-06 19:09
tryhard[m]sent a code block: https://matrix.org/oftc/media/v1/media/download/AZcPvEV4onqXKbis7nB2EHtmpy6zyldBzXLRobPUkP-uG2UDXiOttFSjO-hjSQZmkrFDBkKje5n3I6E_BGIfrQpCedrEvddAAG1hdHJpeC5vcmcvZEpQSUVFUWtSeWpweXZiaFRXR0JxRWxw#asahi-dev · 2026-04-06 19:08
tryhard[m]stuck#asahi-dev · 2026-04-06 19:08
tryhard[m]no, its just stuch at the progress bar#asahi-dev · 2026-04-06 19:08
tryhard[m]it probably is since we do get syslog saying PMP started...#asahi-dev · 2026-04-06 19:07
tryhard[m]yeah i've thought about that, but still we wanna check if the init is good#asahi-dev · 2026-04-06 19:07
tryhard[m]yeah#asahi-dev · 2026-04-06 19:06
tryhard[m]chaos_princess: RTBuddy#asahi-dev · 2026-04-06 19:06
tryhard[m]chaos_princess: i use -m, which i think loads it straight away