From: Hugo Villeneuve Date: Thu, 19 Jan 2023 23:51:30 +0000 (-0500) Subject: rpi: add custom asound.conf X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=40abbca4c34064ea64476ec2d5a38e7017361139;p=yocto%2Fmeta-hvmpd.git rpi: add custom asound.conf --- diff --git a/raspberrypi/recipes-bsp/alsa-state/alsa-state.bbappend b/raspberrypi/recipes-bsp/alsa-state/alsa-state.bbappend new file mode 100644 index 0000000..50dd875 --- /dev/null +++ b/raspberrypi/recipes-bsp/alsa-state/alsa-state.bbappend @@ -0,0 +1,4 @@ +do_install:append:raspberrypi() { + echo "defaults.pcm.card 1" >> ${D}${sysconfdir}/asound.conf + echo "defaults.ctl.card 1" >> ${D}${sysconfdir}/asound.conf +}