it is very well, as it looks like a bit "random" : for two weeks the wifi card was totally absent from linux ; two days ago as i power it on like almost everyday, i see the wifi connected. Today, i see wifi card still disappeared
im wondering if it's not related to the fact i switch off the device to access twrp (and it's very unconvenient to go on twrp on that device as you can't enter it with the cable plugged in), to charge it without big cu consumption ; then rebooted to postmarket and wifi worked back, one time.
Well the wifi card is actually connected via mmc since it is a sdio card for espresso hence it shows up as mmc4 in the logs. We faced similar issue and had a patch for it #1211 (closed) and !3130 (merged) are some related issues.
Could you confirm that wifi stops working only on cold boots and works fine when rebooted from twrp to pmOS?
it's very very hard to get "the system you want", as postmarket//twrp//downloadmode with that device
sometimes i have to salvagely reboot the device up to 10 times because it loads postmarket, even if i push voldown or volup from it's powered off until i push power-on button. and with the USB unplugged of course, USB plugged = twrp/download modes will never be launched, always directly the OS.
so after 4 salvage reboots of postmarket with unplugged usb and vol button, i went up to go to twrp.
just reboot > system.
device reboots, then, that time, wifi works.
i cannot ensure that this sort of bug will not appear again :(
if it disappear again, i think i will repeat the process, and maybe do a dalkvit/cache wipe with twrp, to see.
The patch was already added to pmos hence i wanted to confirm whether its the same bug or something else has broken for you for the wifi card to not initialize, since booting from twrp sets those regs for wifi card to start it should work 100% when booting from twrp. But when cold booting before the patch was applied those regs were not set (as downstream modelled a regulator as a clock and that seemed to just work tm for them, we cant use such hacks in mainline) we faced the wifi issue.
i can provide logs or do some manipulation if needed. just dont understand why wlan card works only for first startup (or second one), but never after..