CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sylpheed: initial import (verified compilation)
[attic/ports/opt-cross.git] / alsa-utils / README
CommitLineData
01a92d2c
VM
1
2
3README for alsa-utils
4
5
6In order to facilitate saving and restoring of soundcard mixer levels at
7shutdown and boot, take these two methods as examples:
8
9
10***NOTE***
11BOTH methods require that you store your mixer levels beforehand, use
12'/usr/sbin/alsactl store' first!
13**********
14
15
16Method 1: /etc/modprobe.conf
17
18Add something like the following to /etc/modprobe.conf:
19
20----
21# ALSA mixer settings save/restore
22install snd-emu10k1 /sbin/modprobe --ignore-install \
23 snd-emu10k1 $CMDLINE_OPTS; /usr/sbin/alsactl restore
24remove snd-emu10k1 /usr/sbin/alsactl store; /sbin/modprobe -r \
25 --ignore-remove snd-emu10k1
26----
27
28(As with the other READMEs replace 'snd-emu10k1' with the correct
29 soundcard module for your system.)
30
31(On some hardware it seems the kernel module gets loaded but the
32 soundcard isn't initialized in time for the modprobe.conf install
33 command to succeed. If this is the case for your hardware, try
34 method 2 instead.)
35
36
37Method 2: /etc/rc.d/alsa init script
38
39Add "alsa" to the SERVICES array in /etc/rc.conf.
40