OSMC and pi-DigiAmp+

OSMC has driver for the Iqaudio pi-DAC+ which are the same linux drivers as the pi-DigiAmp+ (Gordon at iqaudio has confirmed this) but when I select iqaudio DACplus in My OSMC and then after a reboot in the audio out it fails to work. According to Gordon at iqaudio I need to “Write a 1 to GPIO22” to un mute the amp at startup. I would be grateful if someone was able to give me an idea how this can be done?

Mark

You could do this in rc.local or write a systemd unit to do this

Sam

Read more here:

nano -w /etc/rc.local
add these 3 lines at the buttom above exit, and reboot.

echo “22” > /sys/class/gpio/export
echo “out” > /sys/class/gpio/gpio22/direction
echo “1” > /sys/class/gpio/gpio22/value

1 Like

Thanks guys I will give it a go.

At some point in the future it would be great if unmuting was done when selecting the overlay.

Mark

On my todo

Sam