NOTE! This site uses cookies and similar technologies.

If you not change browser settings, you agree to it.

I understand

Welcome, Guest
Username: Password: Remember me

TOPIC: Addon to configure Raspberry Pi config.txt

Addon to configure Raspberry Pi config.txt 4 years 13 hours ago #1

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
I created an add-on for changing the settings in /flash/config.txt from the gui.

More here ls80.github.io/script.openelec.rpi.config/

Comments/suggestions are welcome.
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
Last Edit: 2 years 10 months ago by Leopold.
The administrator has disabled public write access.
The following user(s) said Thank You: LossAngeles, M3Rocket, Quihico, djkidy123, sudodevil, sparky1492, WeirdG, S2Galaxianer, Sholander, bledd and this user have 2 others thankyou

Addon to configure Raspberry Pi config.txt 4 years 13 hours ago #2

  • bircoe
  • bircoe's Avatar
  • Offline
  • Gold Boarder
  • Posts: 729
  • Thank you received: 105
  • Karma: 25
Cool, I think though you'd be better using the official overclock presets than just letting people have open slather.
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 4 years 11 hours ago #3

  • kreeturez
  • kreeturez's Avatar
  • Offline
  • Senior Boarder
  • Posts: 187
  • Thank you received: 18
  • Karma: 5
Outstanding! This is the one thing that competing RPi XBMC distributions offer that OE lacked. Until now :-)

Two suggestions: perhaps put a Warranty-Void warning next to the 'Force Turbo' setting on the OC page?

And also, could you add the ability to alter color space? It's been asked on these forums before ( openelec.tv/forum/124-raspberry-pi/67490-correct-colour-space ) and is a really simple setting (hdmi_pixel_encoding) with just 5 possible values. And running a TV that doesn't support the default-selected color space has had more than a few RPi owners falsely believing that the video output quality of the RPi is inferior to anything else (it causes washed-out/grey blacks, and clips whites :-)

Kudos on an excellent plugin.
Last Edit: 4 years 11 hours ago by kreeturez.
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 4 years 6 hours ago #4

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
bircoe wrote:
Cool, I think though you'd be better using the official overclock presets than just letting people have open slather.
Yep it already does that. The first setting is the overclock preset which can be 'Modest', 'Medium', 'High', 'Turbo', 'Custom', or 'None' (default).
Or are you saying you don't think there should be a 'Custom' option at all?
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 4 years 5 hours ago #5

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
kreeturez wrote:
Outstanding! This is the one thing that competing RPi XBMC distributions offer that OE lacked. Until now :-)
Thanks.

Two suggestions: perhaps put a Warranty-Void warning next to the 'Force Turbo' setting on the OC page?
A warranty warning dialog pops up when you turn on force_turbo with overvolting > 0.

And also, could you add the ability to alter color space? It's been asked on these forums before ( openelec.tv/forum/124-raspberry-pi/67490-correct-colour-space ) and is a really simple setting (hdmi_pixel_encoding) with just 5 possible values. And running a TV that doesn't support the default-selected color space has had more than a few RPi owners falsely believing that the video output quality of the RPi is inferior to anything else (it causes washed-out/grey blacks, and clips whites :-)
Added in 0.10.0, should be available now. Thanks for pointing it out, I hadn't heard about that one.
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
Last Edit: 3 years 10 months ago by Leopold.
The administrator has disabled public write access.
The following user(s) said Thank You: kreeturez

Addon to configure Raspberry Pi config.txt 4 years 4 hours ago #6

  • klojum
  • klojum's Avatar
Perhaps you can enable the "Custom" option only, when the Settings Level in the Gotham XBMC GUI is set to 'Expert'?
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 11 months ago #7

  • popcornmix
  • popcornmix's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1252
  • Thank you received: 278
  • Karma: 76
Nice.
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 11 months ago #8

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
klojum wrote:
Perhaps you can enable the "Custom" option only, when the Settings Level in the Gotham XBMC GUI is set to 'Expert'?

I don't think this is currently possible with the Python API but it would be nice to have something like that. Setting descriptions for Python add-ons would also be nice.
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 11 months ago #9

  • Hieronymus
  • Hieronymus's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
nice script

How can I enter negative values?
e.g. for overscan_left, overscan_right, overscan_top, overscan_bottom
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 11 months ago #10

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
Hieronymus wrote:
nice script

How can I enter negative values?
e.g. for overscan_left, overscan_right, overscan_top, overscan_bottom

I don't think that's possible so you raise a good point there. I can think of two options to fix this:

1. Add a boolean subsetting to each overscan setting to make it positive or negative (could be called "Underscan" to turn values negative)
3. Change the overscan settings from a number input to a slider with a range from -i to +j. I wouldn't know what to set i and j to though, maybe -60 to +60?


EDIT: I went with changing to sliders from -60 to +60. If anyone needs to set a higher value let me know and I'll change the limits.
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
Last Edit: 3 years 11 months ago by Leopold.
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 10 months ago #11

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
0.14.0 released. This adds the hdmi_ignore_hotplug setting.
Closes #2.
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
Last Edit: 3 years 10 months ago by Leopold.
The administrator has disabled public write access.
The following user(s) said Thank You: kreeturez

Addon to configure Raspberry Pi config.txt 3 years 10 months ago #12

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
I found that settings hdmi_ignore_cec_init=1 enables the media keys for my Panasonic TV, so I've added this option in v0.15.0.
More details about this here openelec.tv/forum/124-raspberry-pi/68337-remote-xml-in-frodo-3-2-4-solved#92254
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 7 months ago #13

  • Domi1066
  • Domi1066's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
hello!.
i have "storage" on usb and "system" on usb .
the addon create a new config.txt on system usb , not on sdcard with kernel ans cmdline.txt and boot.
what can i do to do it work?
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 7 months ago #14

  • Leopold
  • Leopold's Avatar
  • Offline
  • Expert Boarder
  • Posts: 331
  • Thank you received: 93
  • Karma: 32
It looks for /flash/config.txt. Is your system partition mounted at a different path?
Leopold's Repo - zip
- OpenELEC Dev Update
- OpenELEC RPi Config

Raspberry Pi 2 Model B
The administrator has disabled public write access.

Addon to configure Raspberry Pi config.txt 3 years 7 months ago #15

  • Domi1066
  • Domi1066's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
System is mounted as flash ( usb stick with "SYSTEM" is shown as flash in openelec)
but config.txt must be on sdcard to be used at boot ( sd card witch is not shown in openelec)
Last Edit: 3 years 7 months ago by Domi1066.
The administrator has disabled public write access.