diff --git a/config/boards/lepotato.conf b/config/boards/lepotato.conf index aa81dc17fb..ab504823fb 100644 --- a/config/boards/lepotato.conf +++ b/config/boards/lepotato.conf @@ -5,7 +5,7 @@ BOOTCONFIG="libretech-cc_defconfig" KERNEL_TARGET="current,edge" SERIALCON="ttyAML0" FULL_DESKTOP="yes" -ASOUND_STATE="asound.state.mesongx" +ASOUND_STATE="asound.state.lepotato" BOOT_LOGO="desktop" BOOTBRANCH_BOARD="tag:v2022.01" diff --git a/packages/blobs/asound.state/asound.state.lepotato b/packages/blobs/asound.state/asound.state.lepotato new file mode 100644 index 0000000000..894d1df1b8 --- /dev/null +++ b/packages/blobs/asound.state/asound.state.lepotato @@ -0,0 +1,196 @@ +state.LIBRETECHCC { + control.1 { + iface MIXER + name 'AIU ACODEC I2S Lane Select' + value 0 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 3' + } + } + control.2 { + iface MIXER + name 'ACODEC Playback Channel Mode' + value Stereo + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Stereo + item.1 Mono + } + } + control.3 { + iface MIXER + name 'ACODEC Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.4 { + iface MIXER + name 'ACODEC Playback Volume' + value.0 204 + value.1 204 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 255' + dbmin -9999999 + dbmax 0 + dbvalue.0 -1905 + dbvalue.1 -1905 + } + } + control.5 { + iface MIXER + name 'ACODEC Ramp Rate' + value Fast + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Fast + item.1 Slow + } + } + control.6 { + iface MIXER + name 'ACODEC Volume Ramp Switch' + value 0 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 1' + } + } + control.7 { + iface MIXER + name 'ACODEC Mute Ramp Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.8 { + iface MIXER + name 'ACODEC Unmute Ramp Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.9 { + iface PCM + device 2 + 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.10 { + iface PCM + device 2 + name ELD + value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + comment { + access 'read volatile' + type BYTES + count 128 + } + } + control.11 { + iface MIXER + name 'AIU SPDIF SRC SEL' + value SPDIF + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 SPDIF + item.1 I2S + } + } + control.12 { + iface MIXER + name 'AIU HDMI CTRL SRC' + value I2S + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 DISABLED + item.1 PCM + item.2 I2S + } + } + control.13 { + iface MIXER + name 'AIU ACODEC SRC' + value I2S + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 DISABLED + item.1 I2S + item.2 PCM + } + } + control.14 { + iface MIXER + name 'AIU ACODEC OUT EN Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.15 { + iface MIXER + name 'ACODEC Right DAC Sel' + value Right + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Right + item.1 Left + } + } + control.16 { + iface MIXER + name 'ACODEC Left DAC Sel' + value Left + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Left + item.1 Right + } + } +}