
162
The Services Layer
Part II: Home Entertainment
The Services Layer
The services layer can almost be thought of as a second foundation. Taken
together, these services form the source of all the information displayed in
the user interface.
1. Install the Advanced Linux Sound Architecture (ALSA)
Installing the Advanced Linux Sound Architecture is optional, but I recom-
mend it. Also, if you happen to be interested in using the digital outputs
to connect to a receiver, Fedora’s default OSS drivers will not work. ALSA
makes up the audio system module of the services layer.
To install ALSA, execute:
$ su
# apt-get update
# apt-get install alsa-kmdl-$KERNEL
# apt-get install alsa-driver alsa-utils
You need to edit /etc/modules.conf to enable the kernel modules. Again, if
you’ve built your PC using the specified hardware, you’ll need to configure
ALSA to use the nVidia nForce2 driver. Begin by commenting out the exist-
ing OSS modules. For this system, add a
# to the beginning of the lines that
read:
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal –f /etc/.aumix –L > /dev/
null 2>&1 || :
pre-remove install sound-slot-0 /bin/aumix-minimal –f /etc/.aumix –S >
/dev/null 2>&1 || :
(Your system might have slightly different lines, but they should be close
enough to identify them.) Then add these lines at the top of the file:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 ...