Comment 44 for bug 1888598

Revision history for this message
Sergio S (sergiorcs82) wrote :

This bug affects me too.
Linux laptop 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021
x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04.2 LTS

I think this bug may (at least in some cases) be related to this here question: https://askubuntu.com/questions/1234807/no-sound-after-sleep-ubuntu-20-04 .

The solution they found involves removing the sound device and requesting a rescan:

echo 1 > /sys/bus/pci/devices/<device_address>/remove
echo 1 > /sys/bus/pci/rescan

They automated this through a script such as this one: https://github.com/GHopperMSK/configs/blob/master/bin/restart-sound