Skip to contentSkip to conversation

conf/ucm: rt5651: Add missing cdev

PATCH Applied Carlo Caione 2 participants 4 messages Nov 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf/ucm: rt5651: Add missing cdev

From: Carlo Caione <[email protected]>

---
 src/conf/ucm/bytcr-rt5651/HiFi.conf | 1 +
 1 file changed, 1 insertion(+)
src/conf/ucm/bytcr-rt5651/HiFi.conf +1 -0
index b9da30f7..8ded2d52 100644
@@ -7,6 +7,7 @@ SectionVerb {
 	]
 
 	DisableSequence [
+		cdev "hw:bytcrrt5651"
 		exec "echo HiFi disable sequence"
 	]
 
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 conf/ucm: rt5651: Mute speakers on boot

From: Carlo Caione <[email protected]>

The UCM configuration is enabling the speakers in the SectionDefaults. This is a problem when booting with an headset already connected since the audio output is routed at the same time both on speakers and heaphones until the jack is disconnected and reconnected again.

Fix this disabling all the outputs in the default mixer configuration.

---
 src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf +5 -3
index 60798ce7..069427b7 100644
@@ -99,11 +99,11 @@ SectionDefaults [
 
 	# default state
 	cset "name='ADC Capture Volume' 126"
-	cset "name='HP Playback Volume' 29"
-	cset "name='HPO L Playback Switch' on"
+	cset "name='HP Playback Volume' 0"
+	cset "name='HPO L Playback Switch' off"
 	cset "name='HPO MIX DAC1 Switch' on"
 	cset "name='HPO MIX HPVOL Switch' on"
-	cset "name='HPO R Playback Switch' on"
+	cset "name='HPO R Playback Switch' off"
 	cset "name='HPOVOL L Switch' on"
 	cset "name='HPOVOL R Switch' on"
 	cset "name='IF1 ASRC Switch' on"
@@ -123,6 +123,8 @@ SectionDefaults [
 	cset "name='Stereo2 ADC MIXL ADC2 Switch' on"
 	cset "name='Stereo2 ADC MIXR ADC1 Switch' on"
 	cset "name='Stereo2 ADC MIXR ADC2 Switch' on"
+	cset "name='Headphone Switch' off"
+	cset "name='Speaker Switch' off"
 
 	# input
 	cset "name='Stereo1 ADC L1 Mux' ADC"
Signature · 1 line
2.14.2
Applied
#2 lore raw

Re: [PATCH] conf/ucm: rt5651: Mute speakers on boot

Quoted 11 lines · Carlo Caione

From: Carlo Caione <[email protected]>

The UCM configuration is enabling the speakers in the SectionDefaults. This is a problem when booting with an headset already connected since the audio output is routed at the same time both on speakers and heaphones until the jack is disconnected and reconnected again.

Fix this disabling all the outputs in the default mixer configuration.

Applied, thanks.

Takashi