css459 / arch-linux-arm-clockworkpi-a06

[UNMAINTAINED] Arch Linux ARM for the ClockworkPi DevTerm A06
GNU Lesser General Public License v2.1
15 stars 6 forks source link

Audio is working but no headphones/speakers switch #2

Closed lonewsk closed 2 years ago

lonewsk commented 2 years ago

Audio is working out-of-the-box but is playing on both speakers and headphones. No Auto-Mute option on alsa sound card. No difference between pulseaudio and pipewire.

Output of aplay -l **** List of PLAYBACK Hardware Devices **** card 0: rockchipes8388c [rockchip,es8388-codec], device 0: ff880000.i2s-es8328-hifi-analog es8328-hifi-analog-0 [ff880000.i2s-es8328-hifi-analog es8328-hifi-analog-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0

Is it kernel-related?

lonewsk commented 2 years ago

alsactl init ouputs alsactl init alsa-lib main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 Found hardware: "simple-card" "" "" "" "" Hardware is initialized using a generic method alsa-lib main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 Found hardware: "simple-card" "" "" "" "" Hardware is initialized using a generic method

css459 commented 2 years ago

Hey thanks for raising this and the PR. I believe the Manjaro folks might be trying to fix something with the audio as well. If it’s kernel related, that would be an easy fix here since we use their kernel with some minor changes. My speakers are likely broken so it will be more difficult for me to test.

lonewsk commented 2 years ago

Just found out the manjaro thread ahah. I got their post-install script and sound works great now. Gonna PR a PKGBUILD for that :)