Kodi Community Forum
How to run amixer command at startup? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: How to run amixer command at startup? (/showthread.php?tid=349305)



How to run amixer command at startup? - frankspappa - 2019-11-17

I tried to add the following to /storage/.config/autostart.sh:

shell:
amixer --card 1 cset numid=13 on

in order to enable the digital output on my ASUS XONAR. However, it does not have any effect. I guess it's overwritten by some other alsa command when Kodi starts up or similar.
I can ssh into the system and successfully execute the above after I've booted, but I would rather not have to do this each time the system is booted.

How can I make a persistent amixer setup on Kodi/LibreELEC?