From cce5782ad8680a6037f74bcb77b2513764aeb021 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 10 May 2018 23:13:26 -0400 Subject: logi1: Blacklist snd_hda_intel This is a "quick" hack, like the ast blacklisting, to make my discrete PCI sound card the default device. --- diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst index d4bb14e..dddeab5 100644 --- a/hosts/logi1/postinst +++ b/hosts/logi1/postinst @@ -24,10 +24,13 @@ cp -p "${target}/etc/default/grub" "${target}/etc/default/grub.dist" sed 's|^\(GRUB_CMDLINE_LINUX_DEFAULT\)=.*$|\1="'"${cmdline}"'"|;' \ "${target}/etc/default/grub.dist" >"${target}/etc/default/grub" -# Disable ast Linux driver module. +# Disable ast and snd_hda_intel Linux driver modules. cat >"${target}/etc/modprobe.d/ast.conf" <<-EOF blacklist ast EOF +cat >"${target}/etc/modprobe.d/alsa.conf" <<-EOF + blacklist snd_hda_intel + EOF # Set up sensors and fancontrol. Ensure that k10temp and fam15h_power are # loaded in a predictable order. -- cgit v0.9.1