#
#asahi-dev · 2026-06-29 07:37
sofusbut im very open to thoughts
#asahi-dev · 2026-06-29 07:36
sofusre avd firmware, i think (for now) im ok with the current design. Making the reset more stable and supporting more codecs is more important i think
#asahi-dev · 2026-06-29 07:31
chadmedhttps://github.com/AsahiLinux/speakersafetyd/issues/20
#asahi-dev · 2026-06-29 07:30
chadmedno one has come forward to say that they are
#asahi-dev · 2026-06-29 07:28
jannaudo we have speakersafetyd use on non-apple devices?
#asahi-dev · 2026-06-29 07:27
jannauand both are in the bindings so we can rely on it
#asahi-dev · 2026-06-29 07:26
jannauwe can match on "sound-name-prefix"
#asahi-dev · 2026-06-29 07:25
chadmedoh we can just check sound-name-prefix matches the config section
#asahi-dev · 2026-06-29 07:24
jannauyes, I still expect the speaker config on all 14/16 inch macbook pros to be identical
#asahi-dev · 2026-06-29 07:24
chadmedif we can map a specific speaker part to its corresponding amp's dt node dynamically that is probably a better approach.
#asahi-dev · 2026-06-29 07:22
jannauwould it make sense to either add a check to speakersafetyd that it conf matches the live devicetree or simply read is_chan/vs_chan directly from there?
#asahi-dev · 2026-06-29 07:20
chadmedalso yeah vs/is_chan are the tdm slot numbers so we will have to un-alias the configs
#asahi-dev · 2026-06-29 07:19
chadmedyou think maybe apple has changed the limits since 12.x or whenever we did this?
#asahi-dev · 2026-06-29 07:19
jannauj504.conf has a 10 degree lower t_limit for the woofers. would it make sense to check if the other confs in speakersafetyd still still match macos?
#asahi-dev · 2026-06-29 07:16
jannaudoes speakersafetyd's is_chan/vs_chan is supposed to match ti,imon-slot-no/ti,vmon-slot-no (deviced by 2)? if so we can't link speakersafetyd's j514/j516 conf to j314/j316
#asahi-dev · 2026-06-29 06:58
integralpilotactually sorry dont have access to my device i use for the other end of the dockchannel today, so can't do any dc-uart stuff sorry
#asahi-dev · 2026-06-29 06:43
JamesCalligeros[m]This might help make dcp’s mode selection a little less goofy
#asahi-dev · 2026-06-29 06:43
JamesCalligeros[m]drm colour format stuff got merged
#asahi-dev · 2026-06-29 06:14
integralpilotagain, sorry, it was just a rough test of userspace TTY so see if the concept of a mailbox could work for dockchanel-uart, but thanks for trying it and am working on making it better rn
#asahi-dev · 2026-06-29 06:13
integralpilotconsole=/dev/ttydc0 won't work because we don't implement a struct console and call register_console(), but i'll fix it too
#asahi-dev · 2026-06-29 06:12
integralpilotenverbalalic: sorry, i only tested it worked once because it was just a PoC! i think i see the issue that could be causing the freezing and am working on it now.
#asahi-dev · 2026-06-29 02:11
JamesCalligeros[m]also i dont think we can do anything but word-aligned reads so yeah no rtk-style memcpy_fromio of log strings :(
#asahi-dev · 2026-06-29 02:10
JamesCalligeros[m]eyyy avd syslog sorta works. initialising the memory of the ring buffer in _start causes it to never not be zero. leaving it uninitialised makes the logger work....
#asahi-dev · 2026-06-28 21:26
JamesCalligeros[m]It’s not too late to change of course
#asahi-dev · 2026-06-28 21:21
yukaI'm actually not too happy with the way the pmp is abstracted in the device tree, but also can't see it getting better anytime soon
#asahi-dev · 2026-06-28 21:21
yukayeah absolutely fair
#asahi-dev · 2026-06-28 21:20
kettenisyuka: changing things because the bindings change just ends up being painful
#asahi-dev · 2026-06-28 20:54
jannau2048 is the fifo size
#asahi-dev · 2026-06-28 20:53
enverbalalichuge message = >2048 chars
#asahi-dev · 2026-06-28 20:52
enverbalalicbut it will still kill the output pipe, second echo still doesn't do anything
#asahi-dev · 2026-06-28 20:52
enverbalalicinteresting, if i echo a huge message where it just cuts out and doesn't output it all - it doesn't kill the machine then
#asahi-dev · 2026-06-28 20:49
yukaI guess I still need to test that direction too, to get a stacktrace
#asahi-dev · 2026-06-28 20:45
yukaah you said echo
#asahi-dev · 2026-06-28 20:45
yukawhich direction worked once?
#asahi-dev · 2026-06-28 20:44
yukaintegralpilot
#asahi-dev · 2026-06-28 20:41
enverbalalicyuka: i tested the dockchannel tty driver, after i finally figured out that i was loading the wrong dtb... console=ttydc0 doesn't output anything, but manually echoing to /dev/ttydc0 works with a caveat - it only works once, after that the entire machine freezes. no crashdump displayed on screen, and i have no other serial to figure out what's wrong
#asahi-dev · 2026-06-28 20:24
jannauaudio tested on j504/j514s
#asahi-dev · 2026-06-28 20:23
jannauchadmed: I didn't drop the mca shutdown commit since I did not want to deal with the conflicts
#asahi-dev · 2026-06-28 20:22
jannauI've rebased asahi-wip onto v7.1.2, not tagged and I've ignored PRs for now
#asahi-dev · 2026-06-28 18:31
yukawhich is fair
#asahi-dev · 2026-06-28 18:31
yukau-boot people are asking about upstreaming the device tree bindings
#asahi-dev · 2026-06-28 17:45
yukau-boot changes: https://github.com/AsahiLinux/u-boot/pull/32
#asahi-dev · 2026-06-28 17:43
yukakernel/dt changes: https://github.com/AsahiLinux/linux/pull/525
#asahi-dev · 2026-06-28 17:43
yukam1n1 changes: https://github.com/AsahiLinux/m1n1/pull/609
#asahi-dev · 2026-06-28 17:42
yukaok, my PMP work is done for now
#asahi-dev · 2026-06-28 17:04
yukalike proper DCP, not the iboot framebuffer
#asahi-dev · 2026-06-28 17:04
yukauntil we get DCP, I guess
#asahi-dev · 2026-06-28 17:04
yukaso I'll try to not worry about this too much
#asahi-dev · 2026-06-28 17:03
yukaand also on these machines the whole pmgr disp* are always-on
#asahi-dev · 2026-06-28 17:03
yukaso it's fine

plus ›