rtc on PowerMac7,3

5 messages, 2 authors, 2011-02-24 · open the first message on its own page

rtc on PowerMac7,3

From: kevin diggs <hidden>
Date: 2011-02-23 19:39:40

Hi,

Sorry for the noise.

How do I access the rtc on a PowerMac7,3 (dual 2.5 GHz 970FX) using
2.6.36? rtc-generic does not seem to work. It will work on my 8600. I
do see this:

[   15.014542] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0

Is it the hwclock binary:

hwclock from util-linux-2.13-pre7

I think I could get this to work in 2.6.28 using rtc-ppc.

Thanks!

kevin

Re: rtc on PowerMac7,3

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2011-02-23 19:42:21

On Wed, 2011-02-23 at 13:39 -0600, kevin diggs wrote:
Hi,

Sorry for the noise.

How do I access the rtc on a PowerMac7,3 (dual 2.5 GHz 970FX) using
2.6.36? rtc-generic does not seem to work. It will work on my 8600. I
do see this:

[   15.014542] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
rtc-generic should work... 

Cheers,
Ben.
Is it the hwclock binary:

hwclock from util-linux-2.13-pre7

I think I could get this to work in 2.6.28 using rtc-ppc.

Thanks!

kevin
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: rtc on PowerMac7,3

From: kevin diggs <hidden>
Date: 2011-02-23 23:24:31

On Wed, Feb 23, 2011 at 1:42 PM, Benjamin Herrenschmidt
[off-list ref] wrote:
quoted
[ =A0 15.014542] rtc-generic rtc-generic: rtc core: registered rtc-gener=
ic as rtc0
rtc-generic should work...

Cheers,
Ben.
It probably does on everyone else's 7,3. The 8600 probably infected
it. ... I hear the two of them out there late at night. Mumbling to
each other ... plotting ...

kevin

Re: rtc on PowerMac7,3

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2011-02-24 00:10:01

On Wed, 2011-02-23 at 17:24 -0600, kevin diggs wrote:
It probably does on everyone else's 7,3. The 8600 probably infected
it. ... I hear the two of them out there late at night. Mumbling to
each other ... plotting ...
Not sure, I haven't looked at that RTC stuff for ages. Basically the
platform code provides generic RTC hooks (in that G5 it's going to be
via the via-pmu) and it should "just work". That code hasn't been
touched for eons.

Cheers,
Ben.

Re: rtc on PowerMac7,3

From: kevin diggs <hidden>
Date: 2011-02-24 18:52:03

Hi,

Thanks for taking some of your valuable time to reply.

Now I can't get it to fail. I don't know what I did wrong??? These
things are tryin' to push me over the edge!

Part of the problem may be the /dev/rtc (10:135 or whatever the PC
numbers are) PC device that gets put into /dev/ (udev) on YDL 6.0.
Should probably figure out who is adding it and nuke it.

Sorry for the noise!?!

kevin

On Wed, Feb 23, 2011 at 6:09 PM, Benjamin Herrenschmidt
[off-list ref] wrote:
Not sure, I haven't looked at that RTC stuff for ages. Basically the
platform code provides generic RTC hooks (in that G5 it's going to be
via the via-pmu) and it should "just work". That code hasn't been
touched for eons.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help