* [PATCH] conf/ucm: rt5651: Add missing cdev
@ 2017-11-08 12:33 Carlo Caione
2017-11-08 12:33 ` [PATCH] conf/ucm: rt5651: Mute speakers on boot Carlo Caione
2017-11-08 14:10 ` [PATCH] conf/ucm: rt5651: Add missing cdev Takashi Iwai
0 siblings, 2 replies; 4+ messages in thread
From: Carlo Caione @ 2017-11-08 12:33 UTC (permalink / raw)
To: tiwai, linux, bardliao, oder_chiou, pierre-louis.bossart, alsa-devel
Cc: Carlo Caione
From: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Carlo Caione <carlo@endlessm.com>
---
src/conf/ucm/bytcr-rt5651/HiFi.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/ucm/bytcr-rt5651/HiFi.conf b/src/conf/ucm/bytcr-rt5651/HiFi.conf
index b9da30f7..8ded2d52 100644
--- a/src/conf/ucm/bytcr-rt5651/HiFi.conf
+++ b/src/conf/ucm/bytcr-rt5651/HiFi.conf
@@ -7,6 +7,7 @@ SectionVerb {
]
DisableSequence [
+ cdev "hw:bytcrrt5651"
exec "echo HiFi disable sequence"
]
--
2.14.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] conf/ucm: rt5651: Mute speakers on boot
2017-11-08 12:33 [PATCH] conf/ucm: rt5651: Add missing cdev Carlo Caione
@ 2017-11-08 12:33 ` Carlo Caione
2017-11-08 14:10 ` Takashi Iwai
2017-11-08 14:10 ` [PATCH] conf/ucm: rt5651: Add missing cdev Takashi Iwai
1 sibling, 1 reply; 4+ messages in thread
From: Carlo Caione @ 2017-11-08 12:33 UTC (permalink / raw)
To: tiwai, linux, bardliao, oder_chiou, pierre-louis.bossart, alsa-devel
Cc: Carlo Caione
From: Carlo Caione <carlo@endlessm.com>
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.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
---
src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf b/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf
index 60798ce7..069427b7 100644
--- a/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf
+++ b/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf
@@ -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"
--
2.14.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] conf/ucm: rt5651: Add missing cdev
2017-11-08 12:33 [PATCH] conf/ucm: rt5651: Add missing cdev Carlo Caione
2017-11-08 12:33 ` [PATCH] conf/ucm: rt5651: Mute speakers on boot Carlo Caione
@ 2017-11-08 14:10 ` Takashi Iwai
1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2017-11-08 14:10 UTC (permalink / raw)
To: Carlo Caione
Cc: oder_chiou, alsa-devel, pierre-louis.bossart, Carlo Caione,
bardliao, linux
On Wed, 08 Nov 2017 13:33:29 +0100,
Carlo Caione wrote:
>
> From: Carlo Caione <carlo@endlessm.com>
>
> Signed-off-by: Carlo Caione <carlo@endlessm.com>
Applied, thanks.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] conf/ucm: rt5651: Mute speakers on boot
2017-11-08 12:33 ` [PATCH] conf/ucm: rt5651: Mute speakers on boot Carlo Caione
@ 2017-11-08 14:10 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2017-11-08 14:10 UTC (permalink / raw)
To: Carlo Caione
Cc: oder_chiou, alsa-devel, pierre-louis.bossart, Carlo Caione,
bardliao, linux
On Wed, 08 Nov 2017 13:33:30 +0100,
Carlo Caione wrote:
>
> From: Carlo Caione <carlo@endlessm.com>
>
> 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.
>
> Signed-off-by: Carlo Caione <carlo@endlessm.com>
Applied, thanks.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-08 14:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-08 12:33 [PATCH] conf/ucm: rt5651: Add missing cdev Carlo Caione
2017-11-08 12:33 ` [PATCH] conf/ucm: rt5651: Mute speakers on boot Carlo Caione
2017-11-08 14:10 ` Takashi Iwai
2017-11-08 14:10 ` [PATCH] conf/ucm: rt5651: Add missing cdev Takashi Iwai
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.