This applies only to Ubuntu 7.10 and lower. Ubuntu 8.04 beta and higher will support the sound problem.
------------------------------------------
Okay, so install these five, (e.g. using Synaptic Package Manager).
po-debconf
debhelper
quilt
alsa-base
libc6-dev
Then, install
alsa-driver:
1) Extract archive to some
folder.
2) Open up a terminal.
make yourself the root user with "su"
3) go to the
folder with the "cd" command
4) Run these commands in this order:
./configure
make
make install
Note: Yes, this process can take like
3 minutes.
When its installed, add this line to/etc/modprobe.d/alsa-base [use command "gedit /etc/modprobe.d/alsa-base" under "su" priveleges]:
options snd-hda-intel model=hp
If your sound isn't working at startup (e.g. you cannot hear the ubuntu login noise, then do this:
gedit /etc/modules
Add these lines to the bottom:
Code:
snd-hwdep
snd-hda-intel
Restart your computer, and bam. It should be working. If you do not understand my instructions, feel free to ask me to clarify.
NEW PROBLEM! It seems that when you update the kernel, the drivers stop working. A solution is at hand:
NOTE: Change the
kernel version as necessary.
There are two copies of the snd_hda_intel,ko file lurking in /lib/modules:
Code:
/lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
/lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko
To solve this problem, run these commands in the a terminal under "su" privileges
Code:
rm /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
ln -s /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
gedit /etc/modules
Add these lines to the bottom:
Code:
snd-hwdep
snd-hda-intel
Restart, and it should be working.
A HUGE thanks to
benguin, who framed the solution for the kernel update bug.