[pulseaudio-discuss] Endpoints switching rules
Nishit Sharma
sharmafrequent at gmail.com
Wed Dec 7 13:56:44 UTC 2016
So, Speaker settings should always be on?? I am using below UCM config for
speaker and headphones
/**** Speaker Sequence ****/
SectionDevice."Speaker" {
Comment "Speaker"
ConflictingDevice [
"Headphones"
]
EnableSequence [
cdev "hw:broxtonrt298"
exec "echo HiFi Speaker EnableSequnece"
cset "name='SPO Switch' 1"
cset "name='Speaker Playback Switch' 1,1"
cset "name='Speaker Switch' 1"
cset "name='HPO L Switch' 0"
cset "name='HPO R Switch' 0"
]
DisableSequence [
]
Value {
PlaybackChannels "2"
PlaybackPriority "1"
JackHWMute "Headphones"
}
}
/*** Headphone sequence ****/
SectionDevice."Headphones" {
Comment "Headphones"
ConflictingDevice [
"Speaker"
]
EnableSequence [
cdev "hw:broxtonrt298"
exec "echo HiFi Headphones EnableSequnece"
cset "name='HPO L Switch' 1"
cset "name='HPO R Switch' 1"
cset "name='Headphone Jack Switch' 1"
cset "name='Speaker Playback Switch' 0,0"
]
DisableSequence [
]
Value {
PlaybackChannels "2"
PlaybackPriority "1"
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
}
Regards
Nishit
On Wed, Dec 7, 2016 at 6:05 PM, Tanu Kaskinen <tanuk at iki.fi> wrote:
> On Wed, 2016-12-07 at 17:09 +0530, Nishit Sharma wrote:
> > Hi All,
> >
> > In my setup i am facing issues:-
> > Initially Speaker is on and file played can be heard from Speaker, Now
> when
> > headset/headphone plugged in pulseaudio switches to headset/headphones as
> > per the UCM config files which is working fine. Problem comes when
> > switching from headphones/headset to speaker. I am unable to hear
> anything
> > and when alsamixer has been checked Speaker was off. Pulseaudio spewed
> > messages:-
>
> If you're using UCM, the individual alsa mixer elements are controlled
> by the UCM configuration, not pulseaudio. Perhaps your speaker device
> enable sequence doesn't include setting Speaker to on.
>
> --
> Tanu
>
> https://www.patreon.com/tanuk
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20161207/d9fdd239/attachment.html>
More information about the pulseaudio-discuss
mailing list