sound-reload: Fixed for Lenovo T420.

This commit is contained in:
Ole Tange 2019-01-14 07:53:10 +01:00
parent 29c5881869
commit 9d9e7c0e08

View file

@ -55,6 +55,8 @@ echo autospawn=no >> ~/.pulse/client.conf
pulseaudio -k
fuser -kv /dev/snd/*
modules="
thinkpad_acpi
snd_hda_codec_conexant
snd_hda_intel
snd_hda_codec_hdmi
snd_hda_codec_analog
@ -72,8 +74,10 @@ modules="
snd
soundcore
"
sudo parallel --retries=10 modprobe -r ::: $modules
sudo parallel --retries=100 -N0 modprobe -r $modules ::: 1
lsmod|grep snd
lspci | grep Audio || echo "!!! No audio hardware found in lspci"
sudo parallel -j1 modprobe ::: $modules
timeout 5 pulseaudio --log-level=3
pulseaudio -D
pacmd list-cards | grep 'card.* available.'