-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i2s_dacs/index.js always overwrites existing /boot/config.txt #946
Comments
Indeed writeI2SDAC and disableI2SDAC should apply |
@xipmix wrote:
Yes, in general there can be The only 2 modifying sources I find are Other option could be to put a sort of dedicated Audio section in |
addressed in #1176 |
With merged fix, you may close this issue |
I think it is not a good idea to fully overwrite the /boot/config.txt when switching i2s_dacs settings.
Here an example to illustrate my problem:
I have a RPI2 with the official RPI touch screen and an Hifiberry AMP +. I mounted the touch screen in a way that needs the /boot/config.txt to contain
lcd_rotate=2
to rotate the screen content 180 degree to be right sight up. I also increased the gpu memory to 64MB for the touch screen to work smoothly. Now every time I change the i2c_dacs settings the whole /boot/config.txt gets overwritten.My suggestion for fixing this would be that the volumio app contains some sort of API that can be also be accessed by Plugins (e.g. the TouchScreen Plugin) to modify, add or delete existing values of the /boot/config.txt.
Disclaimer: I'm not familiar with node.js so I have no idea how something like this would be implemented.
The text was updated successfully, but these errors were encountered: