Skip to contentSkip to conversation

Bug#658760: alsactl -h advertises non-existent command "names"

Pkg-alsa-devel Elimar Riesebieter 1 participant 1 message Feb 6, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

forwarded 658760 [email protected]
tags 658760 patch
thanks

Quoted 19 lines · Yann Dirson

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)

Quoted 2 lines

Not only that command is deprecated, but it appears it does not exist any more.

Patch attached

Elimar

Signature · 2 lines
  Numeric stability is probably not all that
  important when you're guessing;-)
alsactl/alsactl.c +0 -2
diff -Naurd alsa-utils-1.0.24.2.orig/alsactl/alsactl.c alsa-utils-1.0.24.2/alsactl/alsactl.c
@@ -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[])