All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaroslav Kysela <perex@perex.cz>
To: Hans de Goede <hdegoede@redhat.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/5] bytcr-rt5651: Fix dmic check in HiFi-Components.conf
Date: Mon, 6 Apr 2020 09:39:52 +0200	[thread overview]
Message-ID: <06bd19cd-e1c0-4be3-4784-2a9bde6a9d2d@perex.cz> (raw)
In-Reply-To: <20200405183454.34515-1-hdegoede@redhat.com>

Dne 05. 04. 20 v 20:34 Hans de Goede napsal(a):
> The kernel sets cfg-mic:dmic not cfg-mic:dmic1 when a digital mic is
> used. The wrong check for cfg-mic:dmic1 causes there to be no "Mic"
> device at all, which causes the check for the ConflictingDevices section
> of the HeadSet (mic) device to fail like e.g. so:
> 
> [hans@localhost ~]$ alsaucm -c bytcr-rt5651 set _verb HiFi set _enadev Speaker
> ALSA lib parser.c:1138:(verb_dev_list_add) error: unable to find device 'Mic'
> ALSA lib parser.c:1433:(parse_verb_file) error: device management error in verb 'HiFi'
> ALSA lib main.c:962:(snd_use_case_mgr_open) error: failed to import bytcr-rt5651 use case configuration -2
> alsaucm: error failed to open sound card bytcr-rt5651: No such file or directory
> 
> This commit fixes this.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>   ucm2/bytcr-rt5651/HiFi-Components.conf | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/ucm2/bytcr-rt5651/HiFi-Components.conf b/ucm2/bytcr-rt5651/HiFi-Components.conf
> index 53ebcbe..d0a573e 100644
> --- a/ucm2/bytcr-rt5651/HiFi-Components.conf
> +++ b/ucm2/bytcr-rt5651/HiFi-Components.conf
> @@ -34,11 +34,11 @@ If.headphones {
>   	}
>   }
>   
> -If.dmic1 {
> +If.dmic {
>   	Condition {
>   		Type String
>   		Haystack "${CardComponents}"
> -		Needle "cfg-mic:dmic1"
> +		Needle "cfg-mic:dmic"
>   	}
>   	True {
>   		<codecs/rt5651/DigitalMic.conf>
> 

Applied. Thanks.

					Jaroslav

-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

      parent reply	other threads:[~2020-04-06  7:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05 18:34 [PATCH 1/5] bytcr-rt5651: Fix dmic check in HiFi-Components.conf Hans de Goede
2020-04-05 18:34 ` [PATCH 2/5] chtrt5645: Add ASUSTeKCOMPUTERINC.-T100HAN-1.0 symlink to chtrt5645-dmic1.conf Hans de Goede
2020-04-06  7:40   ` Jaroslav Kysela
2020-04-05 18:34 ` [PATCH 3/5] chtrt5645: Add MEDION-E1239TMD60568-0.1-Wingman.conf symlink to chtrt5645-dmic2.conf Hans de Goede
2020-04-06  7:41   ` Jaroslav Kysela
2020-04-05 18:34 ` [PATCH 4/5] chtrt5645: Remove bogus JackHWMute settings Hans de Goede
2020-04-05 23:22   ` Pierre-Louis Bossart
2020-04-06  7:32     ` Hans de Goede
2020-04-06 15:17       ` Pierre-Louis Bossart
2020-04-06 16:58         ` Hans de Goede
2020-04-06 17:10           ` Jaroslav Kysela
2020-04-06 18:36             ` Pierre-Louis Bossart
2020-04-06  7:42   ` Jaroslav Kysela
2020-04-13 13:19   ` [4/5] " youling257
2020-04-13 14:39     ` Hans de Goede
2020-04-13 15:18       ` youling 257
2020-04-05 18:34 ` [PATCH 5/5] cht-bsw-rt5672: Fix HiFi-stereo-dmic2 conf not loading / working Hans de Goede
2020-04-06  9:34   ` Jaroslav Kysela
2020-04-06  9:50     ` Hans de Goede
2020-04-06 11:28       ` Jaroslav Kysela
2020-04-06 12:13         ` Hans de Goede
2020-04-06 16:23           ` Jaroslav Kysela
2020-04-06 10:02     ` Hans de Goede
2020-04-06 10:07       ` Hans de Goede
2020-04-06  7:39 ` Jaroslav Kysela [this message]

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=06bd19cd-e1c0-4be3-4784-2a9bde6a9d2d@perex.cz \
    --to=perex@perex.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=hdegoede@redhat.com \
    /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.