From Schmid.wiki
Jump to: navigation, search

General

ALSA is the Advanced Linux Sound Architecture.

Prerequisites

# cd /usr/src/linux
# make menuconfig
  • Enable Alsa-sound
  • Modularize the driver of your sound card (in the case of my Dell Latitude CP, cs4232)
# make && make modules_install
  • Reboot

Also make sure that 'alsa' and 'jack' (if you want to use Jack) is included in your USE flags

# vim /etc/make.conf

Installation

# emerge alsa-utils
# rc-update add alsasound default

Configuration

# alsaconf                             <- autoconfiguration tool - it works!
# /etc/init.d/alsasound start

Test

$ speaker-test

Usage

$ alsamixer          <- easy-to-use mixing tool (use arrow keys and 'M' for mute)
# alsactl store      <- store mixer settings
# alsactl restore    <- restore mixer settings