Update for jammy and focal

This commit is contained in:
orangepi-xunlong
2022-05-20 14:52:43 +08:00
parent 8a7661b3af
commit 9ac00a9ca6
17 changed files with 73 additions and 67 deletions

View File

@@ -129,8 +129,9 @@ prepare_board() {
orangepizero2|orangepizero2-lts|orangepizero2-b|orangepi400)
if [[ $BRANCH == current ]]; then
# Initial hdmi audio
#aplay /usr/share/sounds/alsa/audio.wav -D hw:0,0 > /dev/null 2>&1
aplay /usr/share/sounds/alsa/audio.wav -D hw:1,0 > /dev/null 2>&1
aplay /usr/share/sounds/alsa/mute.wav -D hw:0,0 > /dev/null 2>&1
aplay /usr/share/sounds/alsa/mute.wav -D hw:1,0 > /dev/null 2>&1
aplay /usr/share/sounds/alsa/mute.wav -D hw:0,0 > /dev/null 2>&1
fi
if [[ $BRANCH == legacy ]]; then