From 26ec21aa9e4af2d358df5848d7d1191a9e4abccc Mon Sep 17 00:00:00 2001 From: Libin Yang Date: Thu, 26 Dec 2019 15:04:09 +0800 Subject: [PATCH 1/2] sof-skl_hda_card: DMIC use sofsklhdacard for card number The card number can be changed. Change "hw:0" to "hw:sofsklhdacard" Signed-off-by: Libin Yang --- ucm/sof-skl_hda_card/Mics.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ucm/sof-skl_hda_card/Mics.conf b/ucm/sof-skl_hda_card/Mics.conf index b232cc7a..54d93d69 100644 --- a/ucm/sof-skl_hda_card/Mics.conf +++ b/ucm/sof-skl_hda_card/Mics.conf @@ -16,7 +16,7 @@ SectionDevice."Headset Microphone" { ] Value { - CapturePCM "hw:0,0" + CapturePCM "hw:sofsklhdacard,0" CaptureVolume "Capture" CaptureSwitch "Capture Switch" CaptureChannels "2" @@ -45,7 +45,7 @@ SectionDevice."Headphone Microphone" { ] Value { - CapturePCM "hw:0,0" + CapturePCM "hw:sofsklhdacard,0" CaptureVolume "Capture" CaptureSwitch "Capture Switch" CaptureChannels "2" @@ -73,7 +73,7 @@ SectionDevice."Dmic" { ] Value { - CapturePCM "hw:0,6" + CapturePCM "hw:sofsklhdacard,6" CaptureVolume "Dmic0 Capture Volume" CaptureSwitch "Dmic0 Capture Switch" CaptureChannels "2" From 6eb14c5f97e455c32a58f663f5b5201773b3f6a9 Mon Sep 17 00:00:00 2001 From: Libin Yang Date: Tue, 14 Jan 2020 15:19:30 +0800 Subject: [PATCH 2/2] LENOVO-20QE000VMC-ThinkPadX1Carbon7th-20QE000VMC: DMIC use sofsklhdacard for card number The card number can be changed. Change "hw:0" to "hw:sofsklhdacard" Signed-off-by: Libin Yang --- .../Mics.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucm/LENOVO-20QE000VMC-ThinkPadX1Carbon7th-20QE000VMC/Mics.conf b/ucm/LENOVO-20QE000VMC-ThinkPadX1Carbon7th-20QE000VMC/Mics.conf index 23dd2b6d..2bd68eed 100644 --- a/ucm/LENOVO-20QE000VMC-ThinkPadX1Carbon7th-20QE000VMC/Mics.conf +++ b/ucm/LENOVO-20QE000VMC-ThinkPadX1Carbon7th-20QE000VMC/Mics.conf @@ -14,7 +14,7 @@ SectionDevice."Headset Microphone" { ] Value { - CapturePCM "hw:0,0" + CapturePCM "hw:sofsklhdacard,0" CaptureVolume "Capture" CaptureSwitch "Capture Switch" CaptureChannels "2" @@ -41,7 +41,7 @@ SectionDevice."Dmic" { ] Value { - CapturePCM "hw:0,6" + CapturePCM "hw:sofsklhdacard,6" CaptureVolume "Dmic0 Capture Volume" CaptureSwitch "Dmic0 Capture Switch" CaptureChannels "2"