IMPORTANT- KUBUNTU USERS USE kate INSTEAD OF gedit
XUBUNTU USERS USE mousepad INSTEAD OF gedit
hello guys i posted a post about this a while ago that did not work for some people so today i am going to post both ways where u can actually MAKE your sound work with ubuntu if you have an HDA audio card. the first solution is this: open the terminal and type- (this is for the crackling/poping noise only. not muted sound cards, and you may skip this step if it is not crackling/poping) :
then type your password
sudo gedit /etc/modprobe.d/alsa-base.conf
and then the last two lines where you see power-save option, just delete it. and save it.
FOR ATI/HDA/HDMI DRIVERS this MAY work for you as well: : ( you can try adding backports for your driver with this command - it may work for you) open terminal and type:
REBOOT- this will work if your experiencing wither no sound or your audio jacks are not working.
sudo apt-get install linux-backports-modules-alsa-karmic-generic
I hope i helped someone out there with my post please comment back and let me know if it works for you.
this was tested on HP dv6636nr laptop with HDA NVIDIA card.
SECOND STEP - UPDATING ALSA:-
IF THAT DOESNT HELP WHILE PLAYING GAMES/ WATCHING VIDEOS THEN TRY THIS:
here i will show you how to update your alsa drivers for your sound card to teh latest one that support alot more HDA audio cards. follow the steps and report back to me.
To do this, we must begin by determining our version of alsa as follows :
Advanced Linux Sound Architecture Driver Version 1.0.20.
To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command :
sudo /etc/init.d/alsa-utils stop
We must then install the necessary tools to compile along with the kernel headers :
sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils :
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev
rm -rf ~/alsa* ~/.pulse*
After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder :
sudo rm -rf /usr/src/alsa
Unpack the 3 tar files :
sudo mkdir -p /usr/src/alsa
sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
We compile and install alsa-driver :
sudo tar xjf alsa-utils*
We compile and install alsa-lib :
We compile and install alsa-utils :
If like me, you got this error during the last “sudo ./configure” :
You will need to add those symbolics links (only if you got the error) and restart the installation from the last “sudo ./configure” :
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanelw... no
configure: error: panelw library not found
sudo ln -s libpanelw.so.5 /usr/lib/libpanelw.so
sudo ln -s libformw.so.5 /usr/lib/libformw.so
sudo ln -s libmenuw.so.5 /usr/lib/libmenuw.so
Then, we remove the 3 tar files in our personal folder that are not anymore necessary :
sudo ln -s libncursesw.so.5 /lib/libncursesw.so
rm -f ~/alsa-driver*
Then, just restart your computer and your alsa version should be 18.104.22.168!
rm -f ~/alsa-utils*
You can verify that you have now indeed have this version of alsa :
Advanced Linux Sound Architecture Driver Version 22.214.171.124.
Compiled on Dec 29 2009 for kernel 2.6.31-16-generic (SMP).
Just to be sure everything is well configured, execute this command :
and reboot again!
THIRD STEP POSTED BELOW AS A REPLY