#
#asahi-dev · 2023-09-27 08:10
jannegI started with the last asahi-6.3 tag and cherry-picked net/bluetooth commits that went into v6.4 until pairing broke. manual bisect so to speak
#asahi-dev · 2023-09-27 08:00
iaguisI bisected the drivers/bluetooth path and then at each step I merged the bits/... branches from the 6.3 or 6.4 series depending on whether the commit was after or before 6.4. I was wondering if there's an easier way or that's roughly what you did too
#asahi-dev · 2023-09-27 07:57
iaguisjanneg: great find! I actually started a bisect yesterday too but didn't get far
#asahi-dev · 2023-09-27 07:38
jannegmy plan to have one of the affected users look at the bt issue unfortunately failed
#asahi-dev · 2023-09-27 07:36
chadmedmarcan: sounds good to me. ill be free friday night onwards. monday is a public holiday here too so we can do it during the day then if youre sleeping regular hours these days :P
#asahi-dev · 2023-09-27 05:31
marcanthank you for finding that!
#asahi-dev · 2023-09-26 22:45
jannegI'll send the fix/regression mail out tomorrow
#asahi-dev · 2023-09-26 22:45
jannegdo we know someone with bcm4377 and ble devices?
#asahi-dev · 2023-09-26 22:44
janneghttps://github.com/AsahiLinux/linux/pull/194
#asahi-dev · 2023-09-26 22:07
jannegah, there is already https://lore.kernel.org/all/20230823194128.3893244-1-luiz.dentz@gmail.com/
#asahi-dev · 2023-09-26 22:01
jannegHCI_LE_PHY_CODED seems to be either not supported or broken
#asahi-dev · 2023-09-26 21:56
jannegno, I just looked at the wrong lines after the kernel already broke this
#asahi-dev · 2023-09-26 21:53
jannegaccording to my printfs it shouldn't make a difference
#asahi-dev · 2023-09-26 21:52
jannegwth, reverting 288c90224eec55 fixes the ble pairing issues on bcm4387 but I don't see why
#asahi-dev · 2023-09-26 14:27
marcanmostly was thinking if I'm going to be traveling early september, I can work on speakersafetyd on the go, but not this :p
#asahi-dev · 2023-09-26 14:27
marcanI can make time this weekend any time I think
#asahi-dev · 2023-09-26 14:04
chadmedlet me know when youre free this week/weekend though and ill clear time if i can, lets get this stuff done
#asahi-dev · 2023-09-26 14:04
chadmedi have a research paper due next wednesday
#asahi-dev · 2023-09-26 14:03
chadmedif i cant clear any time this week, ill be free basically any evening from next thursday onwards
#asahi-dev · 2023-09-26 14:01
marcanchadmed: btw, do you have any time in the next week and a half ish? it might be useful to be on a call or something to start making DSP profiles for the other laptops, to make sure I'm not doing anything dumb :)
#asahi-dev · 2023-09-26 13:40
res0nanceasd
#asahi-dev · 2023-09-26 04:07
linaLook at how MTP/rtkit-helper do it, Ithere re no cross calls on that one but you get the idea.
#asahi-dev · 2023-09-26 04:06
linaISP should then wait for ANE, if it can't find it on probe it needs to return EPROBE_DEFER
#asahi-dev · 2023-09-26 04:06
linaAnd you use the device link stuff to set up the link
#asahi-dev · 2023-09-26 04:06
linaIf you want to hook up ANE for real, what you do is set it up as a separate device and reference it with a custom phandle property from ISP, then you can get a reference to the device/drvdata that way and just make up whatever API you want between the two modules
#asahi-dev · 2023-09-26 04:05
linaAnd I'm pretty sure I can get this to work, just needs the buffer thing fixed but I can work on that on wednesday!
#asahi-dev · 2023-09-26 04:05
linaeiln: 13.5 is the one that has the platform id check, before that this hack wouldn't work ^^
#asahi-dev · 2023-09-25 21:17
eilnupdate we can decode with the firmware. trigger "mailbox" by literally writing to nvic with the physaddr it jumps to. I just really, really don't want to do it this way. I'm gonna fuzz the params to try to get the intermediate passes
#asahi-dev · 2023-09-25 20:10
jannegthis has become off-topic here quite a while ago let's move to #asahi
#asahi-dev · 2023-09-25 20:10
leiojanneg: ok, https://dpaste.com/7LQM55JC8
#asahi-dev · 2023-09-25 20:06
leioit (udev) looks to be processing pcie stuff quite a lot quite fine though
#asahi-dev · 2023-09-25 20:05
leioor it's a different thing than CONFIG_USB_XHCI_PCI_ASMEDIA that uses the fw?
#asahi-dev · 2023-09-25 20:05
jannegyour problem sounds like pcie is completely broken
#asahi-dev · 2023-09-25 20:04
leio(fedora asahi remix kernel config has it as builtin)
#asahi-dev · 2023-09-25 20:04
leioit's supposed to be able to grab the firmware from initrd with builtin asmedia?
#asahi-dev · 2023-09-25 20:03
jannegsounds like a kernel config or wrong binary issue on your side
#asahi-dev · 2023-09-25 20:01
leiobut also a Failed to find module 'of:NpcieTpciCapple,t6020-pcie', but it's built-in by now
#asahi-dev · 2023-09-25 20:00
leiolots of platform:2a2400000.smc--platform:580000000.pcie stuff
#asahi-dev · 2023-09-25 19:59
jannegPCIE_APPLE? any pcie messages in kernel log?
#asahi-dev · 2023-09-25 19:58
leioCONFIG_USB_XHCI_PCI_ASMEDIA already was built-in
#asahi-dev · 2023-09-25 19:58
leio16k
#asahi-dev · 2023-09-25 19:57
janneghave you build a 4k or 16k kernel? see CONFIG_ARM64_PAGE_SHIFT
#asahi-dev · 2023-09-25 19:57
leiothe /lib/firmware/vendor/asmedia/*bin is already there
#asahi-dev · 2023-09-25 19:57
leioright, so I don't have the module for asmedia, and I probably can't builtin it as firmware isn't there by then
#asahi-dev · 2023-09-25 19:56
leioit even already says Sep 18 00:00:01 fedora dracut-pre-udev[503]: :: Asahi firmware unpacked successfully
#asahi-dev · 2023-09-25 19:55
jannegthat should have fw handling, you could unpack $ESP/vendorfw/firmware.{tar.cpio} to /lib/firmware/vendor/
#asahi-dev · 2023-09-25 19:50
leio(now I have 2 days newer fedora gnome install)
#asahi-dev · 2023-09-25 19:50
leioit's some previous minimal fedora installs initramfs, grabbed from the zip with loop mounted boot.img
#asahi-dev · 2023-09-25 19:47
jannegwhere is your intrd comming from? is it based on the fedora initrd on the system? You need hooks in there to load and install the firmware in /lib/firmware/vendor. see https://github.com/AsahiLinux/asahi-scripts/tree/main/dracut/modules.d/99asahi-firmware
#asahi-dev · 2023-09-25 19:41
leio(without keyboard or mouse to do anything in it :( )

plus ›