#
✕ nick:sven
#asahi-dev · 2022-07-14 07:44
svenyeah
#asahi-dev · 2022-07-13 21:58
sven37, 38 and 39 are apparently “primary advertising channels” and those are the only numbers I’ve seen
#asahi-dev · 2022-07-13 21:57
svenit’s the channel which that frame was received on
#asahi-dev · 2022-07-13 21:56
svenhah, I think I know what those bt LE magic numbers that they stuff into the advertising report are.
#asahi-dev · 2022-07-12 17:37
svenit's more than just the company id
#asahi-dev · 2022-07-12 17:37
sveni mean.. I looked at the bt trace and matched up the format to that paper
#asahi-dev · 2022-07-12 17:27
svenall these "Unknown advertising packet type:" seem to more or less line up with "Handoff All Your Privacy – A Review of Apple’s Bluetooth Low Energy Continuity Protocol" https://petsymposium.org/2019/files/papers/issue4/popets-2019-0057.pdf
#asahi-dev · 2022-07-12 15:33
svenyup, b3 also needs that beamforming blob. that probably explains why bluetooth was unstable on the M2
#asahi-dev · 2022-07-12 15:26
svenlooks like it also wants the beamforming calibration data
#asahi-dev · 2022-07-12 15:25
svenah, no 43*78* b3 for the pro
#asahi-dev · 2022-07-12 15:23
svenwhat's the m2 chip again? 4387 c2? c3?
#asahi-dev · 2022-07-12 15:12
svensure :D
#asahi-dev · 2022-07-12 15:12
sventhat's what I hope
#asahi-dev · 2022-07-12 15:12
svenI guess I can just grab it from the ipsw
#asahi-dev · 2022-07-12 15:11
svenim asking because I need a BlueTool with m2 support to see which calibration data it wants :D
#asahi-dev · 2022-07-12 15:08
sven(ofc it enabled autocorrect with that update again *sigh*)
#asahi-dev · 2022-07-12 15:08
sven*macos release
#asahi-dev · 2022-07-12 15:08
svenhuh, is m2 support not included in the normal Mac is release or did my MacBook not update all the way?
#asahi-dev · 2022-07-12 11:16
svenBluetooth was fun compared to that: just implement that cursed ipc and hook into hci_recv and _send_frame :D
#asahi-dev · 2022-07-12 11:15
svenso I’ll have to untangle ATC and how the linux thunderbolt and typec subsystem work at the same time and make sure I don’t break dwc3 at the same time
#asahi-dev · 2022-07-12 11:13
svenI have a rough idea how it works but I can’t really bring it up from Python/m1n1
#asahi-dev · 2022-07-12 11:12
svenand thunderbolt is so annoying because it’s part of the entire usb mess
#asahi-dev · 2022-07-12 11:10
svenBluetooth was reasonable-ish because I could ignore all the low level crap
#asahi-dev · 2022-07-12 11:09
svenonce I have that I can finally daily drive asahi :D
#asahi-dev · 2022-07-12 11:09
sventhunderbolt :<
#asahi-dev · 2022-07-12 08:48
sven:)
#asahi-dev · 2022-07-12 08:22
svenit just doesn't load
#asahi-dev · 2022-07-12 08:22
sventhe bluetooth driver also doesn't crash
#asahi-dev · 2022-07-12 08:21
sveni think i just forgot to add a call pci_free_irq_vectors which causes that warn_on
#asahi-dev · 2022-07-12 08:17
svenbut let me see what causes that WARN
#asahi-dev · 2022-07-12 08:17
svenbluetooth firmware is missing and that's "only" a WARN_ON so the system shouldn't die after that
#asahi-dev · 2022-07-12 07:06
svenhm, had some trouble to get the airpods to connect here (but that's common without apple magic) but sounds seems to be fine
#asahi-dev · 2022-07-12 07:00
sveninteresting
#asahi-dev · 2022-07-12 06:59
svenyeah, it's, uh, great
#asahi-dev · 2022-07-12 06:59
sventhat out-of-tree android broadcom driver?
#asahi-dev · 2022-07-12 06:58
sventhey had to start with Broadcom’s mess and instead if cleaning it up just added more hacks on top
#asahi-dev · 2022-07-12 06:57
svenmaybe that explains why the ipc interface is so cursed
#asahi-dev · 2022-07-12 06:56
svenwouldnt surprise me if apple made Broadcom add some, uh, surprise features for AirPods
#asahi-dev · 2022-07-12 06:55
svenmaybe I should test with my AirPods as well
#asahi-dev · 2022-07-12 06:55
svenI’ve tested with my Bose headphones and they were fine on M1 fwiw
#asahi-dev · 2022-07-12 06:14
sventhe missing devices is strange though
#asahi-dev · 2022-07-12 06:14
sveni also see that when scanning
#asahi-dev · 2022-07-12 06:14
sven*harmless
#asahi-dev · 2022-07-12 06:14
sventhe unknown packet type thing should be harmelsa
#asahi-dev · 2022-07-12 06:08
svenunstable Bluetooth sounds a bit like wrong calibration data
#asahi-dev · 2022-07-12 05:05
svenGuess that really just leaves T2
#asahi-dev · 2022-07-12 05:05
sven:)
#asahi-dev · 2022-07-12 05:05
svenfair enough :D
#asahi-dev · 2022-07-12 05:04
sveni wonder if you’d notice if we sent the wrong calibration data though
#asahi-dev · 2022-07-12 05:04
svennice!

plus ›