#asahi-dev · 2026-04-12 16:49
tryhard[m]that's nice#asahi-dev · 2026-04-12 16:47
chaos_princessrun `make rustavailable`#asahi-dev · 2026-04-12 16:47
tryhard[m]chaos_princess: i'm using your CONFIG_APPLE_PMP but it seems that make doesnt build it, it just removes it from .config.#asahi-dev · 2026-04-12 14:46
bennofsjannau: any idea on how to approach a fix for this?#asahi-dev · 2026-04-12 14:45
freetolgai htink i did the graphical version of bputil#asahi-dev · 2026-04-12 14:45
fl0_idyou can make it booting again with bputil#asahi-dev · 2026-04-12 14:44
freetolgawhich i did yesterday#asahi-dev · 2026-04-12 14:44
freetolgafl0_id: well its much easier to kmutil a working macos installation to make it non-booting#asahi-dev · 2026-04-12 14:40
tryhard[m]hopefully ill finish it fast#asahi-dev · 2026-04-12 14:40
tryhard[m]ok ill look into#asahi-dev · 2026-04-12 14:40
fl0_idfreetolga I used it with 14.8.3. others probably used it with newer ones. but yes, it's work. but probably a good barrier, because if that stops you, not sure you want to have a non-booting m1n1 / dev on it#asahi-dev · 2026-04-12 14:37
chaos_princessadd the headers you need here and rebuild https://github.com/AsahiLinux/linux/blob/asahi-wip/rust/bindings/bindings_helper.h#asahi-dev · 2026-04-12 14:36
tryhard[m]chaos_princess: are pm bindings available?#asahi-dev · 2026-04-12 14:35
jannaubennofs: that is one of the reasons why DP-altmode is not generally available#asahi-dev · 2026-04-12 14:33
chaos_princesscorrect. you make an abstraction that uses bindings::, put that in rust/kernel, then use that one from the driver#asahi-dev · 2026-04-12 14:33
tryhard[m]in drivers/#asahi-dev · 2026-04-12 14:33
tryhard[m]you said though using bindings is not allowed?#asahi-dev · 2026-04-12 14:32
chaos_princessthe bulk of the code should be in init i think#asahi-dev · 2026-04-12 14:32
chaos_princessi am suggesting to just make genpd bindings yourself and do that part in rust too#asahi-dev · 2026-04-12 14:32
tryhard[m]i could maybe just reinit rtkit but i don't know if it's allowed#asahi-dev · 2026-04-12 14:31
tryhard[m]but the pmp reporting gets to C, and i need to send the devpwr msgs#asahi-dev · 2026-04-12 14:31
tryhard[m]the pmp init#asahi-dev · 2026-04-12 14:31
tryhard[m]since there are no genpd bindings for rust, i had to write it in C just like you. the init just like you i wrote in rust#asahi-dev · 2026-04-12 14:30
chaos_princessi am confused now#asahi-dev · 2026-04-12 14:30
tryhard[m]no i wrote the driver#asahi-dev · 2026-04-12 14:29
chaos_princesswait, but you said that you got the genpd binding?#asahi-dev · 2026-04-12 14:29
tryhard[m]and for sending the actual devpwr messages i need to forward it to the rust driver so it will talk via rtkit#asahi-dev · 2026-04-12 14:29
tryhard[m]the c driver gets the pmp reporting#asahi-dev · 2026-04-12 14:28
chaos_princessso, what is missing?#asahi-dev · 2026-04-12 14:28
tryhard[m]the driver also in rust#asahi-dev · 2026-04-12 14:28
tryhard[m]genpd i already made one#asahi-dev · 2026-04-12 14:28
chaos_princessthat would work. But making your own for genpd shouldn't be hard#asahi-dev · 2026-04-12 14:27
tryhard[m]i kinda already wrote it in rust but alright#asahi-dev · 2026-04-12 14:27
tryhard[m]i guess i'd have to stick with c since there are no bindings for rust#asahi-dev · 2026-04-12 14:26
chaos_princessimo, stick with either c or rust. i got away with it since in my case the sides basically do not interact, but i don't think it will work for v1#asahi-dev · 2026-04-12 14:23
tryhard[m]like it doesn't pass compilation#asahi-dev · 2026-04-12 14:23
tryhard[m]i thought maybe to have like a shared function but that doesnt work#asahi-dev · 2026-04-12 14:23
tryhard[m]is it the same here?#asahi-dev · 2026-04-12 14:21
chaos_princesstryhard[m]: no, aop is an example of how to make two rust drivers talk#asahi-dev · 2026-04-12 14:19
freetolganow i have 4 extra preboot and recovery volumes ....#asahi-dev · 2026-04-12 14:18
freetolgamodifying installer also ended up being a total failure because the stub installation is designed for macos versions much older than 15 or 26#asahi-dev · 2026-04-12 14:15
tryhard[m]chaos_princess: what did you mean about aop when we talk about the c side and rust side talkin#asahi-dev · 2026-04-12 14:05
bennofsI have the problem that dp-altmode doesn't work when the connector is already plugged in on boot. It seems that this is because the CD321x fires the drm oob hotplug event before the DRM/DCP subsystem is initialized on boot. Do you have any good ideas how to fix this? Just retry the callback until the connector is there?#asahi-dev · 2026-04-12 13:39
freetolgawth its now called mBoot? mBoot-18000.101.7#asahi-dev · 2026-04-12 13:10
freetolgaxarkes: oof it does require a DT..... #asahi-dev · 2026-04-12 13:09
freetolgaBut i atleast want a seperate partition to play with#asahi-dev · 2026-04-12 13:09
freetolgawell if it requires working dts to load a kernel from the ESP im cooked#asahi-dev · 2026-04-12 13:08
freetolgaSince i couldnt prepare a booting m1n1 on my m4 macbook air myself and even temporairly ruined macos im trying to make the asahi installer prepare m1n1 with the seperate partition and just chainload whatever i want easily from that#asahi-dev · 2026-04-12 12:04
tryhard[m]yeah but my internal keyboard likes to send keystrokes#asahi-dev · 2026-04-12 12:03
chaos_princessdoesn't it auto-boot after a few seconds?