Download
alsa-driver-1.0.15 sources from:
ftp://ftp.alsa-project.org/pub/drive...1.0.15.tar.bz2
Expand the sources with:
Code:
tar --bzip2 -xvf alsa-driver-1.0.15.tar.bz2
Install the libc6 developer libraries and the patch program, if missing:
Code:
sudo apt-get install libc6-dev patch
Download the attached patch, copy it into
alsa-driver-1.0.15/alsa-kernel/pci/hda and cd to that directory.
Apply the patch with:
Code:
patch < alsa-1.0.15-imac.txt
Cd back to the top
alsa-driver-1.0.15 dir and do a configure for the HDA intel chipset:
Code:
./configure --with-cards=hda-intel
Compile with the command:
For
Gutsy or later, a little adjustment is needed to use the compiled module instead of the one shipped with the system (in previous versions this command should fail):
Code:
sudo mv -v /lib/modules/$(uname -r)/ubuntu/media/snd-hda-intel/snd-hda-intel{,-ubuntu}.ko
Install the compiled modules:
Code:
sudo make install-modules
Reboot and you should be able to hear sound from the speakears, but not from headphones and no mic either, at least according to reports from other users.
Strangely, speakers automuting when you insert the headphones should work.
Since I don't have the specific model to do the testing, I can't do better, sorry.
Just a note: since the stable version of alsa-driver-1.0.15 is out, I did the patch based on that version, but the patch is functionally the same as the one I previously did for alsa-driver-1.0.14 in another thread.
There are some advantages though: power saving is enabled, consuming less energy when sound is idle, and, if suspension work on your system, sound will work after a resume.