#
✕ nick:povik
#asahi-dev · 2022-10-16 11:48
povikit sucks we have to probe the behavior of different sound servers like this
#asahi-dev · 2022-10-16 11:47
povikthere's no formal requirement to specify the no. of channels AFAIK, and pulseaudio assumes stereo if unspecified
#asahi-dev · 2022-10-16 11:46
povikhttps://github.com/povik/alsa-ucm-conf-asahi/blob/master/ucm2/conf.d/macaudio/cs42l84/Headphones.conf#L13
#asahi-dev · 2022-10-16 11:46
povikyou can try inserting PlaybackChannels here
#asahi-dev · 2022-10-16 11:45
povikbecause that's how the mic differs from the others
#asahi-dev · 2022-10-16 11:45
povikchadmed: it's as if it doesn't read anything besides the headset mic from the profiles. only idea i have at the moment, is that it fails if the no. of channels isn't specified for a device
#asahi-dev · 2022-10-16 11:39
povikprobably known...
#asahi-dev · 2022-10-16 11:39
povik | ^~~
#asahi-dev · 2022-10-16 11:39
povik 112 | struct device *dev = cfg->iommu_dev;
#asahi-dev · 2022-10-16 11:39
povikdrivers/iommu/io-pgtable-dart.c:112:17: error: unused variable ‘dev’ [-Werror=unused-variable]
#asahi-dev · 2022-10-16 11:39
povikdrivers/iommu/io-pgtable-dart.c: In function ‘__dart_alloc_pages’:
#asahi-dev · 2022-10-16 11:39
povikhuh
#asahi-dev · 2022-10-16 11:39
povikdoing a test build now
#asahi-dev · 2022-10-16 11:38
povikjannau: ^
#asahi-dev · 2022-10-16 11:38
povikhttps://github.com/povik/linux/tree/cs42l84-fixes
#asahi-dev · 2022-10-16 11:38
povikhere's the volume control fix together with some mic-detection patches on top of asahi-wip
#asahi-dev · 2022-10-16 11:28
povikit's a lost stash, not sure how i managed that *facepalm*
#asahi-dev · 2022-10-16 11:27
povikat least a grep of dangling commits found it, will take a moment to carve it out
#asahi-dev · 2022-10-16 11:25
povikha, found the lost commit!
#asahi-dev · 2022-10-16 11:25
poviki will take it over 0k lines, upload it please somewhere if you can
#asahi-dev · 2022-10-16 11:22
povikwhich would suggest it *does* read it
#asahi-dev · 2022-10-16 11:22
povik[I][03648.728076] spa.alsa | [ alsa-pcm.c: 550 spa_alsa_open()] 0xaaab550bb538: ALSA device open '_ucm0001.hw:J314,0' capture
#asahi-dev · 2022-10-16 11:22
povikbut i don't see any mentions of ucm apart from
#asahi-dev · 2022-10-16 11:22
povikwe really should figure out what's happening there making pipewire reject the ucm profiles
#asahi-dev · 2022-10-16 11:22
povikchadmed: can you increase the verbosity level?
#asahi-dev · 2022-10-16 11:20
povikjannau: thought so
#asahi-dev · 2022-10-16 11:20
poviki am not any wiser from the pipewire logs...
#asahi-dev · 2022-10-16 11:11
povikall was well
#asahi-dev · 2022-10-16 11:11
povikanyway i tested the asahi ucm tip against the reference distro, with speakers disabled
#asahi-dev · 2022-10-16 11:10
povikah!
#asahi-dev · 2022-10-16 11:10
povikthe reference distro by default ships pulseaudio in the desktop environment, right?
#asahi-dev · 2022-10-16 11:09
povikjannau: you running pipewire also?
#asahi-dev · 2022-10-16 11:06
povikcould be the speaker detection is wrong: https://github.com/povik/alsa-ucm-conf-asahi/commit/645f6c7a4adef2698e50781601e87e58e0d95dda
#asahi-dev · 2022-10-16 11:06
povikchadmed: is it 'dead' even with headphones plugged in?
#asahi-dev · 2022-10-16 11:04
poviksince i figured out it's a signed integer field but the code in asahi-wip doesn't reflect that
#asahi-dev · 2022-10-16 11:04
poviki think i must have lost a commit fixing the volume scale
#asahi-dev · 2022-10-16 11:04
povikchadmed: send logs
#asahi-dev · 2022-10-16 10:43
poviki thought i put this in some reasonable shape but apparently didn't
#asahi-dev · 2022-10-16 10:43
povikthat is all wrong. doesn't make much sense to have -156 dB at the low end, and the maximum should be 0 dB
#asahi-dev · 2022-10-16 10:38
povikhuh
#asahi-dev · 2022-10-16 10:35
povikhttps://lore.kernel.org/all/20220603112508.3856519-1-broonie@kernel.org/T/#u
#asahi-dev · 2022-10-16 10:35
povik(i was just looking up this thread on register/control value confusion in ASoC, but that does not seem relevant in the end vvv )
#asahi-dev · 2022-10-16 10:34
povikjannau: i think we still want the mute flag, but that then means the minimum is off, no?
#asahi-dev · 2022-10-16 10:34
povikchadmed: noted
#asahi-dev · 2022-10-14 20:58
poviksee, the task concerns an imac-specific part
#asahi-dev · 2022-10-14 20:57
povikkooni[m]: but the question was if you have an *imac* not a mac
#asahi-dev · 2022-10-14 15:23
povik(^-- the VISENSE wiring)
#asahi-dev · 2022-10-14 15:22
povikit's almost done, but there's some little mistake causing it to not behave like it does under m1n1, which i need to fix
#asahi-dev · 2022-10-14 15:21
poviki need to finish up some cs42l84/aop work, then i can get to that
#asahi-dev · 2022-10-14 15:21
povikbut let's get the kernel side up first

plus ›