Skip to contentSkip to conversation

conf/ucm: broadwell-rt286: change to set capture volume and capture device

PATCH Applied Jie Yang 3 participants 3 messages May 8, 2015 – May 18, 2015

lore
Share & tools
lore

Jie Yang

author
#0 lore raw

PATCH 1/1 conf/ucm: broadwell-rt286: change to set capture volume and capture device

Set 'Mic Capture Volume' in capture device EnableSequence, to fix capture no volume by default issue.

Also add JackHWMute Value item to mute onboard dmic while headset mic is plugged in.

---
 src/conf/ucm/broadwell-rt286/HiFi | 5 +++++
 1 file changed, 5 insertions(+)
src/conf/ucm/broadwell-rt286/HiFi +5 -0
index 58983ea..c09a01c 100644
@@ -86,6 +86,7 @@ SectionDevice."Handset" {
 	EnableSequence [
 		cdev "hw:broadwellrt286"
 
+		cset "name='Mic Capture Volume' 28"
 		cset "name='ADC 0 Mux' 0"
 		cset "name='ADC0 Capture Switch' on"
 		cset "name='ADC0 Capture Volume' 127"
@@ -99,6 +100,9 @@ SectionDevice."Handset" {
 
 	Value {
 		CaptureChannels "2"
+		JackDev "rt286-jack"
+		JackControl "Mic Jack"
+		JackHWMute "Mainmic"
 	}
 }
 
@@ -112,6 +116,7 @@ SectionDevice."Mainmic" {
 	EnableSequence [
 		cdev "hw:broadwellrt286"
 
+		cset "name='Mic Capture Volume' 30"
 		cset "name='ADC 0 Mux' 2"
 		cset "name='ADC0 Capture Switch' on"
 		cset "name='ADC0 Capture Volume' 127"
Signature · 1 line
1.9.1
Tested-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jie Yang

Set 'Mic Capture Volume' in capture device EnableSequence, to fix capture no volume by default issue.

Also add JackHWMute Value item to mute onboard dmic while headset mic is plugged in.

It'd be good to have a release with this in, it's the main missing bit to getting my current laptop's audio working out of the box.

Applied
#2 lore raw
In reply to Jie Yang

At Fri, 8 May 2015 15:18:47 +0800,

Quoted 8 lines · Jie Yang

Set 'Mic Capture Volume' in capture device EnableSequence, to fix capture no volume by default issue.

Also add JackHWMute Value item to mute onboard dmic while headset mic is plugged in.

Applied, thanks.

Takashi

Quoted 37 lines
---
 src/conf/ucm/broadwell-rt286/HiFi | 5 +++++
 1 file changed, 5 insertions(+)
src/conf/ucm/broadwell-rt286/HiFi +5 -0
index 58983ea..c09a01c 100644
@@ -86,6 +86,7 @@ SectionDevice."Handset" {
 	EnableSequence [
 		cdev "hw:broadwellrt286"
 
+		cset "name='Mic Capture Volume' 28"
 		cset "name='ADC 0 Mux' 0"
 		cset "name='ADC0 Capture Switch' on"
 		cset "name='ADC0 Capture Volume' 127"
@@ -99,6 +100,9 @@ SectionDevice."Handset" {
 
 	Value {
 		CaptureChannels "2"
+		JackDev "rt286-jack"
+		JackControl "Mic Jack"
+		JackHWMute "Mainmic"
 	}
 }
 
@@ -112,6 +116,7 @@ SectionDevice."Mainmic" {
 	EnableSequence [
 		cdev "hw:broadwellrt286"
 
+		cset "name='Mic Capture Volume' 30"
 		cset "name='ADC 0 Mux' 2"
 		cset "name='ADC0 Capture Switch' on"
 		cset "name='ADC0 Capture Volume' 127"
Signature · 1 line
1.9.1