User avatar
KV4LQ
Posts: 26
Joined: Thu Feb 12, 2015 4:32 pm
Location: Alabaster, AL, USA

Force Pi/Pi2 to reload config.txt without reboot

Mon Jun 29, 2015 7:47 pm

Does anyone know if it is possible to force the Pi/Pi2 to reload config.txt and apply those settings without rebooting?

If there is an easier way to rotate the screen output without rebooting, I'm open to that, but I would rather have the ability to reload the whole config.txt so I can change overclock, overscan, and resolution while running.
"What if soy milk is just regular milk introducing itself in spanish?"
Daniel Smith, KV4LQ

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Force Pi/Pi2 to reload config.txt without reboot

Mon Jun 29, 2015 8:28 pm

KV4LQ wrote:Does anyone know if it is possible to force the Pi/Pi2 to reload config.txt and apply those settings without rebooting?
It's not possible. Config.txt is the configuration for the GPU which is alive and running before the ARM processor gets booted.

The only interface we've got for the GPU is the tvservice command and it doesn't have any override for screen rotation.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Force Pi/Pi2 to reload config.txt without reboot

Tue Jun 30, 2015 7:03 am

You can use a combination of tvservice and fbset/xrefresh to change the resolution while running. There is also a program somewhere here (I'll look for it in a minuet*) that can get and set the overscan values.

I don't think there is a way to change the overclock while running - yet...

*Finished dancing now :lol:

Here's something for the overscan https://github.com/ukscone/set_overscan ... verscan.sh

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Force Pi/Pi2 to reload config.txt without reboot

Tue Jun 30, 2015 11:18 am

rpdom wrote:Here's something for the overscan https://github.com/ukscone/set_overscan ... verscan.sh
I think popcornmix's fork is the one to use now ... https://github.com/popcornmix/set_overscan

User avatar
rpdom
Posts: 17174
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Force Pi/Pi2 to reload config.txt without reboot

Tue Jun 30, 2015 12:35 pm

AndyD wrote:I think popcornmix's fork is the one to use now ... https://github.com/popcornmix/set_overscan
Thanks, I'll take a look at that one :)

User avatar
KV4LQ
Posts: 26
Joined: Thu Feb 12, 2015 4:32 pm
Location: Alabaster, AL, USA

Re: Force Pi/Pi2 to reload config.txt without reboot

Tue Jun 30, 2015 8:46 pm

OK, but is there any way to change the screen rotation? That's my main goal...
"What if soy milk is just regular milk introducing itself in spanish?"
Daniel Smith, KV4LQ

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Force Pi/Pi2 to reload config.txt without reboot

Tue Jun 30, 2015 9:03 pm

KV4LQ wrote:OK, but is there any way to change the screen rotation? That's my main goal...
NO. Not without a reboot.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
KV4LQ
Posts: 26
Joined: Thu Feb 12, 2015 4:32 pm
Location: Alabaster, AL, USA

Re: Force Pi/Pi2 to reload config.txt without reboot

Tue Jun 30, 2015 9:04 pm

DougieLawson wrote:
KV4LQ wrote:OK, but is there any way to change the screen rotation? That's my main goal...
NO. Not without a reboot.

Thanks for the quick and easy answer.
"What if soy milk is just regular milk introducing itself in spanish?"
Daniel Smith, KV4LQ

Return to “Advanced users”