Configuring Sound Devices

 < Day Day Up > 

Most workstation users want to have a configured sound card working with Linux. Sound support is generally configured when Linux first boots (or during the install process if the sound card is recognized). Fedora Core uses the Advanced Linux Sound Architecture (ALSA) to enable sound support on your workstation.

To use sound, you should then use ALSA's alsamixer command to unmute your sound card's channels and save the settings using the alsactl command:

 # alsactl store 0  

The state of your sound card will be saved in the file /etc/asound.state. These settings, such as channel volumes, can be retrieved later by using the restore option instead of store.

NOTE

You will find complete documentation about the Linux kernel's sound support in various text files under the /usr/src/linux-2.6/Documentation/sound/alsa directory if you install the source code to Linux.


Configuration problems can arise, especially if your sound card's manufacturer will not or cannot release specifications to help open-source developers create working drivers. If your sound card is not recognized, or is recognized but will not work, and using ALSA fails, you can turn to commercial sound drivers from 4Front Technologies. These relatively inexpensive drivers support more than 350 sound systems and are installed, configured, and controlled using shell scripts. Browse to http://www.opensound.com for more information.

Fedora also includes a Red Hat-derived graphical sound card configuration client that can be used during an X session. Start the system-config-soundcard client by clicking your desktop panel's System Settings Soundcard Detection menu or item, or by using the command at a terminal window like so:

 $ system-config-soundcard  

After you press Enter, you will be prompted for the root password. Enter the password and click OK. The system-config-soundcard will try to automatically detect and configure your sound card. You will then see a dialog you can use to test your sound card settings, as shown in Figure 4.5. Click on the Play test sound button to listen to a sample sound.

Figure 4.5. The system-config-soundcard client is used during an X session to configure a sound card for Fedora.


     < Day Day Up > 


    Red Hat Fedora 4 Unleashed
    Red Hat Fedora 4 Unleashed
    ISBN: 0672327929
    EAN: 2147483647
    Year: 2006
    Pages: 361

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net