<marcan>
issue I just noticed: sometimes brcmfmac/hci load before the vendor firmware is loaded on firstboot. I think it might happen because pcie comes up late and triggers a udev event, even though coldplug hasn't asked for non-block devices yet.
<marcan>
I need either a more reliable way to block those devices from loading automatically until after the vendorfw update, or to move it to the initramfs...
the_lanetly_052__ has joined #asahi-dev
<marcan>
maybe I can just drop the /boot/efi dependency, make the vendorfw update unit do its own ESP lookup/mounting, and make it run before udev as a whole
the_lanetly_052 has quit [Ping timeout: 480 seconds]
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gaspare has joined #asahi-dev
caef^ has joined #asahi-dev
Catyre has joined #asahi-dev
nicolas17 has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
Catyre has quit [Ping timeout: 480 seconds]
rqou_ has quit [Ping timeout: 480 seconds]
<sven>
lol, turns out resetting the bluetooth devices requires nothing special except for a normal pcie function level reset + sleeping a bit to make sure it had time to come up again
<kettenis>
the device implements function level reset?
<sven>
yes
<sven>
i just thought that was broken because I didn't sleep afterwards. looks like XNU does the same (or, well, I at least don't see any polling in the mmio trace)
rqou_ has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
X-Scale` has joined #asahi-dev
X-Scale has quit [Ping timeout: 480 seconds]
[X-Scale] has joined #asahi-dev
[X-Scale] is now known as X-Scale
X-Scale` has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi-dev
Catyre has quit [Ping timeout: 480 seconds]
Gaspare has joined #asahi-dev
<sven>
uh, dumb question, but how do i exit suspend2idle? :D
<sven>
this should work as long as I don't have the wifi driver loaded, shouldn't it?
<rqou_>
congrats on the release!
<jannau>
sven: interrupts. on the mac mini? have you tried the power button? an usb keyboard?
<sven>
yeah, that didn't work. but i'm just using upstream + bluetooth patches so maybe I should try the asahi branch instead
<sven>
i just assumed usb keyboard should work but that seems to lose power once i enter s2idle
<jannau>
power button will need the smc driver. can't the watchdog programmed to wake the CPU before reset?
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
<sven>
hm, probably
<sven>
or maybe I can just hack it to immediately resume even when no irq arrived
caef^ has quit [Remote host closed the connection]
caef^ has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
amarioguy has joined #asahi-dev
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
jluthra has quit [Ping timeout: 480 seconds]
timokrgr has joined #asahi-dev
Gaspare has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
AadiShah[m] has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
caef^ has quit [Remote host closed the connection]