01-28-2021, 02:33 PM
Ok understood... the I2S selection use this sed command :
Which erase any dtoverlay setting that is not integrated into moode.
I noticed that when trying to use power control overlays :
But I understand you can't do a more precise filter, as after overlays there is the DAC name.
So we did a workaround using python.
Code:
sysCmd('sed -i /dtoverlay/d ' . '/boot/config.txt');
Which erase any dtoverlay setting that is not integrated into moode.
I noticed that when trying to use power control overlays :
Code:
dtoverlay=gpio-poweroff,gpiopin=22,active_low
dtoverlay=gpio-shutdown,gpio_pin=17,active_low=0,gpio_pull=down
But I understand you can't do a more precise filter, as after overlays there is the DAC name.
So we did a workaround using python.