Commit graph

40 commits

Author SHA1 Message Date
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
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
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
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
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
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
Takashi Iwai
63909d1cf7 Fixed the detection of audio class.
Now class 040? is detected, not only 0401 (Intel HD has 0402).
2004-08-27 16:25:37 +00:00
Takashi Iwai
91bac61d83 Added -c option to specify the module config file. 2004-08-05 14:33:56 +00:00
Jaroslav Kysela
eb52dc6ec8 Gentoo update 2004-04-19 14:43:26 +00:00
Takashi Iwai
789ca41f1b fixed the legacy detection with the recent modprobe 2004-03-19 13:29:23 +00:00
Takashi Iwai
b5cb7ac07d added a workaround for some dell dimension board. 2004-03-05 16:52:11 +00:00
Takashi Iwai
29fd44ba35 - use /etc/modprobe.d/sound config file if possible. 2004-02-25 14:39:45 +00:00
Takashi Iwai
67f96386c6 - clear the screen after configuring the device. 2004-02-16 16:44:59 +00:00
Takashi Iwai
a98d93674b - use the bindir and sbindir set by configure script. 2004-02-10 15:58:51 +00:00
Jaroslav Kysela
3dff39cf53 More compatible tests 2003-12-05 13:13:00 +00:00
Jaroslav Kysela
8a28f21db1 One more fix for path 2003-12-05 08:50:53 +00:00
Jaroslav Kysela
748fd45129 Added more paths for rcalsasound 2003-12-05 08:35:04 +00:00
Takashi Iwai
951dda3420 fixes by Philippe De Muyter <phdm@macqel.be>:
- Removed erroneous space between `snd[-_]' and $1 in grep
  search expression.
- Test also `0xf00' for `cport'.
2003-11-26 18:07:27 +00:00
Takashi Iwai
cae75d593c - added the check of mandrake. 2003-11-25 12:15:48 +00:00
Takashi Iwai
7d1c6cbf95 fix by Fernando Pablo Lopez-Lezcano <nando@ccrma.Stanford.EDU>:
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).
2003-11-24 11:42:24 +00:00
Takashi Iwai
c40e8faafc - removed experimental codes. 2003-11-17 18:32:52 +00:00
Takashi Iwai
cfe0a62da7 - fixed the progress bar.
- fixed the detection on 2.6 kernels.
- check root priv. after parsing the option
  (allow normal users to see help)
2003-11-14 16:22:25 +00:00
Takashi Iwai
394fde8b0e - fixed (now really) for 2.6 modprobe.conf.
- clean up, modprobing without a temporary file.
- alsaconf will set up only the minimum aliases/options.
- cosmetic message changes.
2003-10-30 12:00:38 +00:00
Takashi Iwai
7152617a0e - added alsaconf script.
- fixed alsaconf script for the new module tools of 2.6 kernel.
2003-10-29 13:38:23 +00:00