ok, we have lift off!!!!! HEHA.
Follow these steps to install alsa.
Step 1:
You need to download the installation package from alsa at:
http://www.alsa-project.org
note - at first I was a little overwhelmed with all the different packages you can get but dont worry, you have to find the latest version, at my time it was 0.9.3.
go to the download page of alsa:
ftp://ftp.alsa-project.org/pub
you will notice a number of different folders, notice drivers, lib and utils. In all three folders you will find the latest version of the package that you will create.
Go to the drivers folder choice the latest version e.g alsa-driver-0.9.3
now go to the lib folder and choice the same version e.g. alsa-lib-0.9.3
now go to the utils folder and choice the same version e.g alsa-utils-0.9.3
once you have download all three you can go to Step 2.
Step 2.
We will now create our installation package. This means that we will unpack the files into folders.
Create a new folder called package in your root directory (note you should do this in your root account)
I did not use the terminal here, all I did is double click on them and unzip them to a folder cold package.
Step 3.
We will now install the packages there are three so I have subdivided this section, I used the installation guide from the soundcard matrix in the documents page from alsa:
http://www.alsa-project.org/alsa-doc/
Choice your appropriate chip set I had to use via8233. Use this guide with mine to help see what I noticed from a newbie point of view.
Guide for Via8233 -
http://www.alsa-project.org/alsa-doc...module=via82xx
Don't worry about the module options this is not necessary. Look at quick installation, we have already unpacked the files so all you have to do now is use your terminal.
A.
First we will install the drivers
You will have to go to the drivers folders that we created through the terminal.
e.g. #cd package/alsa-driver-0.9.3
# ./configure --with-cards=via82xx --with-sequencer=yes
(note this is very important to get your settings correct, I had to do this 4 times becouse I didnt get it right, if you look in the install file from drivers you understand what it means)
I have included these for you- they come from the install file in the 0.9.3 package in drivers folder.
If you have ISA Plug & Play soundcard, use --with-isapnp=yes switch.
If you want sequencer support, use --with-sequencer=yes switch.
If you do not want OSS/Free emulation, use --with-oss=no switch.
If you want turn on debug mode use --with-debug=full switch.
If you want debug soundcard detection try --with-debug=detect switch.
If you have kernel source code in another directory than /usr/src/linux,
use --with-kernel=<kernel_directory>.
Example: ./configure --with-isapnp=yes --with-debug=full
now the terminal should do it own thing for 5 sec. (you should see lines of source)
type:
# make
and then :
# make install
now type:
# ./snddevices
This completes the installation for the driver folder.
B.
Now we will install the lib package.
We will change to the lib folder through the terminal.
Type :
#cd
e.g #cd package/alsa-lib-0.9.3
now we can install.
# ./configure
once again the terminal will do its own thing for a couple of seconds each time.
# make
# make install
This completes the installation for lib.
C
now we are going to install the utils folder.
We will change to the utils folder through the terminal.
Type
# cd
# cd packages/alsa-utils-0.9.3
now we can install
# ./configure
# make
# make install
Thats it for the packages.
Step 4
Now that you have installed we will set the modules for your card.
This is where you will know if you chose the correct settings for you drivers. If you cant set your module for you card then you have done something wrong.
Type:
e.g # modprobe snd-via82xx
I had to use this to set my card it will differ from one card to another note some snd-via82xx card drives maybe snd-card-via82xx. Look in your /lib/modules/2.4.18-14/kernel/sound/pci (keep in mind that it differs from kernel to kernel)
# modprobe snd-pcm-oss
# modprobe snd-mixer-oss
# modprobe snd-seq-oss
This should work fine.
Now you should test to see if the sound works, I used the Volume Control application in the Sound & Video category in the Menu bar. Note that if this gives you an error you have done something wrong. If this works you can set your volume and play a .wav file not mp3.
Step 5
We will now automate this process in startup.
Go to /lib/modules.conf make a backup of this, right click on it and open it with a text editor. Add the flies in your guide that was specified I used:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
note - that you should use you backup if something went wrong and not your old file, replace it with the new one.
Save and close.
Restart and test.
Remember that you should read the guide for your chips from alsa very carefully it contains all the information you will need.
Thats it but I cant listen to my MP3 and I love my music man.
Thanks to fancypiper, dorian33, acid_kewpie and alsa