Hi,

I have a Pi zero 2W with PiCorePlayer 8.1, Squeezelite and Jivelite
plugged through HDMI into a TV with audio also coming through the TV.
The Pi is powered from a USB port on the TV and powers on and off when
the TV is switched on or off. The Squeezelite output is configured as
iec958:CARD=vc4hdmi,DEV=0

A small annoyance is that the start up process stalls for 20 seconds
displaying:

Waiting for sound card b1 to
populate......................................... Failed to find b1...
Done (42).

Is there a way to prevent this?

After a bit of snooping on the Diagnostics page the text above appears
to come from /usr/local/etc/init.d/pcp_startup.sh:

#----------------------------------------------------------------------------------------
# Load the contents of the selected Card Config file.
#----------------------------------------------------------------------------------------
if [ "$SQUEEZELITE" = "yes" ]; then             # <== GE Are users using pCP
without squeezelite?
        pcp_load_card_conf

        if [ "$CARDNAME" != "None" ]; then
                echo -n "${YELLOW}Waiting for sound card ${CARDNAME} to 
populate."
                CNT=1
                until aplay -l 2>&1 | grep '\[' | grep -q $CARDNAME
                do
                        if [ $((CNT++)) -gt 40 ]; then
                                echo -n "${RED} Failed to find $CARDNAME..."
                                break
                        else
                                echo -n "."
                                sleep 0.5
                        fi
                done
                echo " ${GREEN}Done ($CNT).${NORMAL}"
        fi
fi

Does "pcp_load_card_conf" load the $CARDNAME variable? I can't find it.

Thanks


------------------------------------------------------------------------
peartree's Profile: http://forums.slimdevices.com/member.php?userid=72029
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to