sound-reload: Fixed for Lenovo T420.
This commit is contained in:
parent
29c5881869
commit
9d9e7c0e08
|
@ -55,6 +55,8 @@ echo autospawn=no >> ~/.pulse/client.conf
|
||||||
pulseaudio -k
|
pulseaudio -k
|
||||||
fuser -kv /dev/snd/*
|
fuser -kv /dev/snd/*
|
||||||
modules="
|
modules="
|
||||||
|
thinkpad_acpi
|
||||||
|
snd_hda_codec_conexant
|
||||||
snd_hda_intel
|
snd_hda_intel
|
||||||
snd_hda_codec_hdmi
|
snd_hda_codec_hdmi
|
||||||
snd_hda_codec_analog
|
snd_hda_codec_analog
|
||||||
|
@ -72,8 +74,10 @@ modules="
|
||||||
snd
|
snd
|
||||||
soundcore
|
soundcore
|
||||||
"
|
"
|
||||||
sudo parallel --retries=10 modprobe -r ::: $modules
|
sudo parallel --retries=100 -N0 modprobe -r $modules ::: 1
|
||||||
lsmod|grep snd
|
lsmod|grep snd
|
||||||
|
lspci | grep Audio || echo "!!! No audio hardware found in lspci"
|
||||||
sudo parallel -j1 modprobe ::: $modules
|
sudo parallel -j1 modprobe ::: $modules
|
||||||
timeout 5 pulseaudio --log-level=3
|
timeout 5 pulseaudio --log-level=3
|
||||||
pulseaudio -D
|
pulseaudio -D
|
||||||
|
pacmd list-cards | grep 'card.* available.'
|
||||||
|
|
Loading…
Reference in a new issue