Thanks for doing this.
I am so glad someone is making an effort to get it upstream! Our
(Manjaro ARM) solution is a pretty hacky way of doing it.
Den 12.10.2021 kl. 08.08 skrev Jian-Hong Pan:
Hi,
I prepared the pull request "ucm2: Add UCM support for rockchip_es8316
on Pinebook Pro" [1] to enable Pinebook Pro's audio generically.
Also, the corresponding validator pull request "ucm-validator: Upload
rockchip_es8316's dummy json and alsa-info" [2].
The original information comes from Manjaro ARM's
pinebookpro-post-install's asound.state [3] and pinebookpro-audio's
audio_jack_plugged_in.sh [4].
To make it available on most distros, I transfer the asound.state and
the shell script into ALSA UCM conf.
It will be appreciated if someone can review the pull requests and
give some feedback.
[1]: https://github.com/alsa-project/alsa-ucm-conf/pull/112
[2]: https://github.com/alsa-project/alsa-tests/pull/22
[3]:
https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install/-/blob/4b4206c57b21044bf9c00848bd1f8b6f710d19eb/asound.state
[4]:
https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-audio/-/blob/1f567db09495acc3beb5405c9ef85c3c07b86785/audio_jack_plugged_in.sh
Jian-Hong Pan
--
Kind regards
*Dan Johansen*
Project lead of the *Manjaro ARM* project
Manjaro-ARM <https://manjaro.org>