Monday, December 13, 2010

Ubuntu 10.10: static and noise sound with HDA Intel SigmaTel STAC9221 A1

I have just installed Ubuntu 10.04 and I found that my sound card was not working. There was a lot of breaks, noise and freezes when I was playing any audio file.

This is what I have: aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
cat /proc/asound/card0/codec#* | grep Codec
Codec: SigmaTel STAC9221 A1


I overcame this problem simply by adding the following line:options snd-hda-intel model=ref into the file /etc/modprobe.d/alsa-base.conf:sudo gedit /etc/modprobe.d/alsa-base.conf