<div dir="ltr">So, Speaker settings should always be on?? I am using below UCM config for speaker and headphones<div><br></div><div>/**** Speaker Sequence ****/</div><div><div>SectionDevice."Speaker" {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>Comment "Speaker"</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>ConflictingDevice [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>"Headphones"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>EnableSequence [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>cdev "hw:broxtonrt298"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>exec "echo HiFi Speaker EnableSequnece"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">              </span>cset "name='SPO Switch' 1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span>cset "name='Speaker Playback Switch' 1,1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>cset "name='Speaker Switch' 1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>cset "name='HPO L Switch' 0"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>cset "name='HPO R Switch' 0"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>]</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>DisableSequence [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Value {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>PlaybackChannels "2"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>PlaybackPriority "1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>JackHWMute "Headphones"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>}</div><div>}</div></div><div><br></div><div><br></div><div>/*** Headphone sequence ****/</div><div><div>SectionDevice."Headphones" {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>Comment "Headphones"</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>ConflictingDevice [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>"Speaker"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>EnableSequence [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>cdev "hw:broxtonrt298"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>exec "echo HiFi Headphones EnableSequnece"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span>cset "name='HPO L Switch' 1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>cset "name='HPO R Switch' 1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>cset "name='Headphone Jack Switch' 1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>cset "name='Speaker Playback Switch' 0,0"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>]</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>DisableSequence [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Value {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>PlaybackChannels "2"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>PlaybackPriority "1"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>JackControl "Headphone Jack"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>JackHWMute "Speaker"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>}</div><div>}</div></div><div><br></div><div>Regards</div><div>Nishit</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 7, 2016 at 6:05 PM, Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2016-12-07 at 17:09 +0530, Nishit Sharma wrote:<br>
> Hi All,<br>
><br>
> In my setup i am facing issues:-<br>
> Initially Speaker is on and file played can be heard from Speaker, Now when<br>
> headset/headphone plugged in pulseaudio switches to headset/headphones as<br>
> per the UCM config files which is working fine. Problem comes when<br>
> switching from headphones/headset to speaker. I am unable to hear anything<br>
> and when alsamixer has been checked Speaker was off. Pulseaudio spewed<br>
> messages:-<br>
<br>
</span>If you're using UCM, the individual alsa mixer elements are controlled<br>
by the UCM configuration, not pulseaudio. Perhaps your speaker device<br>
enable sequence doesn't include setting Speaker to on.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Tanu<br>
<br>
<a href="https://www.patreon.com/tanuk" rel="noreferrer" target="_blank">https://www.patreon.com/tanuk</a><br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/pulseaudio-<wbr>discuss</a><br>
</div></div></blockquote></div><br></div>