Howdy,
I am writing this post because so many people are asking me about it.
I will not invent anything new here, i will just make a general tutorial that will fix 80% of your audio/video problems.
Please understand that i do not guarantee 100% success result, because it all depends on the hardware you have.
Before digging in complicated stuff, lets first try to install the Medibuntu packages.
Some of these packages include the libdvdcss package from VideoLAN and the external binary codecs package (commonly known as w32codecs) used by MPlayer and xine.
Step 1:
Add Medibuntu to your system’s list of APT repositories.
For ubuntu 7.10
For ubuntu 8.04
Now add the GPG Key:
Step 2:
Install the libdvdcss2 package.
This package is used to play encrypted DVDs, more information about it here
Step 3:
Installing Non-Native Media Formats.
These media formats includes but are not limited to: wmv, mp3, .mov, .rm etc…
For i386 (use this if you are not sure)
For amd64
For ppc
This is it, restart your PC now and try to play some music. If you still cannot hear the beat continue reading this post.
mmm… I see you are still having problems ? Lets try to do more complicated stuff.
What we will do now is recompile the alsa drivers
When you compile stuff from source apt don’t know about them, so it wont keep track of it.
Step 1:
Lets download them first.
We need to get: alsa-driver, alsa-lib and alsa-utils.
You can download the latest releases from here:
- alsa-driver: ftp://ftp.alsa-project.org/pub/driver/
- alsa-lib: ftp://ftp.alsa-project.org/pub/lib/
- alsa-utils: ftp://ftp.alsa-project.org/pub/utils/
Step 2:
Untar these packages.
You can untar them using GNOME or by typing this line of code in terminal
Note: dont forget to replace xxx by your version number.
Step 3:
To configure/install alsa utilities we need the following package.
Step 4:
Installing alsa
In the alsa drivers folder type:
In the alsa Lib folder type:
In the alsa utilites folder type:
Restart your PC and cross your fingers
Hope I helped you in a way.
// Jo
Popularity: 6% [?]

Installing stuff from the medibuntu repository is a good idea. Compiling your own alsa and NOT making a package for it is very very wrong and could lead to some breakage.
You should use checkinstall to create new alsa packages. This way you can still remove them when things go HORRIBLY WRONG.
Good tutorials on how to use that:
http://www.debian-administration.org/articles/147
http://www.linux.com/feature/114083
Basically, you have to have checkinstall ’sudo aptitude install checkinstall’ and then replace every ‘make install’ with ‘checkinstall -D make install’.
This will generate a .deb package that can be installed either with ‘dpkg’ or by double clicking it.