FS#9851 - settings not saved when disk is not spinning

Attached to Project: Rockbox
Opened by Klaus Wildhirt (klawit) - Friday, 30 January 2009, 07:52 GMT
Last edited by Andree Buschmann (Buschel) - Friday, 21 October 2011, 12:30 GMT
Task Type Bugs
Category Settings
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity Low
Priority Normal
Reported Version Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Rockbox seems not to save settings when there is no disk spinup between changing and shutting down. I realized this is true for Rockbox 3.1 since current build r19559.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Friday, 21 October 2011, 12:30 GMT
Reason for closing:  Works For Me
Additional comments about closing:  Works for me.
Comment by Jonathan Gordon (jdgordon) - Friday, 30 January 2009, 08:20 GMT
how are you shutting down? it *should* force a write if something changes...
Comment by Klaus Wildhirt (klawit) - Friday, 30 January 2009, 21:23 GMT
Well, I push the stop button for a couple of seconds. Then a message "shutting down" (I use german language settings, text might be different) appears and the unit goes off some seconds later but the red HD light will not illuminate.
Comment by Peter D'Hoye (petur) - Sunday, 01 February 2009, 14:36 GMT
strange, rockbox flush save any pending writes at the next spinup or shutdown... so you do not hear the disk spinup at all? Which settings did you change?
Comment by Jonathan Gordon (jdgordon) - Monday, 02 February 2009, 09:09 GMT
also *how* did you change the setting?
Comment by Olivier Borowski (olivier) - Monday, 02 February 2009, 12:51 GMT
I have the same problem with my Iriver H340 using rockbox 3.1 and build 19868.
When I shut it down and start it again, the playlist position is often (always ?) lost.
It didn't occur in rockbox 3.0 (if I remember correctly)
Comment by Klaus Wildhirt (klawit) - Tuesday, 10 February 2009, 16:23 GMT
I didn't change much. In fact I deleted .rockbox and reinstalled to be shure there is no prob with an old config.
There is no spinning. Maybe there is a problem how CF cards are implemented as they don't like to be suspended (set asleep). I didn't change anything except

- database was initialized
- load database to RAM
- directory cache set to on

Shutting down takes quite much time (up to 6-8 sec.) even if nothing is flushed to disk.
Comment by Boris Gjenero (dreamlayers) - Saturday, 21 February 2009, 00:59 GMT
I think settings *are* saved. The problem is that the playback position is not saved and/or resumed properly.
Comment by Boris Gjenero (dreamlayers) - Saturday, 21 February 2009, 07:20 GMT
Actually, playback position saving and resuming works. I remember resuming to 0:00 several times recently, but that was because I was playing ALAC and resume doesn't seem to be supported on that format. Another file I tried is a FLAC which starts with some silence, and the bitrate of that part is so low that Rockbox thinks an offset there is less than PCM latency.
Comment by Jonathan Gordon (jdgordon) - Thursday, 16 September 2010, 13:38 GMT
is this still a bug ?