Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#70745 - 13/02/2002 06:45 Automatically setting Clock on Rio Car (HiJack feature?)
Fastrack
member

Registered: 29/10/2001
Posts: 137
Loc: Toronto, Ontario Canada
I noticed that over time the clock on my Mk2a actually gains time!

Not sure if this would be a Hijack feature or if it's even possible. But could we send a command via HiJack Http or Ftp to set the system time on the player?

_________________________
Ben Rio Car 10GB + 60GB Toshiba ([green]Green[/green]) - Serial # 30102833

Top
#70746 - 13/02/2002 07:29 Re: Automatically setting Clock on Rio Car (HiJack feature?) [Re: Fastrack]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
or better yet, port over an NTS client..

Top
#70747 - 13/02/2002 08:04 Re: Automatically setting Clock on Rio Car [Re: Fastrack]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
I was going to ask if someone out there has the ability to write a user-mode program that could be launched from Hijack, that could read the secondary RDS feed and update the clock. I'd do it myself, but I don't have access for debugging etc. when the tuner is present (i.e. in the car).

On a related note, has anyone built a binary of ntpdate for empeg? The debian binary depends on libraries we don't have by default, and I don't plan to have the entire distro on my player...
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#70748 - 13/02/2002 10:12 Re: Automatically setting Clock on Rio Car [Re: tms13]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
One possible port-target is Chrony as it has the ability to determine how far off the RTC gets and adjust it even if there is no NTP server available.

Top
#70749 - 13/02/2002 11:01 Re: Automatically setting Clock on Rio Car (HiJack feature?) [Re: Fastrack]
ellweber
member

Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
Of course, the best possible source for accurate time data would be an attached GPS receiver! Sub millisecond data is redily available, discounting data comm delays.

Lynn

Top
#70750 - 13/02/2002 11:35 Re: Automatically setting Clock on Rio Car [Re: Yang]
Fastrack
member

Registered: 29/10/2001
Posts: 137
Loc: Toronto, Ontario Canada
Well isn't there a simple command which could be run on the rio by HiJack to update the time?

for example:

http://myempeg/?time=23:00:00

When I connect the empeg to my computer using the Empeg Control program I'm writting it could automatically update the time with my Windows system clock. Which is up-to-date

Is there such a command?
_________________________
Ben Rio Car 10GB + 60GB Toshiba ([green]Green[/green]) - Serial # 30102833

Top
#70751 - 13/02/2002 12:23 Re: Automatically setting Clock on Rio Car [Re: Fastrack]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Browsing the /bin directory of the player, no, doesn't look like there is such a command (date for instance)... Unless you can/could get at the clock through some funky /proc or /dev entry...

/Michael
_________________________
/Michael

Top
#70752 - 13/02/2002 17:03 Re: Automatically setting Clock on Rio Car [Re: mtempsch]
jimhogan
carpal tunnel

Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
I snagged this debian ARM date binary (attached) from somewhere and it worked on my Mk2a.


Attachments
69039-date (185 downloads)

_________________________
Jim


'Tis the exceptional fellow who lies awake at night thinking of his successes.

Top