From 4757ca2d71de0936b4dd757df6077e8afe708168 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 15 Feb 2021 12:06:42 +0100 Subject: [PATCH] RPi fix issues with new driver and alsa name (#51) --- rootfs/etc/cont-init.d/pulse-config.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/rootfs/etc/cont-init.d/pulse-config.sh b/rootfs/etc/cont-init.d/pulse-config.sh index 72b0526..be7096b 100644 --- a/rootfs/etc/cont-init.d/pulse-config.sh +++ b/rootfs/etc/cont-init.d/pulse-config.sh @@ -6,15 +6,9 @@ declare tsched readonly ALSA_CARDS="$(aplay -l)" # RaspberryPi -if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 ALSA\]"; then +if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 .*\]"; then bashio::log.info "Found RaspberryPi system" tsched=false - -# Odroid N2 -elif echo "${ALSA_CARDS}" | grep -q "\[G12B-ODROID-N2\]"; then - bashio::log.info "Found Odroid N2 system" - tsched=false - else tsched=true fi