#
✕ nick:povik
#asahi · 2022-03-24 11:04
povikwhether the amp gain caps will be enough to protect the speakers against evil userspace (if the DSP isn't there) i am not sure
#asahi · 2022-03-24 11:04
povikDSP will be up to userspace
#asahi · 2022-03-24 11:04
povikthat's a speaker amp driver in the kernel
#asahi · 2022-03-24 11:03
povikno the macaudio driver but a speaker amp driver will limit the maximal gain to a sensible value
#asahi · 2022-03-24 11:01
povik(it should already but apparently doesn't, something minor there)
#asahi · 2022-03-24 11:00
povikthe macaudio driver will hide it in the future
#asahi · 2022-03-24 11:00
povikit's a case of the ASoC subsystem in linux exposing something it shouldn't
#asahi · 2022-03-24 11:00
povikmps: something you shouldn't worry about. refer to tas2770 datasheet if you are curious
#asahi · 2022-03-24 10:19
poviktake a look
#asahi · 2022-03-23 17:26
povikmaybe even... dangerous?
#asahi · 2022-03-23 17:26
povikclover[m]: that's strange
#asahi · 2022-03-23 17:08
poviksure it can. we are looking at pipewire for proper speaker support anyway
#asahi · 2022-03-23 17:06
poviki still haven't reproduced it
#asahi · 2022-03-23 17:06
povikany clues someone may collect to that are welcome
#asahi · 2022-03-23 17:06
povikclover[m]: well there's a good chance the kernel driver does something bad that makes pulseaudio misbehave
#asahi · 2022-03-23 17:02
povikwell i guess that part is hard to replace too :p
#asahi · 2022-03-23 17:00
povikwhy should they? if they don't modify dts they can't do anything to speakers accidentally
#asahi · 2022-03-23 16:59
povikthe jack not working is most likely just a volume issue. if you are comfortable with alsamixer, go there, switch to the "macbook integrated audio" device and there will be a muted knob
#asahi · 2022-03-23 16:58
poviksomewhere in settings, haven't done it myself so i am not sure where
#asahi · 2022-03-23 16:58
povikpeople have reported that it helps switching the audio device profile to input-only, then to input+output back
#asahi · 2022-03-23 16:58
povikno, that's probably an audio issue too
#asahi · 2022-03-22 18:24
povikwell good then
#asahi · 2022-03-22 18:24
povikGlanzmann: :D
#asahi · 2022-03-22 17:55
povikGlanzmann: any clues to the hang? can you get the kernel console on screen?
#asahi · 2022-03-20 16:36
povikthanks to the power domains there's some order to it
#asahi · 2022-03-20 16:36
povikhas been poking at undocumented ADMAC and MCA instances recently
#asahi · 2022-03-20 16:36
povikmarcan: something like... this? -> https://github.com/AsahiLinux/docs/wiki/HW%3AMemory-map#mmio-ranges-that-respond-to-probe-reads-t8103
#asahi · 2022-03-20 09:11
povikah cs8409 then it's not as interesting
#asahi · 2022-03-20 09:09
povikthanks
#asahi · 2022-03-20 09:09
povikwe *too* do use cs42l42 driver
#asahi · 2022-03-20 09:09
povikdo you have a link?
#asahi · 2022-03-20 09:07
povikchadmed: say what? out-of-tree patches to cs42l42 on intel macs?
#asahi · 2022-03-19 23:09
povikhaven't seen that myself (since very early admac driver)
#asahi · 2022-03-19 23:09
povikespecially if there's something in the kernel log
#asahi · 2022-03-19 23:09
povikany clues to the 'audio causes stuck video playback' issue would be helpful
#asahi · 2022-03-19 22:58
povikmps: no problem, let me know any issues you come across
#asahi · 2022-03-19 22:56
povikthe kernel side should work though
#asahi · 2022-03-19 22:55
povikwe are missing UCM among other things
#asahi · 2022-03-19 22:55
povikwell it's not done
#asahi · 2022-03-19 22:55
povikmps: what about, ehm, speaker-test -D hw:0,1 when both are enabled?
#asahi · 2022-03-19 22:54
povikas i said, it's should, it just moves to hw:0,1 which lot of userspace ignores by default
#asahi · 2022-03-19 22:53
povikj293 i meant
#asahi · 2022-03-19 22:53
povikyeah, right
#asahi · 2022-03-19 22:53
povik(it's not intentional)
#asahi · 2022-03-19 22:52
povikthat's why your controls are named differently, without the jack prefix, but other than that they are the same
#asahi · 2022-03-19 22:52
povikj313 is missing sound-name-prefix = "Jack"; in jack_codec
#asahi · 2022-03-19 22:52
povikmps: you were on the right track with diffing the dts to explain different controls
#asahi · 2022-03-19 07:45
povikyeah, i asked marcan for that
#asahi · 2022-03-19 07:40
povikerr, 'Jack Mixer Volume'
#asahi · 2022-03-19 07:39
povikGlanzmann: you have 'Jack Volume' muted in alsamixer

plus ›