Audio/UpgradingAlsa/DKMS - Ubuntu Wiki
https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
I use Ubuntu 16 and I had problem with my sound card, it was hanging sometimes, then finally i found this solution and now it seems ok :] my system outputs are like that:
**cat /proc/asound/cards ** 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0300000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0210000 irq 27
*cat /proc/asound/card0/codec# | grep Codec **Codec: Realtek ALC662 rev1