diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-05-10 23:13:26 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-05-10 23:13:26 (EDT) |
commit | cce5782ad8680a6037f74bcb77b2513764aeb021 (patch) | |
tree | 4118c7e687e82917e314ae557560b7d7491221d6 /hosts | |
parent | 1ef9e0a027e5a46f943a4e25a7fa97bd221eb286 (diff) | |
download | pc-inst-cce5782ad8680a6037f74bcb77b2513764aeb021.zip pc-inst-cce5782ad8680a6037f74bcb77b2513764aeb021.tar.gz pc-inst-cce5782ad8680a6037f74bcb77b2513764aeb021.tar.bz2 |
logi1: Blacklist snd_hda_intel
This is a "quick" hack, like the ast blacklisting, to make my discrete
PCI sound card the default device.
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/logi1/postinst | 5 |
1 files changed, 4 insertions, 1 deletions
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. |