Re: rtc on PowerMac7,3

2011-02-24 Thread kevin diggs
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
b...@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.

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


rtc on PowerMac7,3

2011-02-23 Thread kevin diggs
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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: rtc on PowerMac7,3

2011-02-23 Thread Benjamin Herrenschmidt
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


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


Re: rtc on PowerMac7,3

2011-02-23 Thread kevin diggs
On Wed, Feb 23, 2011 at 1:42 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
 [   15.014542] rtc-generic rtc-generic: rtc core: registered rtc-generic 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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: rtc on PowerMac7,3

2011-02-23 Thread Benjamin Herrenschmidt
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.


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