#
#asahi-dev · 2026-06-29 10:47
integralpilothuh, might have removed them to clean it up, but can add them back
#asahi-dev · 2026-06-29 10:47
yukaI found these comments useful
#asahi-dev · 2026-06-29 10:47
yuka"/* We need to enable STM first, since it'll give us the device IDs */"
#asahi-dev · 2026-06-29 10:47
yukaand above the deferred thingy
#asahi-dev · 2026-06-29 10:46
yuka"/* Fake it and keep going. Things might still work... */"
#asahi-dev · 2026-06-29 10:46
yuka(there used to be a comment above it, it got lost?)
#asahi-dev · 2026-06-29 10:46
yukahttps://github.com/IntegralPilot/linux2/commit/dc3b197d70b4b691bd5e04516f7df11a163efed7#diff-9877a06381602de6b89ecea1c362f1d4dd54eb3742347d269a096e1fb66e635dR629
#asahi-dev · 2026-06-29 10:46
yukathis is the fallback I'm talking about:
#asahi-dev · 2026-06-29 10:45
yukaspecifically removing this line makes the basic keyboard work on some devices: https://github.com/IntegralPilot/linux2/commit/dc3b197d70b4b691bd5e04516f7df11a163efed7#diff-9877a06381602de6b89ecea1c362f1d4dd54eb3742347d269a096e1fb66e635dR698
#asahi-dev · 2026-06-29 10:44
yukaI noticed on newer devices/firmwares the "stm" iface no longer exists. It would be nice if the driver would still proceed, since it already has a fallback for stm sending no/garbage data.
#asahi-dev · 2026-06-29 10:41
jannauintegralpilot: we can do further review also on list
#asahi-dev · 2026-06-29 10:41
jannauintegralpilot: my advice re hid country-code was bad. I remembered that we need/use it to differentiate between the ansi, iso, and jis keyboard layout variants in apple-hid
#asahi-dev · 2026-06-29 10:40
integralpilotthanks! it was being so annoyed with exactly that (not being able to type on upstream) which pushed me to try and upstream it lol
#asahi-dev · 2026-06-29 10:40
yukabtw, thank you for working on dockchannel upstreaming. I'm looking forward to having my keyboards work working in mainline kernel.
#asahi-dev · 2026-06-29 10:39
integralpilotjannau: oh wait sorry i forgot, thank you! i'll fix those, thanks. do you want me to wait if you would like more time to look through everything
#asahi-dev · 2026-06-29 10:39
yukathis could then produce a github pages site with a search mask to query the database
#asahi-dev · 2026-06-29 10:39
enverbalalici wanted to try dockchannel-hid on t6041 last night but getting the addresses to all the registers for the different mailboxes is something that i'm still figuring out
#asahi-dev · 2026-06-29 10:38
yukaI think a git repository with machine-readable files containing some metadata and plain msr->val (and possibly mmio addr -> val) mappings, and some metadata (iboot versions, m1n1 versions, ...) would be suitable. And then perform all the interpretation in post.
#asahi-dev · 2026-06-29 10:38
jannauintegralpilot: don't reuse USB IDs for dockchannel in the apple keyboard driver
#asahi-dev · 2026-06-29 10:37
jannauintegralpilot: I still have comments. apple-dockchannel-hid/apple-dockchannel-hid.c is excessive as folder / file name. I think dockchannel/ is distinctive enough as folder name. maybe dockchannel/apple.c or dockchannel/apple-hid.c
#asahi-dev · 2026-06-29 10:34
JamesCalligeros[m]It would help for writing some tests for locked registers too
#asahi-dev · 2026-06-29 10:34
yukatbh, it would be cool to have all the different feature and chicken registers in a proper database
#asahi-dev · 2026-06-29 10:33
integralpilotdebating if to send dc hid tonight. i think i will do one final test of everything
#asahi-dev · 2026-06-29 10:24
sofusim guessing it is, we reset when probing and resuming
#asahi-dev · 2026-06-29 10:21
sofuswould something like that be acceptable?
#asahi-dev · 2026-06-29 10:21
sofuscalling apple_dart_hw_reset in apple_dart_setup_translation fixes the no TTBR problem
#asahi-dev · 2026-06-29 10:19
JamesCalligeros[m]That makes no sense
#asahi-dev · 2026-06-29 10:19
JamesCalligeros[m]Wait, why are the masks swapped on m3
#asahi-dev · 2026-06-29 10:17
yuka(m5 pro m-core)
#asahi-dev · 2026-06-29 10:16
yukajannau: https://x0.at/P3Fj.txt
#asahi-dev · 2026-06-29 10:15
JamesCalligeros[m]It should just be a bitmask of ~(tx_slots_in_use)
#asahi-dev · 2026-06-29 10:08
jannauchadmed: how can we verify the dai-tdm-slot-tx-idle-mask? I might have switched some unnecessarily. Is testing speakers on each device enough or could there be subtle issues?
#asahi-dev · 2026-06-29 10:06
jannauyuka: some would appreciate the output of https://github.com/AsahiLinux/m1n1/pull/611
#asahi-dev · 2026-06-29 10:05
jannauintegralpilot: thanks
#asahi-dev · 2026-06-29 10:02
integralpilotokay so just sent t8122 i2c fixes: https://lore.kernel.org/asahi/20260629-t8122-i2c-fix-v1-1-cec044001550@gmail.com/T/#u
#asahi-dev · 2026-06-29 09:52
yukaSYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 is also locked on both 26.2b2 and 27.0b2
#asahi-dev · 2026-06-29 09:45
yukaon a positive note we start on one of the new M-Cores so I was able to collect some information from that
#asahi-dev · 2026-06-29 09:43
yukabut tbh I believe it's much more likely just broken
#asahi-dev · 2026-06-29 09:43
yukaI guess there's a slim chance the secondary startup changed significantly, and with a working hypervisor one could run macOS on the first core to the point where it tries to start the secondaries and see how it does that
#asahi-dev · 2026-06-29 09:38
yukasadly, smp is broken :(
#asahi-dev · 2026-06-29 09:38
yukaMy M5 device arrived: https://github.com/AsahiLinux/m1n1/pull/610
#asahi-dev · 2026-06-29 09:25
chadmedpr added, should be sorted
#asahi-dev · 2026-06-29 09:12
chadmedok its just j413 that needs fixing
#asahi-dev · 2026-06-29 08:31
integralpilotoh interesting, thanks for explaining!
#asahi-dev · 2026-06-29 08:26
JamesCalligeros[m]Each “slot” is an n-bit wide tdm slice of bus time. The thing the amps beam their vi data to ORs the “left” and “right” buses together so the left side has to guarantee that 0 is on its bus when the right bus wants to send data and vice versa
#asahi-dev · 2026-06-29 08:23
integralpilotaudio is like so confusing to me lol
#asahi-dev · 2026-06-29 08:23
integralpilotthanks for helping sort all this out!!
#asahi-dev · 2026-06-29 08:23
JamesCalligeros[m]Ill check j313 later tonight. The masks might need swapping there too
#asahi-dev · 2026-06-29 08:12
integralpilotyep works fully now after changing 1 -> 2
#asahi-dev · 2026-06-29 08:11
integralpilotno worries, easy typo to make

plus ›