Share this page with: Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at del.icio.us Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at Digg Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at Furl Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at Reddit Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at Google Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at StumbleUpon Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at Facebook Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at Twitter Bookmark "Configuring the audio and updating ALSA for CentOS and RHEL 5" at Slashdot
Table of Contents

Configuring the audio and updating ALSA for CentOS and RHEL 5

Author(s)

Bill Giannikos (Home Page)

Introduction

This guide will help update your version of the ALSA modules under Fedora 8. This is useful for people who's sound is not currently working with their current version of ALSA. For those that don't know, CentOS 5 and Red Hat Enterprise Linux 5 are basically the same thing just with a different name so this guide applies to both.

Notes

We will be using 'nano' as our text editor of choice but you can use whatever you wish.

While this guide is mainly focused to laptop users there isn't any difference for desktop users.

Prerequisites

You should run a full update for your installation to ensure you have all the latest packages installed.

Installing the latest stable ALSA modules

For an easy install we will be using the ATrpms repository.

1. Load up a terminal window if you are in the graphic interface.

2. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password

3. Edit the file /etc/yum.conf. Using nano we type the command:

nano -w /etc/yum.conf

4. If you have already configured yum to use the ATrpms repository then append “*alsa*” to the end of the “includepkgs” line and skip the next setup. Otherwise continue on.

5. Add the following to the bottom of this file:

[atrpms]
name=EL $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1
exclude=*kmdl*i586*
includepkgs=*alsa*

6. Save the file. In nano you press Ctrl-X, answer yes to the “Save modified buffer” question and then press enter on the file name to write.

7. If you have not previously setup ATrpms execute the following command:

rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

8. Now execute the following command:

yum install alsa-driver alsa-kmdl-`uname -r`

9. Reboot your system and you will be using the updated ALSA module.

Remember that you may need to adjust your volume settings.

If this guide didn't work

If this guide did not work you may like to view the general Configuring the audio guide or use the Audio Tester.





Discussion

Nobody, Friday 04 of July, 2008 [02:10:08]

Thanks alot. My laptop is speaking now ! :)

nordin, Sunday 30 of November, 2008 [23:36:59]

Hello, thank you very much for your effort to put valuable information on this site.
I did all the steps and after “yum install alsa-driver alsa-kmdl-`uname -r`” it installed everything well, it ends with Complete. So I rebooted my machine, but still no sound.

I use CentOS 5 on a 64 bits AMD processor, and EMU 0404 pci soundcard.

An important thing to mention: On the “System” tab of the GUI audio-configuration, I see the alsa driver is 1.0.18a, while the lib and utils packages are of 1.0.14. Is that normal?

Thank you.

saurabh, Tuesday 13 of January, 2009 [20:12:42]

Hi,
I am using RHEL5. I got the following Error:

yum install alsa-driver alsa-kmdl-`uname -r`
Loading “rhnplugin” plugin
http://dl.atrpms.net/el5Client-i386/atrpms/stable/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again

Looking for solution.

Thanks in advance

Saurabh

Bill Giannikos, Wednesday 14 of January, 2009 [00:19:56]

If /etc/yum.conf, try changing the line:

baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable


to:

baseurl=http://dl.atrpms.net/el5-$basearch/atrpms/stable
Lalit, Friday 27 of March, 2009 [12:28:17]

I have installed RHEL5 in my Desktop the adio is not coming.

MB, Monday 08 of March, 2010 [20:36:31]

Confirmed this works on Centos 5.4 installed on a Virtual Machine (Win 7 Virtual PC 2007) Thanks!!!

Fernando, Sunday 18 of April, 2010 [00:07:19]

I have a Dell Studio 14 - model 1450 with Centos 5.4 and the only way I can hear a very very low sound is from 1 of the headphones output… no sound from speakers… i have raised all mixer settings to 100% and still a very ver low only on the phones… any advice?

thanks in advance…

Dave, Friday 29 of October, 2010 [18:05:54]

Thanks for the tutorial.
FYI, in step 7 I had to change the url
from: rpm –import http://ATrpms.net/RPM-GPG-KEY.atrpms
to: rpm –import http://packages.ATrpms.net/RPM-GPG-KEY.atrpms

Keith, Thursday 22 of September, 2011 [01:50:47]

Awesome, worked on CentOS 5.7. Thanks!

janaki raman.m, Wednesday 26 of October, 2011 [01:31:46]

i am installed redhat el 6 in toshiba satellite L500 usb device not working.iam plugnin pen drive or external hdd i will not display

Enter your comment
HAMQB
 
Last modified: Saturday 19 of September, 2009 [07:52:28]
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2012 Linwik.com and other authors