All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anssi Hannula <anssi.hannula@iki.fi>
To: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: USB-Audio.conf comment regarding asound.conf
Date: Mon, 07 Jul 2014 00:31:15 +0300	[thread overview]
Message-ID: <53B9C023.3000107@iki.fi> (raw)

Hi,

USB-Audio.conf contains:

> #  DO NO EDIT; this is an internal ALSA file.
> #  If you want to add your own definitions, put them into /etc/asound.conf or
> #  ~/.asoundrc, with "cards." before the "USB-Audio", e.g.:
> #
> #  cards.USB-Audio.pcm.use_dmix."NoiseBlaster 3000" no
> #
> #  If your device requires such a definition to work correctly, please report it
> #  to <alsa-devel@alsa-project.org>.

However, snd_config_hook_load_for_all_cards() will completely skip
loading of /usr/share/alsa/cards/USB-Audio.conf if one has existing
configuration elements in cards.USB-Audio.

I was just hit with this while debugging an issue with a user. Should
users just edit /usr/share/alsa/cards/USB-Audio.conf directly until such
entries are added upstream, or should this be somehow fixed in alsa-lib
to work as instructed?

Related commits:

http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=96da0c842d14b40ce8e37726b259229634b3aa21
http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=133819d420d962b6888c280352a5532da93f1a3a


-- 
Anssi Hannula

                 reply	other threads:[~2014-07-06 21:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53B9C023.3000107@iki.fi \
    --to=anssi.hannula@iki.fi \
    --cc=alsa-devel@alsa-project.org \
    /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.