Skip to content

Instantly share code, notes, and snippets.

@corgan2222
Last active December 2, 2019 12:20
Show Gist options
  • Save corgan2222/4af711f9e7032b72ca8e7c84b1f6cdbf to your computer and use it in GitHub Desktop.
Save corgan2222/4af711f9e7032b72ca8e7c84b1f6cdbf to your computer and use it in GitHub Desktop.
libreelec.tv/config.txt
https://wiki.libreelec.tv/config.txt
mount -o remount,rw /flash
nano /flash/config.txt
mount -o remount,ro /flash
Adding Device Tree Overlays
The current supported DTB's can be found in /flash/overlays. These can be set by using any of the following overlays
audio interfaces
dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
dtoverlay=hifiberry-digi
dtoverlay=hifiberry-amp
dtoverlay=iqaudio-dac
dtoverlay=iqaudio-dacplus
#IR receiver
dtoverlay=gpio-ir
#override the defaults for the gpio-ir module (example):
dtoverlay=gpio-ir,gpio_pin=25,gpio_pull=up,rc-map-name=rc-technisat-usb2
#optional hardware interfaces
dtparam=i2c_arm=on
#Enables I2C on GPIO pins.
dtparam=i2s=on
#Enables I2S audio hardware.
dtparam=spi=on
#Enables SPI driver.
dtoverlay=xxx
USB Power
max_usb_current
Together with the raspberry PI B+ a new config.txt setting was introduced.
max_usb_current=1
when adding this line the USB power manager will change its output current limit (for all 4 USB ports combined) from 600mA to double that, 1200mA.
max_usb_current=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment