From 412ca02942196cfb4a6dd48e7c665d123cb2f4d6 Mon Sep 17 00:00:00 2001 From: j1nx Date: Thu, 3 Sep 2020 12:12:03 +0200 Subject: [PATCH] MycroftOS: Changes in sound kernel module handling. --- .../etc/modprobe.d/alsa-base.conf | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/buildroot-external/board/raspberrypi/rootfs-overlay/etc/modprobe.d/alsa-base.conf b/buildroot-external/board/raspberrypi/rootfs-overlay/etc/modprobe.d/alsa-base.conf index f63bc4dd..c38e9873 100644 --- a/buildroot-external/board/raspberrypi/rootfs-overlay/etc/modprobe.d/alsa-base.conf +++ b/buildroot-external/board/raspberrypi/rootfs-overlay/etc/modprobe.d/alsa-base.conf @@ -1,7 +1,20 @@ -options snd_usb_audio index=0 -options snd_usb_audio ignore_ctl_error=1 -options snd_soc_simple_card index=0 -options snd_soc_seeed_voicecard index=0 -options snd_bcm2835 index=1 +# Prevent abnormal drivers from grabbing index 0 +options snd-bt87x index=-2 +options cx88-alsa index=-2 +options saa7134-alsa index=-2 +options snd-atiixp-modem index=-2 +options snd-intel8x0m index=-2 +options snd-via82xx-modem index=-2 +options snd-usb-audio index=-2 +options snd-usb-usx2y index=-2 +options snd-usb-caiaq index=-2 +options snd-usb-ua101 index=-2 +options snd-usb-us122l index=-2 +options snd-pcsp index=-2 +options snd-cmipci mpu_port=0x330 fm_port=0x388 -options snd slots=snd_usb_audio,snd_soc_simple_card,snd_soc_seeed_voicecard,snd_bcm2835 +# HDA intel +options snd-hda-intel model=auto + +# Sony Playstation Eye +options snd_usb_audio ignore_ctl_error=1