On Tue, Dec 19, 2023 at 07:29:21PM +0100, Jaroslav Kysela wrote: > On 19. 12. 23 17:45, Charles Keepax wrote: > >On Fri, Dec 08, 2023 at 12:00:26PM +0000, Charles Keepax wrote: > >>On Thu, Dec 07, 2023 at 02:56:17PM +0100, Jaroslav Kysela wrote: > >>>On 07. 12. 23 10:55, Charles Keepax wrote: > >>>>On Wed, Dec 06, 2023 at 06:26:17PM +0100, Jaroslav Kysela wrote: > >>>>>On 06. 12. 23 17:46, Charles Keepax wrote: > @@ -148,7 +148,7 @@ static snd_ctl_numid_t > *remap_numid_child_new(snd_ctl_remap_t *priv, unsigned in > > if (numid_child == 0) > return NULL; > - if (remap_find_numid_app(priv, numid_child)) { > + if (priv->numid_remap_active && remap_find_numid_app(priv, numid_child)) { > This fix seems to work for me, thanks. > >It would seem the primary issue is here, one needs to add: > > > >CaptureCTL "default:${CardId}" > >PlaybackCTL "default:${CardId}" > > Look for 'PlaybackMixer "default:' strings in configs for sound > servers and PlaybackMixerElem corresponding values. Sound servers > does not use the control API directly but the simple mixer API. > > The LibraryConfig blocks are added to the standard configuration and > there are 2 ways to use them. > > 1) private configuration - _ucm####. prefix (only in memory for UCM apps) > 2) blocks can be saved using cfg-save sequence command (used in > ucm2/lib/ctl-remap.conf) > > The second case - ctl-remap.conf - should save new configurations to > /var/lib/alsa/card#.conf.d and the global configuration > (/usr/share/alsa/alsa.conf) will include them. So the default > devices should be modified. You may also prepare/test configs in > ~/.asoundrc and then copy them to ucm configuration files. > > Also note that the remapping is for the application side (API), UCM > sequences are using the direct hw: controls. Can I just check I follow here, you are saying it would be unexpected to use the remapped controls in the ucm configuration itself, only other applications would be expected to use the remapped controls? Thank you very much for the detailed reply, there is a lot for me to think through there so I will try to go through that and likely be back with a new spin of the patch in the new year. Thanks, Charles