From 40abbca4c34064ea64476ec2d5a38e7017361139 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Thu, 19 Jan 2023 18:51:30 -0500 Subject: [PATCH] rpi: add custom asound.conf --- raspberrypi/recipes-bsp/alsa-state/alsa-state.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 raspberrypi/recipes-bsp/alsa-state/alsa-state.bbappend 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 +} -- 2.20.1