ALSA UCM2 sound device survey

I’ve got a (mostly) complete ALSA UCM2 config written for my old imx8mq Reform, but I’m curious what the impact of this would be on users of other SoCs. From the .dts files it looks like the same config might also get applied to LS1028A and imx8mp.

If you have a non-imx8mq Reform and you want to help me figure this out, please post the output of these commands:

cat /proc/device-tree/model
cat /proc/asound/cards
amixer -c 0 controls

1 Like

Here are the outputs for ls1028a, booted from a freshly obtained, unmodified system image:

cat /proc/device-tree/model
MNT Reform 2 with LS1028A Module
 cat /proc/asound/cards
 0 [wm8960audio    ]: fsl-asoc-card - wm8960-audio
                      wm8960-audio
 amixer -c 0 controls
numid=12,iface=MIXER,name='Headphone Playback ZC Switch'
numid=11,iface=MIXER,name='Headphone Playback Volume'
numid=17,iface=MIXER,name='PCM Playback -6dB Switch'
numid=58,iface=MIXER,name='Mono Output Mixer Left Switch'
numid=59,iface=MIXER,name='Mono Output Mixer Right Switch'
numid=41,iface=MIXER,name='ADC Data Output Select'
numid=19,iface=MIXER,name='ADC High Pass Filter Switch'
numid=36,iface=MIXER,name='ADC PCM Capture Volume'
numid=18,iface=MIXER,name='ADC Polarity'
numid=2,iface=MIXER,name='Capture Volume ZC Switch'
numid=3,iface=MIXER,name='Capture Switch'
numid=1,iface=MIXER,name='Capture Volume'
numid=10,iface=MIXER,name='Playback Volume'
numid=23,iface=MIXER,name='3D Filter Lower Cut-Off'
numid=22,iface=MIXER,name='3D Filter Upper Cut-Off'
numid=25,iface=MIXER,name='3D Switch'
numid=24,iface=MIXER,name='3D Volume'
numid=33,iface=MIXER,name='ALC Attack'
numid=32,iface=MIXER,name='ALC Decay'
numid=26,iface=MIXER,name='ALC Function'
numid=30,iface=MIXER,name='ALC Hold Time'
numid=27,iface=MIXER,name='ALC Max Gain'
numid=29,iface=MIXER,name='ALC Min Gain'
numid=31,iface=MIXER,name='ALC Mode'
numid=28,iface=MIXER,name='ALC Target'
numid=21,iface=MIXER,name='DAC Deemphasis Switch'
numid=43,iface=MIXER,name='DAC Filter Characteristics'
numid=42,iface=MIXER,name='DAC Mono Mix'
numid=20,iface=MIXER,name='DAC Polarity'
numid=46,iface=MIXER,name='Left Boost Mixer LINPUT1 Switch'
numid=44,iface=MIXER,name='Left Boost Mixer LINPUT2 Switch'
numid=45,iface=MIXER,name='Left Boost Mixer LINPUT3 Switch'
numid=9,iface=MIXER,name='Left Input Boost Mixer LINPUT1 Volume'
numid=5,iface=MIXER,name='Left Input Boost Mixer LINPUT2 Volume'
numid=4,iface=MIXER,name='Left Input Boost Mixer LINPUT3 Volume'
numid=50,iface=MIXER,name='Left Input Mixer Boost Switch'
numid=54,iface=MIXER,name='Left Output Mixer Boost Bypass Switch'
numid=37,iface=MIXER,name='Left Output Mixer Boost Bypass Volume'
numid=53,iface=MIXER,name='Left Output Mixer LINPUT3 Switch'
numid=38,iface=MIXER,name='Left Output Mixer LINPUT3 Volume'
numid=52,iface=MIXER,name='Left Output Mixer PCM Playback Switch'
numid=35,iface=MIXER,name='Noise Gate Switch'
numid=34,iface=MIXER,name='Noise Gate Threshold'
numid=49,iface=MIXER,name='Right Boost Mixer RINPUT1 Switch'
numid=47,iface=MIXER,name='Right Boost Mixer RINPUT2 Switch'
numid=48,iface=MIXER,name='Right Boost Mixer RINPUT3 Switch'
numid=8,iface=MIXER,name='Right Input Boost Mixer RINPUT1 Volume'
numid=7,iface=MIXER,name='Right Input Boost Mixer RINPUT2 Volume'
numid=6,iface=MIXER,name='Right Input Boost Mixer RINPUT3 Volume'
numid=51,iface=MIXER,name='Right Input Mixer Boost Switch'
numid=57,iface=MIXER,name='Right Output Mixer Boost Bypass Switch'
numid=39,iface=MIXER,name='Right Output Mixer Boost Bypass Volume'
numid=55,iface=MIXER,name='Right Output Mixer PCM Playback Switch'
numid=56,iface=MIXER,name='Right Output Mixer RINPUT3 Switch'
numid=40,iface=MIXER,name='Right Output Mixer RINPUT3 Volume'
numid=16,iface=MIXER,name='Speaker AC Volume'
numid=15,iface=MIXER,name='Speaker DC Volume'
numid=13,iface=MIXER,name='Speaker Playback Volume'
numid=14,iface=MIXER,name='Speaker Playback ZC Switch'

Hope that helps :slight_smile:

1 Like