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
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>
Included is a patch that fixes alsaconf to work correctly under fedora
core 1. Otherwise alsaconf happily creates a modules.conf file that only
contains the alsa configuration and nothing else (a path in the if's
that does not create a $TMP file before the alsa configuration process
starts).