Skip to contentSkip to conversation

alsaconf usefulness

DISCUSSION Alexander E. Patrakov 2 participants 2 messages Jan 20, 2008 – Jan 21, 2008

lore
Share & tools
lore
#0 lore raw

Hello developers,

Debian applies the following patch to alsaconf:

Index: alsa-utils-1.0.15/alsaconf/alsaconf.in
===================================================================
--- alsa-utils-1.0.15.orig/alsaconf/alsaconf.in 2007-10-21
14:57:02.000000000 +0200
+++ alsa-utils-1.0.15/alsaconf/alsaconf.in 2007-10-21 14:57:02.000000000 +0200
@@ -458,8 +458,16 @@
Advanced Linux Sound Architecture (ALSA) driver.

-  You should stop all sound applications now." $version)
-  $DIALOG --msgbox "$msg" 20 63 || acex 0
+  You should stop all sound applications now.
+
+  Please notice, that sound configuration with this script
+  is not needed if you are running testing/sid with an up
+  to date kernel and your sound device is a supported PCI
+  one. In that case *udev* is predestinated to load your
+  driver ;)
+  But any way, you can finish this procedure with a working
+  PCI-Sound at the end." $version)
+  $DIALOG --msgbox "$msg" 24 63 || acex 0

}

# FAREWELL

The added note is completely valid: in most cases, there is nothing to do, even for ISA-PnP cards (because all self-respecting distributions already contain a rule for loading ISA-PnP drivers). However, the very presence of alsaconf generates a lot of support traffic on forums in the form "I have tried alsaconf and it didn't help" (or worse, ruined a working setup). Also, it cannot deal with more than one sound card.

Could you please either apply the above patch (of course, replacing the wording with a distro-neutral one), or just drop this obsolete program and replace it with the "alsa-unmute" script which essentially contains the same as the set_mixers() function (but allows to specify the card to unmute)?

Signature · 1 line
Alexander E. Patrakov
#1 lore raw

At Sun, 20 Jan 2008 20:19:29 +0500,

Quoted 17 lines · Alexander E. Patrakov

Hello developers,

Debian applies the following patch to alsaconf:

Index: alsa-utils-1.0.15/alsaconf/alsaconf.in
===================================================================
--- alsa-utils-1.0.15.orig/alsaconf/alsaconf.in 2007-10-21
14:57:02.000000000 +0200
+++ alsa-utils-1.0.15/alsaconf/alsaconf.in 2007-10-21 14:57:02.000000000 +0200

(quoted diff) +1 -2
@@ -458,8 +458,16 @@
     Advanced Linux Sound Architecture (ALSA) driver.
 
 
-  You should stop all sound applications now." $version)
-  $DIALOG --msgbox "$msg" 20 63 || acex 0
+  You should stop all sound applications now.

Review line 471

Quoted 10 lines
(quoted diff) +9 -0
+
+  Please notice, that sound configuration with this script
+  is not needed if you are running testing/sid with an up
+  to date kernel and your sound device is a supported PCI
+  one. In that case *udev* is predestinated to load your
+  driver ;)
+  But any way, you can finish this procedure with a working
+  PCI-Sound at the end." $version)
+  $DIALOG --msgbox "$msg" 24 63 || acex 0
 }

Ditto for USB. It won't be detected anyway.

Quoted 10 lines
(quoted diff) +0 -0
 # FAREWELL
 

The added note is completely valid: in most cases, there is nothing to do, even for ISA-PnP cards (because all self-respecting distributions already contain a rule for loading ISA-PnP drivers). However, the very presence of alsaconf generates a lot of support traffic on forums in the form "I have tried alsaconf and it didn't help" (or worse, ruined a working setup). Also, it cannot deal with more than one sound card.

Quoted 2 lines

Could you please either apply the above patch (of course, replacing the wording with a distro-neutral one),

Yes, that's better. Majority of people have no idea what testing/sid means.

Quoted 1 line

or just drop this obsolete program

No, it's no option. Your world isn't mine, there are still users (unfortunately) for old systems...

Quoted 3 lines

and replace it with the "alsa-unmute" script which essentially contains the same as the set_mixers() function (but allows to specify the card to unmute)?

A program to initialize the sound status is really nice. I have worked on it a little bit and some code snippet to add "alsactl init" to initialize the volume levels on certain dB level.
I'll still need to brush up for publishing it, though.

Takashi