Re: [PATCH alsa-utils] alsactl: Add --quiet option to suppress alsa-lib error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 27 Oct 2021 19:25:29 +0200,
Jaroslav Kysela wrote:
> 
> 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.

But it says "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.

At least the messages that are no real errors should not be shown in
that way.  It's nothing but confusing.


thanks,

Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux