* rtc on PowerMac7,3
@ 2011-02-23 19:39 kevin diggs
2011-02-23 19:42 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 5+ messages in thread
From: kevin diggs @ 2011-02-23 19:39 UTC (permalink / raw)
To: Linux PPC Development
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rtc on PowerMac7,3
2011-02-23 19:39 rtc on PowerMac7,3 kevin diggs
@ 2011-02-23 19:42 ` Benjamin Herrenschmidt
2011-02-23 23:24 ` kevin diggs
0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2011-02-23 19:42 UTC (permalink / raw)
To: kevin diggs; +Cc: Linux PPC Development
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rtc on PowerMac7,3
2011-02-23 19:42 ` Benjamin Herrenschmidt
@ 2011-02-23 23:24 ` kevin diggs
2011-02-24 0:09 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 5+ messages in thread
From: kevin diggs @ 2011-02-23 23:24 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Linux PPC Development
On Wed, Feb 23, 2011 at 1:42 PM, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
>> [ =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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rtc on PowerMac7,3
2011-02-23 23:24 ` kevin diggs
@ 2011-02-24 0:09 ` Benjamin Herrenschmidt
2011-02-24 18:52 ` kevin diggs
0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2011-02-24 0:09 UTC (permalink / raw)
To: kevin diggs; +Cc: Linux PPC Development
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: rtc on PowerMac7,3
2011-02-24 0:09 ` Benjamin Herrenschmidt
@ 2011-02-24 18:52 ` kevin diggs
0 siblings, 0 replies; 5+ messages in thread
From: kevin diggs @ 2011-02-24 18:52 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Linux PPC Development
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
<benh@kernel.crashing.org> 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.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-24 18:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23 19:39 rtc on PowerMac7,3 kevin diggs
2011-02-23 19:42 ` Benjamin Herrenschmidt
2011-02-23 23:24 ` kevin diggs
2011-02-24 0:09 ` Benjamin Herrenschmidt
2011-02-24 18:52 ` kevin diggs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).