All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaroslav Kysela <perex@perex.cz>
To: Takashi Iwai <tiwai@suse.de>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: [PATCH alsa-utils] alsactl: Add --quiet option to suppress alsa-lib error messages
Date: Wed, 27 Oct 2021 19:25:29 +0200	[thread overview]
Message-ID: <e7de13ce-ee03-761d-0890-527bd00883e3@perex.cz> (raw)
In-Reply-To: <20211027144008.27002-1-tiwai@suse.de>

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@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

  reply	other threads:[~2021-10-27 17:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 14:40 [PATCH alsa-utils] alsactl: Add --quiet option to suppress alsa-lib error messages Takashi Iwai
2021-10-27 17:25 ` Jaroslav Kysela [this message]
2021-10-28  6:18   ` Takashi Iwai
2021-10-28 10:25     ` Jaroslav Kysela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e7de13ce-ee03-761d-0890-527bd00883e3@perex.cz \
    --to=perex@perex.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.