#asahi-dev · 2022-07-11 18:37
svenhuh, how?#asahi-dev · 2022-07-11 18:35
sveni'm probably also missing some kind of "ack this irq" poke because if you switch to legacy interrupts it'll trigger an irq storm#asahi-dev · 2022-07-11 18:33
svenI think suspend is mostly just tear down the communication rings + write 0 to a register that R called "sleep control"#asahi-dev · 2022-07-11 18:33
svenfair :D#asahi-dev · 2022-07-11 18:33
sveni only briefly looked at BT but it didn't seem to bad#asahi-dev · 2022-07-11 18:31
sveni'd mainly like to figure out suspend and how to reset this thing#asahi-dev · 2022-07-11 18:30
sventhat driver needs a bit more work before I'll submit it anyway#asahi-dev · 2022-07-11 18:30
sventhat also works#asahi-dev · 2022-07-11 18:23
sven(plus some minor cleanup)#asahi-dev · 2022-07-11 18:23
svenpushed the OTP offset thingy#asahi-dev · 2022-07-11 18:05
svenguess that just leaves those weird T2 chips#asahi-dev · 2022-07-11 17:57
sven\o/#asahi-dev · 2022-07-11 17:52
sven(Not at a computer here, staring at those numbers on my phone :D)#asahi-dev · 2022-07-11 17:51
svenyeah, could be#asahi-dev · 2022-07-11 17:35
svenor maybe just dump the entire BAR0 from the HV, that's how I found it in the first place :D#asahi-dev · 2022-07-11 17:33
svenI guess the otp might’ve moved on the max/pro then #asahi-dev · 2022-07-11 17:33
svencan you enable the dev_dbg prints? #asahi-dev · 2022-07-11 17:33
svenhuh#asahi-dev · 2022-07-11 16:43
svenyeah, I don’t expect them to release another t2 Mac ;)#asahi-dev · 2022-07-11 16:42
svenso it’s either hardcode “formosa” since there’s only a single FW anyway or do some hacks to get to the WiFi acpi name#asahi-dev · 2022-07-11 16:41
svendunno if you saw, but the Bluetooth function has no acpi companion on the T2 macs#asahi-dev · 2022-07-11 16:40
svenyeah, that#asahi-dev · 2022-07-11 16:40
svenI think I’d drop it…#asahi-dev · 2022-07-11 16:40
svenmacos itself just has a static list of filenames for bt fwiw #asahi-dev · 2022-07-11 16:39
svenhuh, I assume the WiFi board type is without that es2 then?#asahi-dev · 2022-07-11 11:06
svenoh, right, the wiimotes were Bluetooth as well#asahi-dev · 2022-07-11 10:55
svenanything else would be too easy, can't have that *sigh*#asahi-dev · 2022-07-11 10:55
svenand you probably also want my latest m1n1 PR which byte-swaps the BD address because of course it has to be the other byte order than mac addresses#asahi-dev · 2022-07-11 10:54
svenhttps://github.com/AsahiLinux/linux/tree/bluetooth-wip, you'll need to add the board-type for the t6xxx ones though since I based it on the latest RC#asahi-dev · 2022-07-11 10:52
svenM1 pro/max/ultra should work since that's what R did their reverse engineering with #asahi-dev · 2022-07-11 10:51
svenit crashes the T2 wifi/bt module after exchanging a few HCI commands#asahi-dev · 2022-07-11 10:51
sven_older_ actually :D#asahi-dev · 2022-07-11 10:48
svenbut other than that it should be fine#asahi-dev · 2022-07-11 10:48
svenideally someone would test bluetooth on a m1 max/pro/ultra first#asahi-dev · 2022-07-11 10:47
sveni've seen that when messing with the usb3 mess but I hope you haven't merged that yet :D#asahi-dev · 2022-07-10 18:54
svenjust ask marcan about his adventures with it :D#asahi-dev · 2022-07-10 18:54
sventhe mailbox API is very leaky anyway, it probably makes to just test the entire stack in this case#asahi-dev · 2022-07-10 18:47
svenoh. wait, mailbox. I thought you were already at rtkit #asahi-dev · 2022-07-10 18:46
sventhe easiest way is to probably just forward the mailbox messages to m1n1#asahi-dev · 2022-07-10 18:46
svenyou’ll need something to reply on the other side anyway#asahi-dev · 2022-07-10 13:27
sven(make sure to merge https://github.com/AsahiLinux/m1n1/pull/229 if you want the correct BD address)#asahi-dev · 2022-07-10 13:27
sven*now with working ACL transfers in both directions (thanks to R again!)#asahi-dev · 2022-07-10 13:26
svenhttps://github.com/AsahiLinux/linux/tree/bluetooth-wip now with working #asahi-dev · 2022-07-09 14:41
svenand then we get to port all of this to risc-v again! :D#asahi-dev · 2022-07-09 14:39
svenApple will just somehow manage to make it ours ;)#asahi-dev · 2022-07-09 14:16
svenI kinda like icestorm pro/max#asahi-dev · 2022-07-07 18:56
svenwill take a look at the weekend as well#asahi-dev · 2022-07-06 20:47
svenmight be easiest to just hardcode formosa. I kinda doubt we’ll see another apple x86 machine #asahi-dev · 2022-07-06 20:45
svenok, that probably explains why there was no acpi companion for that bt device then