alsa-project/alsa-ucm-conf issue #385 was opened from Venkata-Prasad-Potturu:
Hi, We have enabled ACP-DMIC endpoint support using SOF stack, and created mixer controls for capture switch and volume. Trying to link Mic mute button with amixer controls in the UCM config file, but unable to invoke the enable/disable sequence when we press mic mute button. Please find the below ucm configuration, amixer controls and pactl list. [pactl_list.txt](https://github.com/alsa-project/alsa-ucm-conf/files/13988218/pactl_list.txt)
Could anyone help on this.
**AMIXER CONTROLS:-** _**root@systemc-Mayan-RMB:/usr/share/alsa/ucm2#**_ arecord -l **** List of CAPTURE Hardware Devices **** card 1: sofrmbdsp [sof-rmb-dsp], device 6: DMIC (*) [] Subdevices: 0/1 Subdevice #0: subdevice #0 **_root@systemc-Mayan-RMB:/usr/share/alsa/ucm2#_** **amixer -c 1 contents** numid=2,iface=MIXER,name='PGA4.0 4 Master Capture Switch' ; type=BOOLEAN,access=rw------,values=2 : values=on,on numid=1,iface=MIXER,name='PGA4.0 4 Master Capture Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=80,step=0 : values=44,44 | dBscale-min=-50.00dB,step=1.00dB,mute=1 **_root@systemc-Mayan-RMB:/usr/share/alsa/ucm2#_** **UCM Configuration:-**
SectionDevice."dmic" { Comment "Digital Microphone" EnableSequence [ exec "echo DMIC EnableSequence" cset "name='PGA4.0 4 Master Capture Switch' 1" cset "name='PGA4.0 4 Master Capture Volume' 44" ]
DisableSequence [ exec "echo DMIC DisableSequence" cset "name='PGA4.0 4 Master Capture Switch' 0" cset "name='PGA4.0 4 Master Capture Volume' 33" ]
Value { CapturePriority 100 CapturePCM "hw:${CardId},6" } }
Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/385 Repository URL: https://github.com/alsa-project/alsa-ucm-conf