Skip to content

Commit 4757ca2

Browse files
authored
RPi fix issues with new driver and alsa name (#51)
1 parent ae22c2e commit 4757ca2

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

rootfs/etc/cont-init.d/pulse-config.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ declare tsched
66
readonly ALSA_CARDS="$(aplay -l)"
77

88
# RaspberryPi
9-
if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 ALSA\]"; then
9+
if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 .*\]"; then
1010
bashio::log.info "Found RaspberryPi system"
1111
tsched=false
12-
13-
# Odroid N2
14-
elif echo "${ALSA_CARDS}" | grep -q "\[G12B-ODROID-N2\]"; then
15-
bashio::log.info "Found Odroid N2 system"
16-
tsched=false
17-
1812
else
1913
tsched=true
2014
fi

0 commit comments

Comments
 (0)