Message ID | 20241002142947.4015912-2-mstrozek@opensource.cirrus.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [alsa-ucm-conf,v2,1/2] sof-soundwire: Change mapped control names to make them unique | expand |
W dniu śro, 02.10.2024 o godzinie 15∶29 +0100, użytkownik Maciej Strozek napisał: > > +FixedBootSequence [ > + exec "-/sbin/modprobe snd_ctl_led" > + sysw "-/class/sound/ctl- > led/mic/card${CardNumber}/attach:cs42l43 Decimator 3 Switch" > + sysw "-/class/sound/ctl- > led/mic/card${CardNumber}/attach:cs42l43 Decimator 4 Switch" > +] > -- > 2.39.5 > Please ignore this version, will send v3 with added headset mic
diff --git a/ucm2/codecs/cs42l43/init.conf b/ucm2/codecs/cs42l43/init.conf index cf61833..fad41dd 100644 --- a/ucm2/codecs/cs42l43/init.conf +++ b/ucm2/codecs/cs42l43/init.conf @@ -12,3 +12,9 @@ LibraryConfig.remap.Config { } } } + +FixedBootSequence [ + exec "-/sbin/modprobe snd_ctl_led" + sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:cs42l43 Decimator 3 Switch" + sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:cs42l43 Decimator 4 Switch" +]
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com> --- v2: no changes --- ucm2/codecs/cs42l43/init.conf | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.39.5