Rockbox mail archive
Subject: Re: iRiver time & Date
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
Received on Mon Nov 21 08:44:45 2005
Page was last modified "Jan 10 2012" The Rockbox Crew