[Pkg-alsa-devel] Bug#658760: Bug#658760: alsactl -h advertises non-existent command "names"

Elimar Riesebieter riesebie at lxtec.de
Mon Feb 6 12:30:05 UTC 2012


forwarded 658760 alsa-devel at alsa-project.org
tags 658760 patch
thanks

* Yann Dirson [120205 22:18 +0100]:

> Package: alsa-utils
> Version: 1.0.24.2-4
> Severity: normal
> 
> # alsactl -h
> Usage: alsactl <options> command
> 
> [...]
> 
> Available commands:
>   store   <card #> save current driver setup for one or each soundcards
>                    to configuration file
>   restore <card #> load current driver setup for one or each soundcards
>                    from configuration file
>   init    <card #> initialize driver to a default state
>   names   <card #> dump information about all the known present (sub-)devices
>                    into configuration file (DEPRECATED)
> 
> 
> Not only that command is deprecated, but it appears it does not exist
> any more.

Patch attached

Elimar


-- 
  Numeric stability is probably not all that
  important when you're guessing;-)
-------------- next part --------------
diff -Naurd alsa-utils-1.0.24.2.orig/alsactl/alsactl.c alsa-utils-1.0.24.2/alsactl/alsactl.c
--- alsa-utils-1.0.24.2.orig/alsactl/alsactl.c	2011-01-31 15:19:55.000000000 +0100
+++ alsa-utils-1.0.24.2/alsactl/alsactl.c	2012-02-06 13:21:27.144746908 +0100
@@ -68,8 +68,6 @@
 	printf("  restore <card #> load current driver setup for one or each soundcards\n");
 	printf("                   from configuration file\n");
 	printf("  init	  <card #> initialize driver to a default state\n");
-	printf("  names   <card #> dump information about all the known present (sub-)devices\n");
-	printf("                   into configuration file (DEPRECATED)\n");
 }
 
 int main(int argc, char *argv[])


More information about the Pkg-alsa-devel mailing list