The m-i-t package made it up to 3.10 versions before ending, so update
the glob to handle those too.
Most distros are moving on to kmod, so we also want to handle the version
string that package outputs.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
The alsactl Makefile used 'sed $(SED)' which is going to failed when SED
is actually set. Replaced that with '$(SED)', and a few 'sed' calls in
alsaconf Makefile as well. Added AC_PROG_SED to configure to have it
set.
Fixes: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5363
Fixes: http://bugs.gentoo.org/show_bug.cgi?id=366587
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
.... and add configure switch for it.
/etc might be on a read-only partition which is not suitable for dynamic
data such as the mixer settings. Hence move the location of asound.state
to /var/lib.
This is based on a patch from Ubuntu/Debian which hardcoded the pah in
/var/lib.
Signed-off-by: Lennart Poettering <mznyfn@0pointer.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
For recent module-init-tools, prefer /etc/modprobe.d/50-sound.conf
instead of /etc/modprobe.d/sound. The latest m-i-t version will
complain (and can ignore) files that don't follow the format.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This was originally reported as Gentoo bug #193303 (
https://bugs.gentoo.org/show_bug.cgi?id=193303 ).
Original patch by Jack Kelly <endgame.dos@gmail.com>
Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Without this patch, dialog errors gets interpreted as the choice,
causing errors related to loading "snd-***" module.
The problem was reported as Gentoo bug #96467 (
https://bugs.gentoo.org/show_bug.cgi?id=96467 ).
Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Here is a small patch for alsaconf, which removes an useless dependency
on `which' by using a bash built-in instead : `type -p'. I encountered
the problem of the missing `which' while using alsaconf on a clfs-built
linux system. It is useless to install `which' when we already have
`type -p', and alsaconf already needs bash, so this does not replace
a dependency by another one, but really removes a dependency for alsaconf.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Initialize volumes by specifying dB values in alsaconf.
This will give more sane values if the mixer elements support dB.
If not supported, simply the old value in percent is used.
I created the patch below against 1.0.10rc2 to make alsaconf work
for the Sparc and architectures.
It has been reviewed on the debian-sparc mailing list
(see http://lists.debian.org/debian-sparc/2005/10/msg00098.html).
I do not have positive confirmation it will work for the AMD7930
chip yet, but I expect it to. The other 2 chips have been tested
and work okay.
One of the feedbacks was that 'modprobe -a -l' is depreciated and
thus should be avoided (see the modprobe manpage), so I have taken
the oportunity to replace all use of this with a find equivalent.
Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
- added the -R,--resource option
- the check_dma_avail() and check_irq_avail() procedures now checks also
active resources from sysfs & PnP subsystem to avoid collisions
This patch converts hyphens to minus signs in the man pages (for options,
emails, or command line examples).
This patch also closes one font modifier in iecset.1.
(s/\fIfalse\fI,/\fIfalse\fP,/)
Signed-off-by: Nicolas FRANCOIS <nicolas.francois@centraliens.net>
Patch for alsaconf which makes it refrain from creating
/etc/modprobe.conf if the latter does not already exist.
Creating an empty /etc/modprobe.conf is bad because if it
exists then modprobe uses _only_ this file -- it does not
use /etc/modprobe.d/.
Additionally, this patch makes alsaconf set the cleanup
trap before it creates temporary files rather than after.
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>