[PATCH alsa-utils] alsactl: Add --quiet option to suppress alsa-lib error messages
Jaroslav Kysela
perex at perex.cz
Wed Oct 27 19:25:29 CEST 2021
On 27. 10. 21 16:40, Takashi Iwai wrote:
> alsactl prints error messages from alsa-lib as is, and it's rather
> annoying to see the error messages like
>
> alsactl[xxx]: alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA Intel PCH...)
> alsactl[xxx]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
>
> that are recorded in the syslog at each boot.
>
> This patch adds --quiet (or -q) option to suppress those error
> messages from alsa-lib, and applies to the systemd services as
> default.
The fix is inaccurate as it's just a warning not an error. The question is,
how to signal those warnings to users to eliminate the confusion.
The suppression of all alsa-lib errors does not seem like a good idea to me.
Jaroslav
--
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
More information about the Alsa-devel
mailing list