alsa-utils: updated to version 1.0.27.1

This commit is contained in:
Matt Housh 2013-05-26 04:18:34 -05:00
parent a0416a0f79
commit 4b0b893fd0
4 changed files with 45 additions and 53 deletions

View File

@ -38,6 +38,28 @@ drwxr-xr-x root/root usr/man/man8/
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/alsaconf
-rwxr-xr-x root/root usr/sbin/alsactl
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/alsa/
drwxr-xr-x root/root usr/share/alsa/init/
-rw-r--r-- root/root usr/share/alsa/init/00main
-rw-r--r-- root/root usr/share/alsa/init/default
-rw-r--r-- root/root usr/share/alsa/init/hda
-rw-r--r-- root/root usr/share/alsa/init/help
-rw-r--r-- root/root usr/share/alsa/init/info
-rw-r--r-- root/root usr/share/alsa/init/test
drwxr-xr-x root/root usr/share/alsa/speaker-test/
-rw-r--r-- root/root usr/share/alsa/speaker-test/sample_map.csv
drwxr-xr-x root/root usr/share/sounds/
drwxr-xr-x root/root usr/share/sounds/alsa/
-rw-r--r-- root/root usr/share/sounds/alsa/Front_Center.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Front_Left.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Front_Right.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Noise.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Rear_Center.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Rear_Left.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Rear_Right.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Side_Left.wav
-rw-r--r-- root/root usr/share/sounds/alsa/Side_Right.wav
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
drwxr-xr-x root/root var/lib/alsa/

View File

@ -1,2 +1,2 @@
cbfb21a24f63fb052b3392195639ce48 alsa-utils-1.0.27.tar.bz2
3d81357b997744a139881ef72bc6921a alsa-utils-1.0.27.1.tar.bz2
7ca87ae2d727887898e1feb47a48d3f9 rc.alsa

View File

@ -4,31 +4,24 @@
# Depends on: gettext, alsa-lib, dialog
name=alsa-utils
version=1.0.27
version=1.0.27.1
release=1
source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
rc.alsa)
rc.alsa)
build() {
cd $name-$version
./configure --prefix=/usr --disable-nls --mandir=/usr/man
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-nls \
--disable-xmlto
# alsactl_init.7 is generated using xmlto, which we don't have
touch alsactl/alsactl_init.7
# alsactl_init.7 is generated using xmlto, which we don't have
#touch alsactl/alsactl_init.7
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share $PKG/usr/man/fr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/man/{fr,man7}
# see above
rm -f $PKG/usr/man/man7/alsactl_init.7
rmdir $PKG/usr/man/man7
install -D -m 0755 $SRC/rc.alsa $PKG/etc/rc.d/alsa
# Not sure about this yet.
rm $PKG/lib/udev/rules.d/90-alsa-restore.rules
rmdir $PKG/lib/udev/rules.d
rmdir $PKG/lib/udev
rmdir $PKG/lib
install -D -m 0755 $SRC/rc.alsa $PKG/etc/rc.d/alsa
}

View File

@ -2,39 +2,16 @@
README for alsa-utils
alsa-utils includes an init script in /etc/rc.d called "alsa". In order to
save and restore your soundcard mixer levels at shutdown and boot, add
"alsa" to the SERVICES array in /etc/rc.conf.
In order to facilitate saving and restoring of soundcard mixer levels at
shutdown and boot, take these two methods as examples:
NOTE: If the "alsa" init script attempts to restore mixer levels that have
not been saved yet, it will produce an error that looks like:
"alsactl: load_state:1677: Cannot open /var/lib/alsa/asound.state for
reading: No such file or directory"
***NOTE***
BOTH methods require that you store your mixer levels beforehand, use
'/usr/sbin/alsactl store' first!
**********
Method 1: /etc/modprobe.conf
Add something like the following to /etc/modprobe.conf:
----
# ALSA mixer settings save/restore
install snd-emu10k1 /sbin/modprobe --ignore-install \
snd-emu10k1 $CMDLINE_OPTS; /usr/sbin/alsactl restore
remove snd-emu10k1 /usr/sbin/alsactl store; /sbin/modprobe -r \
--ignore-remove snd-emu10k1
----
(As with the other READMEs replace 'snd-emu10k1' with the correct
soundcard module for your system.)
(On some hardware it seems the kernel module gets loaded but the
soundcard isn't initialized in time for the modprobe.conf install
command to succeed. If this is the case for your hardware, try
method 2 instead.)
Method 2: /etc/rc.d/alsa init script
Add "alsa" to the SERVICES array in /etc/rc.conf.
This just means that the mixer settings have not yet been saved and can be
fixed by running "alsactl store".