Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: Re: iRiver time & Date

Re: iRiver time & Date

From: Andreas Stemmer <groovingandi_at_gmx.de>
Date: 2005-11-21

ian douglas wrote:
> My thinking was that maybe Rockbox would be 'smart' enough to detect a
> USB connection to the PC and get the current system time from the PC and
> set the clock on the Rockbox ... and since a lot of us are savvy enough
> users to use NTP anyhow, then the clock on our units could get sync'd
> every time we plugged it in - *if* the Rockbox firmware had a means to
> get the current system time from the OS.

Well, there is a means to get the current system time (at least
approximately): have a script on pc side, which touches a file when the
player is connected to USB, so that the file access date is updated.
Rockbox could save the internal time when a USB connection is made and
by comparing the saved time with the internal time, a correction could
be made.

Andreas
Received on Mon Nov 21 08:44:45 2005


Page was last modified "Mar 9 2008" The Rockbox Crew