Now, for those of you who are looking at this post, you either:
1. Cant hear any sound on your laptop
2. You hear sound but inserting headphone does not mute main speakers
Here is how I solved the situation. It is nothing new however using this method I managed to get sound AND headphone jack to work. Here goes
First download the latest ALSA
driver,
libs and
utils
Secondly, we will be compiling the ALSA drivers using the directions from the
wiki:
I will assume that you downloaded the files to the /home/your_username/downloads directory. Please amend if applicable. Also, we will be creating a /usr/src/alsa directory to install the drivers
Install required tools:
Code:
sudo apt-get install build-essential ncurses-dev gettext
sudo apt-get install linux-headers-`uname -r`
Creating the directory for installation and copying the downloaded files
Code:
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/downloads/alsa* .
sudo tar xjf alsa-driver-1.0.14.tar.bz2
sudo tar xjf alsa-lib-1.0.14a.tar.bz2
sudo tar xjf alsa-utils-1.0.14.tar.bz2
Compile and install alsa-driver
Code:
cd alsa-driver-1.0.14
sudo ./configure --with-cards=hda-intel
sudo make
sudo make install
Compile and install alsa-lib
Code:
cd ../alsa-lib-1.0.14a
sudo ./configure
sudo make
sudo make install
Compile and install alsa-utils
Code:
cd ../alsa-utils-1.0.14
sudo ./configure
sudo make
sudo make install
After that, I edited my /etc/modprobe.d/alsa-base
Code:
sudo gedit /etc/modprobe.d/alsa-base
Then add this option at the very bottom
Code:
options snd-hda-intel model=lenovo
Then Reboot your system.
Like I mentioned at the beginning, alot of you would have seen most of this however this is what I did step-by-step to get ny audio AND headphone to work.
NOTICE: Other websites posts and website ask for you to use options snd-hda-intel model=3stack, however, that will get you audio but headphone jack won't work or it will work without muting speaker. However searching online and in bugzilla's I noticed that there was the same problem for IBM/Lenovo Thinkpads and that someone used it on a Toshiba Satellite and it worked. I hope this is helpfull, I have now got ridden of my vista partition and using 100% Linux
Please leave some feedback and tell me if this helped or not.
UPDATE: ALSA 1.0.15 release candidates are out and they are amazing. A lot of work has gone into hda-intel and is working vey well for me. Download it, follow this guide (replace 1.0.14 with whatever version you download) and DONT edit your alsa-base file (/etc/modprobe.d/alsa-base)
UPDATE2: PLEASE, PLEASE, PLEASE use the new ALSA drivers (1.0.15) as they are very stable and you do not need to edit your alsa-base conf file.
UPDATE3: I have tried Hardy Heron and i found that you do not need to do any of this as it has the alsa drivers installed. However, I am willing to help if there are problems with the new OS. Also, the new drivers are 1.0.16, try that.