Booting into linux
If your boot hangs on loading the module for snd-hda-intel, try disabling the card in your BIOS. It is called "HD Audio Controller", "Azalia Audio", or similar. Then try solving the problem using the instructions below.
All Linuxes
If your sound sometimes just doesn't work when you boot up, but works again after a reboot (or 2 or 3), this problem is found in Ubuntu 6.06-7.04, FC6, and Gentoo. To fix it sudo gedit /etc/modules add the following line to it and save options snd-hda-intel model=m2-2 It'll take effect on the next reboot and the problem should disappear. If you need it to work now lsof /dev/snd/* Close everything listed, then one at a time: {{{sudo modprobe -r snd-hda-intel sudo modprobe snd-hda-intel}}} Your speakers should now work.
Ubuntu 6.06 LTS
Many cards seem to work with Ubuntu 6.06 LTS, using the stock kernel 2.6.15 and alsa 1.0.10. This is not the case always, however. Reports include high pitched noise, poor sound quality combined with low volume output and not getting any sound at all. In some cases sound disappears when touching volume controls.
To solve this, you can try two things:
Update to the latest version of alsa
|
- Install the required tools
sudo apt-get install build-essential ncurses-dev
- Install your kernel headers
sudo apt-get install linux-headers-`uname -r`
Download the latest version of alsa from [http://www.alsa-project.org Alsa project] (driver, library, and utils) to a directory (eg. /home/naaman/installers/alsa)
[http://www.alsa-project.org/alsa/ftp/driver/ alsa-driver]
[http://www.alsa-project.org/alsa/ftp/lib/ alsa-lib]
[http://www.alsa-project.org/alsa/ftp/utils/ alsa-utils]
- Setup installation directories
sudo mkdir -p /usr/src/alsa cd /usr/src/alsa sudo cp /home/naaman/installers/alsa/* . sudo tar xjf alsa-driver-1.0.14rc1.tar.bz2 sudo tar xjf alsa-lib-1.0.14rc1.tar.bz2 sudo tar xjf alsa-utils-1.0.14rc1.tar.bz2
- Compile and install alsa-driver
cd alsa-driver-1.0.14rc1 sudo ./configure --with-cards=hda-intel sudo make sudo make install
- Compile and install alsa-lib
cd ../alsa-lib-1.0.14rc1 sudo ./configure sudo make sudo make install
- Compile and install alsa-utils
cd ../alsa-utils-1.0.14rc1 sudo ./configure sudo make sudo make install
- Reboot
Note: You may need to right click on the volume control applet in your gnome-panel and go to the preferences and change the device to "HDA Intel (Alsa Mixer)". The same applies to the gnome volume control program. Additionally, you may also need enable some volume sliders through Edit-Preferences in gnome volume control.
Manually tell the driver which flavor you are using
- Edit the file /etc/modprobe.d/alsa-base
sudo nano /etc/modprobe.d/alsa-base
- Add the line "options snd-hda-intel model=3stack" (change "3stack" to the model you need)
3stack works for many motherboard integrated chips with shared surrounds. Other models include 5stack, 6stack, laptop and laptop-eapd. Sometimes it is also possible to use the more generic "options snd-hda-intel model=ref", which the hda driver uses to load manufacturer specfic presets (SigmaTel, Realtek, etc.). The full list is available in ALSA-Configuration.txt in the driver tarball under alsa-kernel/Documentation/. If this worked, you can help the alsa developers by sending them the output of lspci -nv and the model you used on [http://bugtrack.alsa-project.org Alsa BTS].
- Reboot
Ubuntu 5.10
Because of the rapid development of the snd-hda-intel driver up until now, problems with hda-codec based soundcards are more prominent in this version of Ubuntu. To solve this, upgrade to 6.06 LTS or follow the above instructions but replace your kernel versions with 2.6.12-10 .
Alternative for Ubuntu 5.10: Use a different driver
Some success has been reported with this, though outdated, driver: [http://www.realtek.com.tw/downloads/dlhd-2.aspx?lineid=2004052&famid=2004052&series=2004061&Software=True&title=HD%20Audio%20CODECs#2004061Unix%20(Linux)]