#
✕ nick:chadmed
#asahi-dev · 2023-01-16 11:37
chadmedjust like my old northwood p4 machine :P
#asahi-dev · 2023-01-16 11:37
chadmedthe smc has the hid event for the lid closing/opening but hid events seem to get suspended and the only way to wake the thing is with the hard power button
#asahi-dev · 2023-01-16 11:36
chadmednot under linux no
#asahi-dev · 2023-01-16 11:28
chadmedand probably airtag-like functionality for Find My (also useless)
#asahi-dev · 2023-01-16 11:27
chadmed"hey siri" functionality (useless)
#asahi-dev · 2023-01-16 11:26
chadmedcould LEAP do multiband compression :P
#asahi-dev · 2023-01-15 12:16
chadmedit just causes the PLL to desync...
#asahi-dev · 2023-01-15 12:14
chadmedmps reported that switching the muxes and then switching them back fixed it, but i cant repro that
#asahi-dev · 2023-01-15 12:09
chadmeduh oh
#asahi-dev · 2023-01-15 12:09
chadmedcs42l84 2-004b: PLL failed to lock: -110
#asahi-dev · 2023-01-15 12:03
chadmeddoes the codec have resampling facilities?
#asahi-dev · 2023-01-15 07:42
chadmedik some of that is going to be redrawing the screen but it still seems very high, and the irq thread reports over 4% cpu utilisation
#asahi-dev · 2023-01-15 07:40
chadmedpower use goes from like 5 W to like 15 W just wiggling the cursor around
#asahi-dev · 2023-01-15 07:39
chadmedthe touchpad seems to generate a heck of a lot of interrupts, the kernel wakes up multiple cores to deal with them
#asahi-dev · 2023-01-14 23:59
chadmedeh it will be fixed eventually with proper shared gpio but thats 100% not something ill even pretend to be able to do
#asahi-dev · 2023-01-14 23:58
chadmedodd that it changed. seems to still not work for mps though
#asahi-dev · 2023-01-14 11:59
chadmedi have a j314 but they use the same jack driver chip
#asahi-dev · 2023-01-14 11:57
chadmedi replicated it on my machine so its def a kernel problem
#asahi-dev · 2023-01-14 11:56
chadmedsince you said switching playback muxes cleared the problem
#asahi-dev · 2023-01-14 11:56
chadmedbut i have a feeling its something that got changed in core asoc code that handles tdm slot allocation on driver initialisation
#asahi-dev · 2023-01-14 11:56
chadmedyeah, i need to look deeper into that
#asahi-dev · 2023-01-14 11:56
chadmedthese patches are just for the speaker amps
#asahi-dev · 2023-01-14 11:55
chadmedyeah the jack has always worked
#asahi-dev · 2023-01-14 11:55
chadmedwhich... nope not doing that
#asahi-dev · 2023-01-14 11:55
chadmedthat would mean the only way to fix this consistently is to march back into the shared gpio bike shed
#asahi-dev · 2023-01-14 11:54
chadmedbecause of the timings
#asahi-dev · 2023-01-14 11:54
chadmedand the hack i used that worked on j314 doesnt work there
#asahi-dev · 2023-01-14 11:54
chadmedi wonder if the SDZ pins are connected differently on j316
#asahi-dev · 2023-01-14 11:53
chadmedhmph
#asahi-dev · 2023-01-14 11:53
chadmedall codecs still fail to come back up?
#asahi-dev · 2023-01-14 11:51
chadmedcould you try playing something briefly, suspending, then resuming the system?
#asahi-dev · 2023-01-14 11:49
chadmedusually its only a few
#asahi-dev · 2023-01-14 11:49
chadmedinteresting that it fails to sync all of them
#asahi-dev · 2023-01-14 11:48
chadmedso someone else reported that it still breaks if nothing's been played through the speakers before suspend is attempted too
#asahi-dev · 2023-01-14 11:47
chadmedah interesting
#asahi-dev · 2023-01-14 11:47
chadmeddid you play something through the speakers before suspending?
#asahi-dev · 2023-01-14 11:45
chadmedwould you mind pasting your dmesg somewhere?
#asahi-dev · 2023-01-14 11:27
chadmedmps: gh is fine for me
#asahi-dev · 2023-01-14 11:27
chadmedneed to figure out whats going on with the codec now still but that one might be beyond me atm
#asahi-dev · 2023-01-14 11:25
chadmedbut its also the one that actually fixes the problem for us...
#asahi-dev · 2023-01-14 11:25
chadmedthe top commit is the one that cannot be upstreamed
#asahi-dev · 2023-01-14 11:24
chadmedmps: https://github.com/chadmed/linux/commits/snd-pm-v2 i need to rebase this on the latest asahi-wip but those three commits should apply cleanly to asahi and asahi-wip
#asahi-dev · 2023-01-14 11:19
chadmedi should submit v2 of that upstream (minus the shared gpio fix)...
#asahi-dev · 2023-01-14 11:19
chadmedmy PR against asahi-wip fixes that for tas2764 but supposedly still doesnt work for tas2770
#asahi-dev · 2023-01-14 11:19
chadmedmps: no thats the speaker codecs not suspending properly because of shared gpio nonsense
#asahi-dev · 2023-01-14 11:17
chadmedyeah
#asahi-dev · 2023-01-14 11:17
chadmedmps: yeah the problem is definitely in the kernel. wouldnt surprise me if its asoc doing something silly with the frontend channels and their relationship to tdm slots in the backend
#asahi-dev · 2023-01-14 11:16
chadmedmarcan: sounds (and feels) like they cut down the fundamentals. its what youd normally do with such tiny speakers to stop precisely the issue we're having
#asahi-dev · 2023-01-14 10:45
chadmedon it right now
#asahi-dev · 2023-01-14 10:44
chadmedi dont really want to introduce any more runtime dependencies tbqh. im more than happy with the sound quality without the fake bass (in fact, it sounds better than macos right now), its just the cpu use that kinda blows

plus ›