I have a IQAudio Digi-Amp DAC, which I have managed to unmute manually, is there a way to run this on every startup/can you add to your image?
I've tried adding this and in /etc/rc.local
echo "22" > /sys/class/gpio/export
echo "out" >/sys/class/gpio/gpio22/direction
echo "1" >/sys/class/gpio/gpio22/value
but this doesn't work and when i reboot i have to log in via putty and execute
sudo sh -c "echo 22 > /sys/class/gpio/export"
sudo sh -c "echo out >/sys/class/gpio/gpio22/direction"
sudo sh -c "echo 1 >/sys/class/gpio/gpio22/value"