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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration  (Read 4998 times)

Offline lee321987

  • Member
  • *
  • Posts: 77
Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration
« on: April 15, 2008, 11:01:41 AM »
   This doesn't actually disable the refresh, but I think anyone clicking on this will want to know...
   As soon as you disconnect from your computer, press and hold down the power button to force a shut off.  It takes me about 11.5 seconds.

   Sansa c250 v1
   microSD 512 MB
   Firmware: 01.01.00P
   Rockbox version: r17111M-080415



Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline siber_cat314

  • Member
  • *
  • Posts: 41
Re: Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration
« Reply #1 on: April 16, 2008, 12:39:59 PM »
Here's an even faster way. just make all of the files in the system folder to read only. The database starts to update, finds that it cannot, and asks you to free up some disk space. Takes maybe 6-7 seconds with an SD micro.
Logged
Quote from: Zardoz
so if i scribble some nonsense and post it on a site, i reserve all rights to my scribbled nonsense?
Quote from: Llorean
If it can be described as a creative work, yes.

Offline lee321987

  • Member
  • *
  • Posts: 77
Re: Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration
« Reply #2 on: April 16, 2008, 04:49:06 PM »
   Works.  Thank you.
Logged
What are you waiting for? You're faster than this. Don't think you are... know you are. -- The Matrix

Offline jacoby

  • Member
  • *
  • Posts: 10
    • SoniqueX
Re: Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration
« Reply #3 on: April 20, 2008, 10:41:30 PM »
Does the rockbox bootloader not have a database refresh disable for the c200 series?

I have an e200, and the bootloader... well actually I'm not sure what the bootloader does, though it does say 'disabling database rebuild' anyway, as long as you don't set the language option at the initial setup on the e200 it skips the database refresh.  Might work for c200 too.

edit: obviously not the same for the c200, but these were directions for making it work on the e200, should help: http://www.anythingbutipod.com/forum/showthread.php?t=21313
« Last Edit: April 20, 2008, 11:03:57 PM by jacoby »
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration
« Reply #4 on: April 26, 2008, 04:38:16 AM »
jacoby, while the e200 and c200 are similar, they are not the same. The trick Rockbox uses to disable the database refresh on the e200s doesn't work here - at least not on most c200 original firmware versions (see this commit message for details; the developer of this gave me a patched bootloader to try on my c200 before the commit).

If I understand correctly the e200 OF sets a bit at disconnect from USB that something's changed and a database refresh is needed but only actually refreshes it at next boot. To disable this mechanism, the Rockbox bootloader can unset that bit and the e200 OF doesn't get to know that things changed. On most c200s the database refresh starts as soon as you disconnect from USB, there's no chance for the Rockbox bootloader to interrupt this process.

P.S.: For some reason I started to believe (something I read?) that later c200 firmware versions handle these things more like the e200 original firmware. Does someone know more?
« Last Edit: April 26, 2008, 04:42:51 AM by pixelma »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa c200 - OF Database Refresh (when disconnecting): Greatly cut duration
 

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

Page created in 0.028 seconds with 16 queries.