All of lore.kernel.org
 help / color / mirror / Atom feed
* DAPM PIN switches do not update in alsamixer when changed through UCM profile
@ 2021-10-03 13:12 Hans de Goede
  2021-10-03 14:46 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Hans de Goede @ 2021-10-03 13:12 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela, Mark Brown, alsa-devel

Hi All,

I notice that DAPM PIN switches, such as e.g. the "Headphone"
SOC_DAPM_PIN_SWITCH defined in:
sound/soc/intel/boards/cht_bsw_nau8824.c:

static const struct snd_kcontrol_new cht_mc_controls[] = {
        SOC_DAPM_PIN_SWITCH("Headphone"),
        SOC_DAPM_PIN_SWITCH("Headset Mic"),
        SOC_DAPM_PIN_SWITCH("Int Mic"),
        SOC_DAPM_PIN_SWITCH("Ext Spk"),
};

Do not get updated to reflect state-changes when the output
is switched between e.g. Headphone / "Ext Spk" by
pulseaudio/pipewire through the UCM profile mechanism.

If I exit alsa-mixer after changing the output and
start it again then the control does show the expect
value. So it seems that we are failing to send a change
event about this somewhere?

Regards,

Hans


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-07 10:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-03 13:12 DAPM PIN switches do not update in alsamixer when changed through UCM profile Hans de Goede
2021-10-03 14:46 ` Takashi Iwai
2021-10-03 16:32   ` Hans de Goede
2021-10-04  6:43     ` Takashi Iwai
2021-10-04 12:58     ` Mark Brown
2021-10-07 10:51       ` Hans de Goede

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.