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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  How can I save my ROCKbox settings on exit?
« previous next »
  • Print
Pages: 1 [2]

Author Topic: How can I save my ROCKbox settings on exit?  (Read 5560 times)

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: How can I save my ROCKbox settings on exit?
« Reply #15 on: October 30, 2007, 01:45:15 PM »
Quote from: Chronon on October 30, 2007, 01:28:58 PM
DAP = Digital Audio Player.  I don't think what model of DAP you are using will matter much.  I was just curious.

You might try clearing your settings and then seeing if this behavior changes.

Oh, and please use the "Modify" button rather than double post.   :)

I tried clearing settings. Still no dice. Since I'm not seeing any signs of a "saving settings" splash screen on exit, is there any way to verify whether it's actually saving the settings on exit?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: How can I save my ROCKbox settings on exit?
« Reply #16 on: October 30, 2007, 01:58:39 PM »
Many targets have a USB mode stored in flash that can be accessed in various ways.  On my gigabeat I can attach a USB cable and power on and it will enter a bootloader USB mode.  On iPods you hold Select + Play during boot.  This is where your actions will depend on the DAP you use.  

You can try saving some new settings -- both theme related and non-theme related.  Then turn off your player and initiate a USB session without booting into Rockbox (I believe this is possible on most targets).  Then you can check the contents of the config.cfg file on a PC and see if the settings were saved or not.  
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: How can I save my ROCKbox settings on exit?
« Reply #17 on: October 30, 2007, 02:04:15 PM »
I'd rather be interested what settings exactly aren't saved -- the config file you posted looks fine, and I don't see a reason why it shouldn't load. Does it make a difference if you select "reset settings" after bootup? I.e., are the settings after bootup the default settings? Or does your issue only affect the theme?
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: How can I save my ROCKbox settings on exit?
« Reply #18 on: October 30, 2007, 02:09:31 PM »
Two questions:

1) For how long do you hold the "power" button? If you hold it too long (about 15 seconds) the hard power off kicks in and the player won't be able to save settings.

2) Even though the posted config.cfg showed the right paths but are you sure that the theme you are selecting is installed correctly, meaning the wps-file is in ".rockbox/wps", the theme's cfg-file is in ".rockbox/themes" and so on? Only then this setting will be remembered across reboots.
Logged

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: How can I save my ROCKbox settings on exit?
« Reply #19 on: October 30, 2007, 02:53:56 PM »
The paths are all correct for my theme's .cfg and wps files. The settings that aren't saved are any and all settings I change after the rockbox default load. I tried "reset settings" after bootup and it clears everything but after I make the new settings, when I reboot it still goes back to the rockbox default settings. I then tried going into the Sansa's firmware to see if it saves my last settings on reboot and yes it does. The problem is only in the rockbox firmware apparently.

UPDATE:

Still no luck. I'm still not getting my settings saved on exit. It does, however, save the "resume playback" position, but not any of the settings, nor the chosen theme. Anyone with anymore clues, I'd appreciate any input. Thanks.

« Last Edit: October 30, 2007, 08:50:29 PM by cocopugg »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: How can I save my ROCKbox settings on exit?
« Reply #20 on: October 31, 2007, 05:32:40 AM »
Right, let's approach this in a slightly more methodical way...

  • Reset your settings - Settings > Manage Settings > Reset settings
  • Shutdown using a long press of power - confirm 'Shutting Down...' splash screen
  • Restart - should remain on default settings
  • Change the File View Settings to 'All' - Settings > General Settings > File View > Show Files > All
  • Return to Main Menu and navigate to the config.cfg file - Files > .rockbox
  • Scroll down to the config.cfg file and open in the Text Viewer - Context Menu Button > Open With... > viewer
  • The config file should be essentially empty (as Rockbox only writes non-default values to config.cfg), containing only the header info (# .cfg file created by rockbox r15351-071028 - http://www.rockbox.org)
  • Shutdown using a long press of power - confirm 'Shutting Down...' splash screen - the single settings change you've made should now be saved to the file
  • Restart and navigate to the config.cfg file and open in the Text Viewer as before
  • The config file should now contain the one saved setting - show files: all

Post any findings you have here.
If all the above works as described then your problem would seem very much to be theme-related
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: How can I save my ROCKbox settings on exit?
« Reply #21 on: October 31, 2007, 09:05:27 AM »
bascule, thanks for your help. I did everything as you requested, but it didn't save the .cfg file. When I reboot, none of the settings are saved, so I have to reset the show all files option to see the .cfg file, and it's empty. It's like the Sansa isn't writing the new info, yet it saves the resume playback position, so it's apparently wrting something, no?
« Last Edit: October 31, 2007, 09:11:30 AM by cocopugg »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: How can I save my ROCKbox settings on exit?
« Reply #22 on: October 31, 2007, 09:56:10 AM »
OK, so it's a problem with writing the config file. The resume position is not saved to the config file.
You could try updating your build to the very latest version (as is required by the posting guidelines), although I don't see any recent commits in any way related to your specific problem, but sometimes just updating fixes a problem by magic!

The other option is to try to manually save a config file (config01.cfg, config02.cfg etc), then rename it to config.cfg (deleting your existing one if necessary) and see if that fixes the problem.

The final thing, potentially, is a damaged filesystem. Do a forum search for 'chkdsk'.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline cocopugg

  • Member
  • *
  • Posts: 55
Re: How can I save my ROCKbox settings on exit?
« Reply #23 on: October 31, 2007, 10:56:43 AM »
Quote from: bascule on October 31, 2007, 09:56:10 AM
OK, so it's a problem with writing the config file. The resume position is not saved to the config file.
You could try updating your build to the very latest version (as is required by the posting guidelines), although I don't see any recent commits in any way related to your specific problem, but sometimes just updating fixes a problem by magic!

The other option is to try to manually save a config file (config01.cfg, config02.cfg etc), then rename it to config.cfg (deleting your existing one if necessary) and see if that fixes the problem.

The final thing, potentially, is a damaged filesystem. Do a forum search for 'chkdsk'.

Bingo! The current build update did it! Now that I've got it working right, I don't plan to update to anymore current builds unless a real bug pops up. If it isn't broke, don't fix it right? Thanks for all your help everyone, ROCKbox rules!
Logged

Offline cc

  • Member
  • *
  • Posts: 51
Re: How can I save my ROCKbox settings on exit?
« Reply #24 on: October 31, 2007, 01:51:23 PM »

Even if everything appears OK at the moment, I would still to the chkdsk thing bascule suggested. The only time my sansa started doing inexplicable things it turned out to be a corrupt file system.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  How can I save my ROCKbox settings on exit?
 

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

Page created in 0.106 seconds with 16 queries.