Unoffical empeg BBS

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

Topic Options
#74788 - 25/02/2002 11:19 Clock not kept on Mark2a
Elite M3
member

Registered: 15/09/1999
Posts: 101
Loc: Sunnyvale, CA, USA
I set the clock on my Mark2a an when switching to that visualization, the clock was not kept right. Does the clock only work when powered on? Doesn't the Mark2a have an internal battery to keep the clock current?

Please let me know if this is just a bug in the 2.0 Beta11 software.

Thanks,

Jason Sarich

Top
#74789 - 25/02/2002 11:32 Re: Clock not kept on Mark2a [Re: Elite M3]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Make sure to set your time zone first, then set your clock. Does the problem go away?
_________________________
Tony Fabris

Top
#74790 - 25/02/2002 11:36 Re: Clock not kept on Mark2a [Re: Elite M3]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Check this thread. You supercap may be dead or dying.

if you're adventurous, you could test it yourself with a multimeter. Here is a picture of the cap.

As Hugo said:

"check the voltage between the top of the cap and the bottom of it (the other pin is just visible on the other side of the cap). It should be around 3.5v-ish. If it's dead, it'll read <0.5v when the empeg is not powered."

BUT, do what Tony said and make sure it's not software.
_________________________
|| loren ||

Top
#74791 - 25/02/2002 13:44 Re: Clock not kept on Mark2a [Re: loren]
Neo_to_Rio
journeyman

Registered: 02/01/2002
Posts: 57
Loc: Silicon Valley
Any idea how long the cap will keep the clock running after 12V power to the Empeg is removed?

Top
#74792 - 25/02/2002 13:53 Re: Clock not kept on Mark2a [Re: Neo_to_Rio]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
The clock is supposed to last several days without power.
_________________________
Tony Fabris

Top
#74793 - 25/02/2002 14:12 Re: Clock not kept on Mark2a [Re: tfabris]
Neo_to_Rio
journeyman

Registered: 02/01/2002
Posts: 57
Loc: Silicon Valley
Thanks Tony

So it's closer to the 1 hour of a typical VCR than the >1 year of a typical watch.

Barry

Top
#74794 - 25/02/2002 22:08 Re: Clock not kept on Mark2a [Re: tfabris]
oakley
stranger

Registered: 30/03/2000
Posts: 37
Loc: Seattle, WA USA
Tony,

When you say "without power" does that mean with the unit sitting on my floor? Or does a "car off" situation count as "without power"?

I think my clock is constantly off with 2.0b11 in my 95 M3, but I never bothered to re-set it.. I just know it hasn't gone more than a few hours without power, and it seems to always change how much it's off by.

- reid

Top
#74795 - 25/02/2002 23:09 Re: Clock not kept on Mark2a [Re: oakley]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Or does a "car off" situation count as "without power"?

Good question. It drops out of standby after a few minutes... If you left the player in the car for a week, in complete-power-off-mode would the cap still charge from the constant power wire? I don't know.

Hugo?
_________________________
Tony Fabris

Top
#74796 - 25/02/2002 23:45 Re: Clock not kept on Mark2a [Re: tfabris]
msaeger
carpal tunnel

Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
I wonder why they didn't just use a battery ?
_________________________

Matt

Top
#74797 - 25/02/2002 23:48 Re: Clock not kept on Mark2a [Re: msaeger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I wonder why they didn't just use a battery ?

Because batteries have to be replaced, requiring opening the player. And for the most common usage of the player, the capacitor should be more than plenty.

Keep in mind that if your player's clock isn't keeping time, there's a malfunction. It's got nothing to do with their basic design decisions. Personally, I'm glad there's no battery inside my player that I have to worry about.
_________________________
Tony Fabris

Top
#74798 - 26/02/2002 02:31 Re: Clock not kept on Mark2a [Re: tfabris]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
The RTC battey gets recharged in "car off but permanent 12v still supplied" situation, so that should last indefinitely... in theory!

Hugo

Top
#74799 - 26/02/2002 07:59 Re: Clock not kept on Mark2a [Re: altman]
Anonymous
Unregistered


or until the car battery dies.

Top
#74800 - 26/02/2002 09:45 Re: Clock not kept on Mark2a [Re: altman]
ellweber
member

Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
Hugo,

Has anyone else seen the case where the displayed time falls 20 minutes behind the RTC, typically overnight while the Empeg is on. A power cycle will recover the displayed time to the correct RTC time. This has happened to my Mk2a three or four times over the last month (most recently last night!) for no apparent reason.

Also should I expect to be able to set the time zone to something other than US-Alaska? Changes to the time zone parameter don't seem to be saved.

I am currently running beta 11 and Hijack though this has been the case with prior versions of the software.

Thanks,

Lynn

Top
#74801 - 26/02/2002 09:49 Re: Clock not kept on Mark2a [Re: ]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
It's a very low drain, under 5mA I believe. 0mA drain if you take it out of the car

Hugo

Top
#74802 - 26/02/2002 09:51 Re: Clock not kept on Mark2a [Re: ellweber]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Hmm, it may well not sync up - possibly we need to resync every now & then. Sounds like the linux timer isn't being very accurate, though 20 minutes overnight seems pretty extreme!

Hugo

Top
#74803 - 26/02/2002 10:06 Re: Clock not kept on Mark2a [Re: altman]
ellweber
member

Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
It has been 20 minutes each time (one minute resolution) so an occasional resync seems like a simple solution. I see it more as a step error of lost time than a timer accuracy issue. The sample is too small to be sure but most of the time it is right on then occasionally I will find it off by this same amount.

I don't think I would ever have seen it if I hadn't left the Empeg running overnight.

Any comments on the time zone question?

Lynn

Top
#74804 - 26/02/2002 10:18 Re: Clock not kept on Mark2a [Re: ellweber]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
I see it more as a step error of lost time than a timer accuracy issue. The sample is too small to be sure but most of the time it is right on then occasionally I will find it off by this same amount.

That is really quite interesting, especially as, if the system timer ever stops for twenty minutes, or lurches backwards, not only will input stop working, but also transient info's scroll timer will fail... Hmm...

Peter

Top
#74805 - 26/02/2002 10:20 Re: Clock not kept on Mark2a [Re: peter]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
So are we to infer that clock drift could be causing the random lockups we might have been seeing recently?
_________________________
- Tony C
my empeg stuff

Top
#74806 - 26/02/2002 10:22 Re: Clock not kept on Mark2a [Re: tonyc]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
So are we to infer that clock drift could be causing the random lockups we might have been seeing recently?

Clock drift won't cause lockups. Clock lurch might. Of course, any clock lurch is a bug.

Peter

Top
#74807 - 26/02/2002 10:51 Re: Clock not kept on Mark2a [Re: peter]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Ah, okay... Well I'm glad we at least have a *possible* root cause for the lockups. I don't really keep track of or use my clock, so mine could be lurching around this way or that and I wouldn't notice. Since the lockups were never happening in 1.03, can you think of any clock-related changes that might have happened since then?
_________________________
- Tony C
my empeg stuff

Top
#74808 - 26/02/2002 11:51 Re: Clock not kept on Mark2a [Re: peter]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
Clock lurch and input lockups and a stopped transient scroller could all have a common cause. Perhaps interrupts are being masked and not being correctly unmasked somewhere under certain conditions? Or the player is waiting for a short-term event with interrupts masked and the event occasionally actually takes 20 minutes to happen? (I'm thinking of things like off-chip communication here.)
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#74809 - 26/02/2002 12:31 Re: Clock not kept on Mark2a [Re: tms13]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
As I understand it, having asked Peter exactly the same question, if interrupts were masked, then sound output wouldn't get serviced. In most of these lockups, it is.

_________________________
-- roger

Top
#74810 - 26/02/2002 12:56 Re: Clock not kept on Mark2a [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Roger, have you seen this thread about my lockup experience yet?
_________________________
Tony Fabris

Top
#74811 - 26/02/2002 15:28 Re: Clock not kept on Mark2a [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Yes.
_________________________
-- roger

Top
#74812 - 27/02/2002 07:09 Re: Clock not kept on Mark2a [Re: Roger]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
In reply to:

if interrupts were masked, then sound output wouldn't get serviced



Yes - I realised this as soon as I logged off yesterday .

I guess we need to establish whether the system clock is actually stopping during the lockup (see thread in Technical that suggests using Hijack to get output when player is locked up).

Does the player application get system time regularly, or does it get it once then do its own timekeeping? I ask because if it's the latter, then it's obvious that the UI thread is blocked on something; if the former, then there's something odd going on in the kernel.
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#74813 - 27/02/2002 08:49 Re: Clock not kept on Mark2a [Re: tms13]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
If the linux system ticker stops, a lot goes wrong - I seem to remember, anyway. Any timed/regular calls stop within kernel, which is a bad thing. Oh, and processes can't schedule themselves unless something else blocks.

I don't think the system ticker is stopping, for that very reason.

Hugo

Top