Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Include moodecfg.txt on ISO
#11
Ok understood... the I2S selection use this sed command :

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.
Reply


Messages In This Thread
Include moodecfg.txt on ISO - by normand - 06-28-2020, 01:41 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 06-28-2020, 02:25 PM
RE: Include moodecfg.txt on ISO - by normand - 06-28-2020, 02:32 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 06-28-2020, 02:44 PM
RE: Include moodecfg.txt on ISO - by bitlab - 06-28-2020, 06:32 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 06-28-2020, 07:49 PM
RE: Include moodecfg.txt on ISO - by normand - 06-28-2020, 08:24 PM
RE: Include moodecfg.txt on ISO - by audiophonics - 01-28-2021, 11:41 AM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-28-2021, 01:11 PM
RE: Include moodecfg.txt on ISO - by audiophonics - 01-28-2021, 02:33 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-28-2021, 02:49 PM
RE: Include moodecfg.txt on ISO - by audiophonics - 01-28-2021, 03:14 PM
RE: Include moodecfg.txt on ISO - by chano22000 - 01-28-2021, 06:37 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-28-2021, 07:16 PM
RE: Include moodecfg.txt on ISO - by bitlab - 01-28-2021, 08:52 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-28-2021, 10:13 PM
RE: Include moodecfg.txt on ISO - by TookaFace - 01-28-2021, 11:15 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-28-2021, 11:26 PM
RE: Include moodecfg.txt on ISO - by TookaFace - 01-28-2021, 11:32 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-29-2021, 01:39 AM
RE: Include moodecfg.txt on ISO - by audiophonics - 01-29-2021, 11:35 AM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-29-2021, 12:28 PM
RE: Include moodecfg.txt on ISO - by TookaFace - 01-29-2021, 12:32 PM
RE: Include moodecfg.txt on ISO - by Tim Curtis - 01-29-2021, 12:42 PM
RE: Include moodecfg.txt on ISO - by TookaFace - 01-29-2021, 12:58 PM

Forum Jump: