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
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa Clip/Clip+: not remembering position of "early" songs?
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa Clip/Clip+: not remembering position of "early" songs?  (Read 312 times)

Offline dudlo

  • Member
  • *
  • Posts: 1
Sansa Clip/Clip+: not remembering position of "early" songs?
« on: July 16, 2022, 08:01:20 PM »
Rockbox people (if anyone is still around),

I am a long-time Rockbox user, and I love it. Over the years I've been through 10+ mostly Sansa players (c200, Clip v1, v2, Clip+). Lately I've gone through hardware repair (re-soldering audio jacks, swapping batteries from dead players). Most of my payers died of memory failure (corrupt to the point the system fails to run) or screen failure (dark or pitch black). Buying a working player is getting harder. I've now resorted to buying dead ones, hoping is is just a battery. I still have one or two decent batteries. My latest eBay purchase of 2 dead Clip+ players resulted in one 8Gb brick (battery swap did nothing) and one beautiful red 2Gb players that works great after giving it decent battery.

My question is about the failure to remember position (automatic resume). I noticed that when the memory starts to fail, it is this functionality that is affected first. I've now observed it in some 3-4 players, and I have a (perhaps crazy) theory of why it could be happening.

I am listening to podcasts, and my file structure is like this:
- 1 (folder)
  - file1.mp3
  - file2.mp3
  - file20.mp3
- 2 (folder)
  - fileA.mp3
...

I typically store about 80 files (podcast episodes/"songs") - that's how much fits in the 2Gb capacity. Once I am done listening (about every 2 weeks), I remove all files and folders, and download a new batch in the same directory structure (directory names 1, 2, 3, 4, 5).

Everything works great with the following exception/problem: when I turn off the player while in the middle of file2.mp3 in directory 1, the playback position gets "lost". That is, on startup, it starts at the beginning of file1.mp3. It does not matter how the player shuts down (idle poweroff or direct shutdown). Once I get past the first 4-6 files in folder 1, it starts behaving normally (as expected). That is, the playback starts from the exact position of the file it stopped at shutdown.

To summarize: the playback position gets messed up for the first 4-6 "absolute" files on the device. Again, I want to emphasize that this is what I observed on 3-4 Sansa Clip/Clip+ players (all running Rockbox). Here is my crazy (or not fully thought out) theory: If the position is remembered in the same absolute memory location, it is the "early" (first in absolute term) positions that are remembered most often, and the thousands of writes/rewrites caused memory failure. I cannot explain why it is a problem only for files on top of the file structure/file list. I have not explored any workarounds - like using different directory names.

My questions:
- did anyone observed this problem?
- is my observation or explanation crazy?
- is there some workaround?
- is there some fix (like reformating or fsck)?
- is anyone still using Rockbox or this forum?

Thank you,
dudlo
Logged

Offline cela

  • Member
  • *
  • Posts: 59
Re: Sansa Clip/Clip+: not remembering position of "early" songs?
« Reply #1 on: July 17, 2022, 06:55:19 AM »
Multiboot might help with clip+ https://www.rockbox.org/wiki/MultibootBootloader
Logged
Rockboxed Daps:-
 Pinephone (RaaA), Benjie T6, Sony NWZ-E384 (dead battery), Samsung YP-R0 (the best rockbox player), Creative Zen X -Fi, Sansa clip+, Sansa Fuze+ x2 (good for rockbox games) , Creative Zen X-Fi2 , Unbranded Rk27xx Dap (I need to fix the buttons)

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 876
Re: Sansa Clip/Clip+: not remembering position of "early" songs?
« Reply #2 on: July 18, 2022, 09:05:11 AM »
multiboot will help as long as you get the bootloader installed prior to the flash going read only and boot from the SD card

It is entirely possible that the continued overwriting of the same file on the device wears out the flash
also consider rockbox does a whole lot less of this than the sansa OF did

In 2021 I committed patches that now make a copy of the configuration, and emulated NVRAM (resume info) files rather than appending
https://gerrit.rockbox.org/r/c/rockbox/+/3945

The idea here is by keeping the old file a new file gets created and this should further spread the wear across the flash device
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa Clip/Clip+: not remembering position of "early" songs?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.058 seconds with 22 queries.