All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] bytcr-rt5651: Fix dmic check in HiFi-Components.conf
@ 2020-04-05 18:34 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
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Hans de Goede @ 2020-04-05 18:34 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Hans de Goede, alsa-devel

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>
-- 
2.26.0


^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2020-04-13 15:19 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 1/5] bytcr-rt5651: Fix dmic check in HiFi-Components.conf Jaroslav Kysela

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.