#
✕ nick:marcan
#asahi-dev · 2022-09-19 17:01
marcanre new patches, we'll see, there's the whole sleep thing, but that's a big yak to shave anyway...
#asahi-dev · 2022-09-19 17:00
marcanupstreaming is good, but best not rush things that aren't ready, and that one isn't :) (in a way that has compat implications)
#asahi-dev · 2022-09-19 17:00
marcanwould've loved to get to this earlier but alas... my schedule has been kind of swamped lately (see Akademy talk tweet, and others) :(
#asahi-dev · 2022-09-19 16:59
marcanrmk: pcie gpio probably won't go into 6.1 because that binding has to change radically, and I can't know I did that right until sleep works
#asahi-dev · 2022-09-19 11:08
marcan(pavucontrol has profiles)
#asahi-dev · 2022-09-19 11:08
marcantry higher bitrates for more effect
#asahi-dev · 2022-09-19 11:08
marcanbut I still get more glitches and hiccups than expected with SBC
#asahi-dev · 2022-09-19 11:08
marcanit completely falls over with LDAC devices apparently
#asahi-dev · 2022-09-19 11:08
marcanjust not... great
#asahi-dev · 2022-09-19 11:07
marcanit sort of works
#asahi-dev · 2022-09-19 11:07
marcanyeah that's the thing
#asahi-dev · 2022-09-19 10:51
marcanof course the real way to do this is with a new API but that would end up needing support all the way to userspace..
#asahi-dev · 2022-09-19 10:50
marcansven: can we figure this out at the hci layer? might need sniffing packets, something something look for an l2cap PSM 0x19 (I think that's the one)?
#asahi-dev · 2022-09-19 10:45
marcanit's possible the wlan side coex profile only prioritizes connections marked as that
#asahi-dev · 2022-09-19 10:44
marcanmaybe that's all we need then?
#asahi-dev · 2022-09-19 10:35
marcanthis is why I have 2.4-only and 5-only SSIDs...
#asahi-dev · 2022-09-19 10:33
marcanI think what that does is prioritize l2cap, but I don't know for sure
#asahi-dev · 2022-09-19 10:32
marcanmacos changes the wlan coex profile on 2.4 but not 5, when A2DP starts sending data (when audio plays)
#asahi-dev · 2022-09-19 10:32
marcanand make sure to test a coex scenario (A2DP with wifi on 2.4) to see if anything changes
#asahi-dev · 2022-09-19 10:30
marcananyway, yeah, trace macos and see what it does?
#asahi-dev · 2022-09-19 10:30
marcanVSC_ChangeLNAGainCoexECI hmm
#asahi-dev · 2022-09-19 10:29
marcanVSC_CoExDebugCounters
#asahi-dev · 2022-09-19 10:29
marcanand VSC_ChangeConnectionPriority could be related to coex prio
#asahi-dev · 2022-09-19 10:29
marcanVSC_ForceWLANChannel also
#asahi-dev · 2022-09-19 10:29
marcanReadSupportedVSCs sounds useful
#asahi-dev · 2022-09-19 10:27
marcanVSC_COEX_WRITE_WIMAX_CONFIGURATION... wimax?
#asahi-dev · 2022-09-19 10:27
marcanCoexBandwidthStatistics is probably receive only but useful
#asahi-dev · 2022-09-19 10:26
marcanalso WriteHighPriorityConnection
#asahi-dev · 2022-09-19 10:26
marcanReadCollaborationMode WriteCollaborationMode also
#asahi-dev · 2022-09-19 10:25
marcanWriteHoppingChannels sounds like it could be related
#asahi-dev · 2022-09-19 10:25
marcanSuper_Peek_Poke Super_Duper_Peek_Poke lol
#asahi-dev · 2022-09-19 10:24
marcansven: just pushed, have fun
#asahi-dev · 2022-09-19 10:22
marcanthere is some readback support for the coex stuff, I should try it and see if it's *doing* anything on the wlan side
#asahi-dev · 2022-09-19 10:22
marcanstill wondering if there's an actual wlan coex enable though, or I'm missing something on the wlan side. changing coex profiles on the wlan side didn't seem to do anything
#asahi-dev · 2022-09-19 10:17
marcanoh huh
#asahi-dev · 2022-09-19 08:40
marcanm1n1 only really directly boots kernels for debugging, so it's not that big a deal, but yeah, I should fix that
#asahi-dev · 2022-09-18 16:26
marcangrub supports multiple
#asahi-dev · 2022-09-18 16:26
marcanit's just an initrd
#asahi-dev · 2022-09-18 16:07
marcanit's just adding one more entry
#asahi-dev · 2022-09-18 16:07
marcan/lib/firmware/updates is already in the list
#asahi-dev · 2022-09-18 16:07
marcanbut I think it makes sense hardcoded in the long term
#asahi-dev · 2022-09-18 16:06
marcanthere's also a commandline argument though
#asahi-dev · 2022-09-18 16:06
marcankernel patch
#asahi-dev · 2022-09-18 16:03
marcan(I'll keep the vendorfw tar around for a while to allow other systems to transition, especially bsd; the cpio can be used the same as the tar, it just needs a different unpacker, but can also be used as an initramfs)
#asahi-dev · 2022-09-18 16:02
marcantl;dr the kernel already knows how to load firmware from multiple paths. Add /lib/firmware/vendor, change vendorfw from a tar to a cpio, then for /boot=/efi systems the bootloader can just load the firmware into the initramfs directly. then /lib/firmware/vendor could be just a directory, or a tmpfs, or whatever, for systems with immutable root.
#asahi-dev · 2022-09-18 16:01
marcanjannau: bunch of yak shaving going on in the Fedora Asahi matrix, I have some ideas for how to redo this whole firmware mess
#asahi-dev · 2022-09-18 15:20
marcanyeah, none of that matters, in fact I might want to make it just ignore all apple firmware anyway somehow
#asahi-dev · 2022-09-18 14:46
marcanjannau: also, can you check if the fwextract stuff worked? you should have /lib/firmware/asmedia
#asahi-dev · 2022-09-18 14:45
marcanand yes, all that stuff should now know how to deal with the ESP being in /boot
#asahi-dev · 2022-09-18 14:44
marcanI assume asahi-4-1 does too (only differences are the xhci timeout and macsmc hid code)

plus ›