FearTheCow.net >> ALSA on RedHat 9

Username: Guest
Admin: no
Printable Version

About:

After writing the 2.6.0-test4 on RedHat9 HOWTO-ish page, I've been emailed requesting information about ALSA. So, I thought that I'd put this page together on how to get ALSA working properly and nicely with RedHat9. (I'm using a Dell Inspiron 8100)

Update:

This page should now be considered historical. There are far better ways of configuring ALSA than this. If this still helps, that's great, but YMMV. Debian Unstable runs ALSA nicely by default I believe - either that or I can't remember configuring it. (I have since switched away from Fedora for my desktop because of the release cycle.)

Files Used:

Firstly:

Before attempting to configure the drivers, I upgraded the kernel to 2.6.0-test5, using the same procedure as 2.6.0-test4, apart from using the latest NVidia patch from www.minion.de. I had a few problems under 2.6.0-test4, but under 2.6.0-test5, it was a snap.

 

Howto install ALSA:

Firstly, download alsa-drivers, alsa-lib and alsa-utils from the ALSA Project Home that's linked to above. Untar each package with tar jxf [package]

Then do the following:


        $ cd alsa-driver-0.9.6
        $ ./configure --help
    

From this, you'll need to find out what soundcard you have, and specify it on the configure line. For example, I have an ESS Maestro3 (maestro3). A SBLive is emu10k1. You should compile with OSS support too, and sequencer support if you wish.


        $ ./configure --with-sequencer=yes --with-oss=yes --with-cards=maestro3
        $ make
        $ su
        Password: [entered my password]
        # make install
	# ./snddevices
	# utils/alsaconf
    

You'll then need to install alsa-lib. This was as easy as changing to the correct directory and running ./configure ; make install

After installing this, you'll need to install the alsa utils so that you're able to set levels. This was also really easy - change to the correct directory and ./configure ; make install

Great - now what?

Now that you have ALSA installed, you'll have multiple voice support. You should disable artsd and esd, both of which, in my opinion, are terrible kludges. You can just keep using sound via OSS emulation, or you can enable ALSA support. Unfortunately, this has to be done for each separate application.

Both of these are easy to install - just untar and ./configure ; make ; make install You'll need to restart XMMS though.

I'd also recommend that for MPlayer you grab an RC tarball and compile it with --enable-gui, and grab the required files. (Font and skin)

There is also alsasound added to /etc/init.d To have it automagically set up levels on reboot and so forth, just run as root chkconfig --add alsasound

After this, ALSA should be working great!

 

 


 

 

Comments:

Subject: Alsaconf
Posted by Ross on 2003-12-02 09:31:46
On the latest version of Alsa, I can't find alsaconf in utils directory after building. However, it can be run from /usr/bin/alsaconf
IP: Logged

Subject: Re: alsaconf
Posted by Robert - http://www.fearthecow.net on 2004-01-10 06:15:01
Thanks for the tip, Ross!
IP: Logged

Subject: questions
Posted by sunzen on 2004-09-03 20:07:03
1) how can i know which version of ALSA a kernel (e.g 2.6.8.1)include? I didn' found its version infomation, and even the shell scripts that make sound device files.
2) Should i use the kernel-embedded ALSA or download it from its website?
If Kernel-embedded ALSA is not working, why is it included in current kernel?



IP: Logged

Subject: ringtone for you
Posted by Monika - http://allringtone.ipbfree.com on 2008-02-04 20:51:34
韓国・ソウルで女性のスカートの中を盗撮した41歳日本人会社員を逮捕
IP: Logged

Subject: questions
Posted by Curajuka - http://allringtone.ipbfree.com on 2008-03-03 20:18:08
hi
Should i use the kernel-embedded ALSA or download it from its website?
thx
IP: Logged

Subject: Kernel vs: downloaded
Posted by Robert - http://www.fearthecow.net on 2008-04-21 13:51:56
Hi Curajuka,

These days, you're best off using whatever comes with your distribution. This page is quite archaic for when OSS rather than ALSA was in use.

Robert.
IP: Logged

 

Post a comment:

Name:
Email: (Either don't enter it, or you should obfuscate it).
Website: (Make it valid - eg: http://www.example.com/ )
Subject:
Magic Word: (Enter exiguous as the word) (Without this, your comment won't be posted!)
Comment: