Commit graph

69 commits

Author SHA1 Message Date
Porrumentzio
fb2b947d5c Add Basque translation
From: Porrumentzio <porrumentzio@riseup.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-10-23 12:00:20 +02:00
Mike Frysinger
54a459a884 alsaconf: update gentoo to use modprobe.d method as everyone else
We migrated off modules.d a long time ago.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-11-14 08:51:55 +01:00
Mike Frysinger
df875c6e8f alsaconf: support newer m-i-t and kmod
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>
2013-11-14 08:51:37 +01:00
Michał Górny
e80b015689 fix use of $(SED)
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>
2011-08-31 22:31:55 +02:00
Lennart Poettering
81f015f5ab alsactl: Move asound.state location to /var/lib/alsa
.... 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>
2010-11-23 15:48:50 +01:00
Takashi Iwai
3924a249dd alsaconf - prefer /etc/modprobe.d/sound/50-sound.conf
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>
2009-03-18 12:10:55 +01:00
Diego 'Flameeyes' Pettenò
2c79b79b47 Nowadays Gentoo also uses update-modules, so update alsaconf.
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>
2008-11-13 13:23:04 +01:00
grdscarabe@grdscarabe.net
6596a405f6 Create a special fd redirection for menu choice.
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>
2008-11-13 13:22:55 +01:00
Clemens Ladisch
1a9b839b2f alsaconf: add Slackware support
Add Slackware support.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2008-11-10 09:23:07 +01:00
Philippe De Muyter
07ca0dd40b alsaconf: use 'type -p', not which
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>
2008-06-06 12:25:22 +02:00
Takashi Iwai
2fba9cd65e alsaconf - Don't produce hwcfg file for openSUSE 10.3
hwcfg file is no longer used on openSUSE 10.3, so don't create such a file
on it.
2007-07-12 15:22:06 +02:00
Jaroslav Kysela
f0d1e3cac6 alsaconf - rcalsasound script does not exists in some distros
See bug#1505
2006-10-04 10:33:36 +02:00
Jaroslav Kysela
db59693a9f alsaconf fix: cannot find the snd-powerpc module
The expression used in the search does not match.
See: bug#2179
2006-10-01 15:11:10 +02:00
Takashi Iwai
1edfd1de20 Initialize volumes using dB in alsaconf
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.
2006-09-21 17:34:32 +02:00
Takashi Iwai
cd22065cce Fix setup for SLES10/SLED10
Fix the setup for SLES10/SLED10.  They have no minor version.
2006-08-28 21:21:30 +02:00
Takashi Iwai
19609d86eb Fix PCI class and name extraction in alsaconf
- Allow all PCI class 04xx, not only 040x
- Fix the extraction of device name from lspci output

ALSA bug#1935
2006-03-21 16:52:15 +00:00
Takashi Iwai
21d5bed81f Minor clean up of bashism
Minor clean up of bashism, replaced with normal test.
2006-03-13 19:40:25 +00:00
Takashi Iwai
6106ed8720 Use amixer -s option
Optimize to use amixer with -s option.
2005-12-14 15:34:21 +00:00
Takashi Iwai
0195ba441a Fix a text in alsa-utils
Fix a text in alsa-utils after proof-reading.
2005-12-02 11:45:25 +00:00
Martin Habets
bb86a9d551 Add Sparc support in alsaconf
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>
2005-11-07 14:57:07 +00:00
Takashi Iwai
72a72ad7fe Fix hwcfg file name by alsaconf
Fixed the hwcfg file name generated by alsaconf.
The domain must be included.
2005-09-14 20:07:37 +00:00
Takashi Iwai
37325763a5 Allow separate build and source trees
From: Bernard Leak <bernard@brenda-arkle.demon.co.uk>

Allow separate build and source trees.
2005-08-23 12:09:30 +00:00
Jaroslav Kysela
a14604e69c Removed debug print for awk 2005-08-19 10:54:46 +00:00
Jaroslav Kysela
d112b21c86 alsaconf - add support for PnP BIOS devices
This patch adds the support for PnP BIOS devices.
2005-08-13 13:09:21 +00:00
Jaroslav Kysela
18a09d56cd added -R,--resources option and improved resource checking using sysfs
- 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
2005-08-09 12:24:53 +00:00
Takashi Iwai
62a2c263b9 Support hwcfg-* set up
Added /etc/sysconfig/hardware/hwcfg-* set up for the recent suse versions.
2005-08-04 15:59:17 +00:00
Jaroslav Kysela
439ac7ba9e fixed detection of ISAPnP cards using 2.6 sysfs 2005-08-02 20:06:47 +00:00
Jaroslav Kysela
53c4073617 Two modporbe calls lack path
All but two calls to modprobe in alsaconf call it with the full path.  For
consistency the remaining two calls should also use the full path.
2005-06-07 07:03:37 +00:00
Takashi Iwai
49693cac86 Add Russian translation
Add Russian translation for alsaconf, taken from BTS #1130.
2005-05-31 11:03:33 +00:00
Takashi Iwai
228f635482 Fix manpage installation
Fix the installation of man page files (the exstion was omitted).
2005-05-13 12:14:16 +00:00
Claudio Fontana
81de42cbf6 fix typo
Just s/verion/version/ in alsaconf.in
Signed-off-by: Claudio Fontana <sick_soul@yahoo.it>
2005-03-24 08:24:52 +00:00
Takashi Iwai
cd0ee17f59 Adjust Front volume as default
Adjust "Front" volume as default, too.
2005-03-16 13:31:31 +00:00
Takashi Iwai
e1c0234015 Add alsaconf french man page
Added a french man page for alsaconf by Baptiste Meles.
2005-03-16 13:30:47 +00:00
Thomas Hood
0cfa228fdd Change the Debian configuration file name
The patch changes the file name to which alsaconf writes
if the system is Debian

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2005-02-22 17:06:59 +00:00
Takashi Iwai
b3a003ea3e Fix check of fedora and redhat distributions
Fix the syntax error in check of fedora and redhat distributions
(BTS #318)
2005-02-22 17:04:51 +00:00
Thomas Hood
3701b2c65f Fix typo in alsaconf "modinfo" option
BTS #921

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2005-02-22 13:42:44 +00:00
Takashi Iwai
d0dfabdfcc Use -q option with grep
Use -q option with grep.
2005-02-17 15:03:35 +00:00
Takashi Iwai
4d710af543 Fix exit code
Fixed the exit code with -h option and invalid options.
2005-01-31 17:49:38 +00:00
Takashi Iwai
99e0fe4513 Sort options in alphabetic order
Sort options in alphabetic order.
2005-01-20 18:06:10 +00:00
Takashi Iwai
7fe50fb4fa Fix make without NLS
Fix make without NLS support.
2005-01-13 15:32:56 +00:00
Takashi Iwai
2508fc58b5 Fix installation
It seems that old autoconf doesn't like @mkdir_p@...
2005-01-05 11:40:10 +00:00
Takashi Iwai
6cac9800df Fix installation
Fix installation: use mkdir -p instead of mkinstalldirs.
2005-01-03 13:35:10 +00:00
Takashi Iwai
82c3b093db Misc clean up
Misc clean up: make msgmerge as macro.
2005-01-03 11:57:42 +00:00
Takashi Iwai
0aa74e8d4d i18nize alsaconf
alsaconf is i18nized.  Only ja.po is provided, so far.
2004-12-29 16:10:47 +00:00
Takashi Iwai
2c82a98968 Start aplay/arecord in non-blocking mode
Start aplay/arecord with -N option in non-blocking mode.
2004-12-20 13:17:08 +00:00
Nicolas FRANCOIS
ca5f8cbcfe Fix hyphens in man pages
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>
2004-10-08 16:15:34 +00:00
Thomas Hood
33b47cd2d4 make alsaconf parse lspci output correctly
Fix for systems like debian which has different lspci output.

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 11:29:02 +00:00
Thomas Hood
dba1bfa750 Refrain from creating /etc/modprobe.conf if it does not already exist
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>
2004-09-24 09:58:20 +00:00
Thomas Hood
57cf365811 In Debian write to the correct configuration file
Patch for alsaconf.in to make it use the correct configuration
filename for Debian

Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-23 11:00:35 +00:00
Takashi Iwai
dfec58eb7e [alsaconf] fix probing, option clean up.
- Fixed the probing brokenness by my last change.
- Fixed long options.
- Now -L option requires the logfile argument.
- Corrected manpage.
2004-08-31 16:27:25 +00:00