From 02a7e48f0500eb20e17026492e3baa809cedf1b5 Mon Sep 17 00:00:00 2001 From: orangepi-xunlong <258384131@qq.com> Date: Mon, 21 Mar 2022 17:28:02 +0800 Subject: [PATCH] Update asound.state.sun50iw6-current --- .../config/sources/families/sun50iw6.conf | 1 + .../asound.state.sun50iw6-current | 338 ++---------------- 2 files changed, 31 insertions(+), 308 deletions(-) diff --git a/external/config/sources/families/sun50iw6.conf b/external/config/sources/families/sun50iw6.conf index 6a112b4..4cf7851 100644 --- a/external/config/sources/families/sun50iw6.conf +++ b/external/config/sources/families/sun50iw6.conf @@ -36,6 +36,7 @@ case $BRANCH in if [[ ${BOARD} == orangepi3-lts ]]; then + ASOUND_STATE='asound.state.sun50iw6-current' KERNELBRANCH="branch:orange-pi-5.10" LINUXCONFIG=linux-5.10-sunxi64-current fi diff --git a/external/packages/blobs/asound.state/asound.state.sun50iw6-current b/external/packages/blobs/asound.state/asound.state.sun50iw6-current index bef6652..0cdd568 100644 --- a/external/packages/blobs/asound.state/asound.state.sun50iw6-current +++ b/external/packages/blobs/asound.state/asound.state.sun50iw6-current @@ -1,311 +1,3 @@ -state.Codec { - control.1 { - iface MIXER - name 'DAC Playback Volume' - value 63 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 63' - dbmin -7308 - dbmax 0 - dbvalue.0 0 - } - } - control.2 { - iface MIXER - name 'Line In Playback Volume' - value 3 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - dbmin -450 - dbmax 600 - dbvalue.0 0 - } - } - control.3 { - iface MIXER - name 'Line Out Playback Volume' - value 26 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 31' - dbmin -9999999 - dbmax 0 - dbvalue.0 -750 - } - } - control.4 { - iface MIXER - name 'Line Out Playback Switch' - value.0 true - value.1 true - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.5 { - iface MIXER - name 'Mic2 Playback Volume' - value 3 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - dbmin -450 - dbmax 600 - dbvalue.0 0 - } - } - control.6 { - iface MIXER - name 'Mic2 Boost Volume' - value 4 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - dbmin 0 - dbmax 4200 - dbvalue.0 3300 - } - } - control.7 { - iface MIXER - name 'Mic1 Playback Volume' - value 3 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - dbmin -450 - dbmax 600 - dbvalue.0 0 - } - } - control.8 { - iface MIXER - name 'Mic1 Boost Volume' - value 4 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - dbmin 0 - dbmax 4200 - dbvalue.0 3300 - } - } - control.9 { - iface MIXER - name 'ADC Gain Capture Volume' - value 3 - comment { - access 'read write' - type INTEGER - count 1 - range '0 - 7' - dbmin -450 - dbmax 600 - dbvalue.0 0 - } - } - control.10 { - iface MIXER - name 'DAC Playback Switch' - value.0 true - value.1 true - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.11 { - iface MIXER - name 'DAC Reversed Playback Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.12 { - iface MIXER - name 'Line In Playback Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.13 { - iface MIXER - name 'Mic1 Playback Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.14 { - iface MIXER - name 'Mic2 Playback Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.15 { - iface MIXER - name 'Mixer Capture Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.16 { - iface MIXER - name 'Mixer Reversed Capture Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.17 { - iface MIXER - name 'Line In Capture Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.18 { - iface MIXER - name 'Mic1 Capture Switch' - value.0 true - value.1 true - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.19 { - iface MIXER - name 'Mic2 Capture Switch' - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.20 { - iface MIXER - name 'Line Out Source Playback Route' - value.0 Stereo - value.1 Stereo - comment { - access 'read write' - type ENUMERATED - count 2 - item.0 Stereo - item.1 'Mono Differential' - } - } -} -state.allwinnerhdmi { - control.1 { - iface PCM - name 'Playback Channel Map' - value.0 0 - value.1 0 - value.2 0 - value.3 0 - value.4 0 - value.5 0 - value.6 0 - value.7 0 - comment { - access read - type INTEGER - count 8 - range '0 - 36' - } - } - control.2 { - iface PCM - name ELD - value '100008006c1000010000000000000000410c1000323450464c333534332f5433090701000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - comment { - access 'read volatile' - type BYTES - count 128 - } - } -} -state.sun50ih6hdmi { - control.1 { - iface PCM - name 'Playback Channel Map' - value.0 0 - value.1 0 - value.2 0 - value.3 0 - value.4 0 - value.5 0 - value.6 0 - value.7 0 - comment { - access read - type INTEGER - count 8 - range '0 - 36' - } - } - control.2 { - iface PCM - name ELD - value '100008006c1000010000000000000000410c1000323450464c333534332f5433090701000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - comment { - access 'read volatile' - type BYTES - count 128 - } - } -} state.allwinnerac200c { control.1 { iface MIXER @@ -842,3 +534,33 @@ state.allwinnerac200c { } } } +state.sun50ih6hdmi { + control.1 { + iface PCM + name 'Playback Channel Map' + value.0 0 + value.1 0 + value.2 0 + value.3 0 + value.4 0 + value.5 0 + value.6 0 + value.7 0 + comment { + access read + type INTEGER + count 8 + range '0 - 36' + } + } + control.2 { + iface PCM + name ELD + value '100008006c1000010000000000000000410c1000323450464c333534332f5433090701000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access 'read volatile' + type BYTES + count 128 + } + } +}