Skip to contentSkip to conversation

Allow -g/--ignore to be used with init command

Feature request GitHub issues - opened 1 participant 1 message Jan 27, 2021 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-utils issue #75 was opened from MichaIng:

It would be great if the -g/--ignore flag would have an effect on the init command as well, so that alsactl -g init does not print and exit with an error, if no sound cards have been found.

Since it can be checked for attached sound cards on Linux easily via /proc or sysfs, this is of minor importance, and probably there is a reason why it is as it is. In this case, probably the --help output could be extended by this info, which is currently only present in the man page. Reading the --help only, one (or at least me) would not guess that this flag is ignored by the init command.

Issue URL : https://github.com/alsa-project/alsa-utils/issues/75
Repository URL: https://github.com/alsa-project/alsa-utils