szcf-weiya / techNotes

My notes about tech (Linux/R/Julia/Python/Cpp/etc.)
https://tech.hohoweiya.xyz/
11 stars 7 forks source link

no sound #42

Closed szcf-weiya closed 2 years ago

szcf-weiya commented 2 years ago

死机后,重启后没有声音,output 为 dummy,耳机可用。

attempt 1

pulseaudio -k
pulseaudio -D

not work

attempt 2

$ sudo apt-get install --reinstall alsa-base pulseaudio
$ sudo alsa force-reload

but does not work

refer to https://askubuntu.com/questions/1258510/only-dummy-output-sound-in-ubuntu-20-04-after-reboot-broken-driver-modul and https://askubuntu.com/questions/1242766/ubuntu-20-04-dummy-output-no-sound-card-in-use

attempt 3: uninstall timidity but does not exist

attempt 4: modprobe

refer to https://aaroalhainen.medium.com/how-i-fixed-my-ubuntu-20-04-no-audio-dummy-output-issue-eaa525838e0d

$ echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf
$ echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf
$ echo "blacklist snd_soc_skl" | sudo tee -a /etc/modprobe.d/blacklist.conf

not work

attempt 5: reselect the older kernel

not work

attempt 6: boot in Windows

interestingly, also no sound, and then follow the instruction to track the sound issue, then it suggested rebooting.

Note: it froze after rebooting, so just power off.

the sound issue is solved, and after booting into Ubuntu, the sound resumes.