]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
ucm2: Add UCM support for rockchip_es8316 on Pinebook Pro
authorJian-Hong Pan <jhp@endlessos.org>
Tue, 7 Sep 2021 03:38:14 +0000 (11:38 +0800)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Nov 2021 08:24:19 +0000 (09:24 +0100)
commit85eea19783cfccaccd859e303fda62adb63c219d
tree6d30594ae598e43c48686a5182ff6bc50c40aaaf
parent908ce9fb859fa0ede3fe0f359b1b6297633b4f6d
ucm2: Add UCM support for rockchip_es8316 on Pinebook Pro

Add UCM config files for Pinebook Pro's audio. The config files are
transformed and tuned from Manjaro ARM's packages:
* pinebookpro-post-install's asound.state [1]
* pinebookpro-audio's audio_jack_plugged_in.sh [2]

By the way, with these config files, the Speaker and Headphones will be
switched according to the (un)plugged state automatically.

[1] https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install/-/blob/4b4206c57b21044bf9c00848bd1f8b6f710d19eb/asound.state
[2] https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-audio/-/blob/1f567db09495acc3beb5405c9ef85c3c07b86785/audio_jack_plugged_in.sh

Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/110
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/112
Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Rockchip/es8316/HiFi.conf [new file with mode: 0644]
ucm2/Rockchip/es8316/es8316.conf [new file with mode: 0644]
ucm2/conf.d/rockchip_es8316/rockchip_es8316.conf [new symlink]