Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: cybergreen on August 05, 2008, 06:52:53 PM

Title: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 05, 2008, 06:52:53 PM
I'm not sure where to put this question, but this seemed like the best place. I've been trying to fix some broken WPS's and all of a sudden, it starts defaulting back to the cabbie v2 theme everytime it restarts. Additionally, other settings reset themselves (backlight duration, for example) as well, and when trying to re-initialize the database, the HD just keeps spinning until I shut the thing down. Any ideas what happened?
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: Chronon on August 05, 2008, 07:51:43 PM
You could try clearing your settings and doing a clean shut down and boot to see if it changes anything.  Also, it's worth reporting the revision of Rockbox that you're using and noting whether or not updating your build fixes things.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 05, 2008, 07:59:18 PM
This started with build 18186 (loaded 2 days ago) and still is happening with today's build.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: Chronon on August 05, 2008, 08:20:14 PM
You didn't mention if clearing your settings helped.  A workaround until we can figure out a fix will be to save your desired settings in a .cfg file and load that each time you boot.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 05, 2008, 08:26:50 PM
Thanks. I'm waiting to see if clearing the settings worked. It held a different theme after rebooting, but I tried updating the database and it looks like it's not going to stop spinning again.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: Chronon on August 05, 2008, 08:30:43 PM
Try initializing the database instead of updating it.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 05, 2008, 08:31:43 PM
Actually, that's what I did. No dice. I shut it down and it's back to the old settings again. :'(
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: Chronon on August 05, 2008, 08:55:35 PM
So, the database finished initializing but when you rebooted the previous settings weren't saved? 

--
edit: Re-reading the thread, I now guess that it neither initialized nor saved the settings.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 05, 2008, 09:12:26 PM
Exactly. It doesn't seem to finish initializing. Just spins until I shut it down, or in this last case, it drains the battery and shuts itself off.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: Chronon on August 05, 2008, 09:20:26 PM
If you don't mess with the database at all does it save settings?  You reported previously that it remembered the theme you were using.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 05, 2008, 09:30:03 PM
No. It always goes back to the same theme (cabbie v2), even though I load various different ones (that all worked fine yesterday morning.)


Edit....I was able to do a full re-initialize (and it finished committing the database on reboot) finally. After that, the settings stayed for a couple power-downs and reboots, and then after the third reboot, it went back to the cabbie v2 theme as before and the other settings reverted back as well. Bizarre. Thoughts, anyone?
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: GodEater on August 06, 2008, 02:13:55 AM
File system problems so saving / reading the config.cfg in rockbox.cfg is having trouble would be my guess.

Run a chkdsk /f on the gigabeat, and see if that helps.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 06, 2008, 07:43:39 AM
Did it. Looks good so far. I'll post an update in about 9 hours after i've thoroughly tested it. Thanks much!


edit.... Looks like that worked. Thanks GodEater! Thanks Chronon, as well.
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: Chronon on August 07, 2008, 02:59:35 PM
Good to hear that worked.  I was about to suggest a chkdsk as well, though I hesitated since you didn't seem to be having other signs of filesystem problems.     :)
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: GodEater on August 08, 2008, 02:44:59 AM
My view is "it never hurts" :D
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: Chronon on August 08, 2008, 08:04:47 PM
Good point.   ;)
Title: Re: Gigabeat F40 defaults to same settings on startup
Post by: cybergreen on August 08, 2008, 08:11:07 PM
Well, it's still working, so I guess that was indeed it. Thanks again.