Update asound.state

This commit is contained in:
orangepi-xunlong
2022-03-10 09:31:45 +08:00
parent 6b35cf1c66
commit ba1b625b3c
3 changed files with 207 additions and 196 deletions

View File

@@ -106,12 +106,6 @@ prepare_board() {
[[ -f /sys/class/leds/caps_led/brightness ]] && chmod 666 /sys/class/leds/caps_led/brightness
[[ -f /sys/class/leds/num_led/brightness ]] && chmod 666 /sys/class/leds/num_led/brightness
CODEC_CARD=1
amixer -c ${CODEC_CARD} cset name='Headphone Playback Volume' 11 > /dev/null 2>&1
amixer -c ${CODEC_CARD} cset name='DAC Playback Volume' 170 > /dev/null 2>&1
amixer -c ${CODEC_CARD} cset name='ADC Capture Volume' 190 >/dev/null 2>&1
amixer -c ${CODEC_CARD} cset name='Differential Mux' 1 >/dev/null 2>&1
if [[ -c /dev/mpp_service ]]; then
chmod 666 /dev/mpp_service