Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Config.cfg Persistent Settings?
« previous next »
  • Print
Pages: [1]

Author Topic: Config.cfg Persistent Settings?  (Read 1946 times)

Offline vak01

  • Member
  • *
  • Posts: 12
Config.cfg Persistent Settings?
« on: February 15, 2007, 10:37:46 AM »
Just joined so maybe asking redundant questions eventhough I did search the wiki and fourms for answers.

I recall a few builds ago that if you placed ~ in front of something in the config.cfg file, the setting would be "persistent", i.e. that no matter what setting you left the device in, the value in the config.cfg would survive the shutdown/startup sequence.

I may have been in error but if not, where is the ~ placed? In front of the variable, for example in front of Volume: or in front of the specific value like -40db?

Thanks for your help in advance.
Logged
Gigabeat F60 - Rockboxed!

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Config.cfg Persistent Settings?
« Reply #1 on: February 15, 2007, 10:41:20 AM »
Unfortunately, you picked up on something that was only present for a couple of days :(

It has been superceded by using a separate file - fixed.cfg

Just put the config lines you want to be loaded at startup in the file and put it in the .rockbox folder and it will do just what you want...

Mine just contains

volume: -35
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline vak01

  • Member
  • *
  • Posts: 12
Re: Config.cfg Persistent Settings?
« Reply #2 on: February 15, 2007, 11:01:37 AM »
Wow, that was fast! Thanks. I'll try that. I know that I'm going to be asking a port-specific question and if that's inappropriate kill this as necessary but:

The Toshiba Gigabeat side led lighting fix seems to be lost between power cycles. Is this a setting that can be "persistent-ized" by using this fix file?

Again, thanks for the comments and help AND speed in reply!
Logged
Gigabeat F60 - Rockboxed!

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Config.cfg Persistent Settings?
« Reply #3 on: February 15, 2007, 02:14:04 PM »
I don't know.

But if it's a patch (or a patched build), then probably not...

You can always just try it.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Config.cfg Persistent Settings?
« Reply #4 on: February 15, 2007, 03:20:54 PM »
Firstly, it wasn't even 'a couple days' on the ~ thing. It was more or less one day. I think it made it into one daily build, and that was it. :)

As for the side LEDs in the Gigabeat, the option for them is in the 'Debug' menu. Nothing there should be saved at this time. I'm not sure why they put it there, but that's why it doesn't get saved.
Logged

Offline vak01

  • Member
  • *
  • Posts: 12
Re: Config.cfg Persistent Settings?
« Reply #5 on: February 15, 2007, 04:58:35 PM »
Thank you for your information. I would love to help in this effort but my skills in the programming arena are VERY limited. I can offer some very limited reports on some functionality as I run across them. For example, here is a "report" I left in the www.mygigabeat.com Rockbox forum related to the LED functions.

Thank you for what you folks are doing.

+++++++++++++++++++++++++++++++++++++++++++++++++++++
Gigabeat F60 w/Rockbox build 20070215

Updated to Rockbox build for 20070215. Tested led functionality. LCD (Backlight?) goes off.

Note: Using build 20070214 LED functioned as expected and LCD did not extinguish.

Steps to Reproduce: Enter menu>info>debug (Keep Out!)>Button Light Modes. Press "up" on cross.

Observation: LCD immediately deluminates (Backlight goes out?) and side button LED illuminate.

Workaround: Hold Power button until Gigabeat turns off then turn on Gigabeat. LEDs do not light (as expected) but LCD is functioning as expected.

2007-02-15
Logged
Gigabeat F60 - Rockboxed!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Config.cfg Persistent Settings?
« Reply #6 on: February 15, 2007, 05:01:51 PM »
Things in the Debug Menu aren't for normal use...
Logged

Offline vak01

  • Member
  • *
  • Posts: 12
Re: Config.cfg Persistent Settings?
« Reply #7 on: February 15, 2007, 08:12:08 PM »
OK, understood.
Logged
Gigabeat F60 - Rockboxed!

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Config.cfg Persistent Settings?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.074 seconds with 14 queries.