Re: RTC on 2.6.36 for PowerMac 8600

2012-01-31 Thread Benjamin Herrenschmidt
On Sat, 2012-01-28 at 21:08 -0600, kevin diggs wrote: Hi, What will give me access to the RTC hardware on an old PowerMac 8600? I modload rtc-generic. /proc/devices has: should work with rtc generic, not sure what's up. You can check with printk ... rtc_generic should call into get_rtc_time

Re: RTC on 2.6.36 for PowerMac 8600

2012-01-31 Thread kevin diggs
Hi, On 1/29/12, Andreas Schwab sch...@linux-m68k.org wrote: kevin diggs diggskevi...@gmail.com writes: Perhaps the RTC was reset due to battery running out? That would set the year to 1900, but the kernel RTC interface cannot represent dates before 1970. Unfortunately hwclock insists on

Re: RTC on 2.6.36 for PowerMac 8600

2012-01-29 Thread Andreas Schwab
kevin diggs diggskevi...@gmail.com writes: [root@PowerMac8600B root]# hwclock --debug hwclock from util-linux-2.12pre Using /dev/rtc interface to clock. Last drift adjustment done at 131743 seconds after 1969 Last calibration done at 131743 seconds after 1969 Hardware clock is on

RTC on 2.6.36 for PowerMac 8600

2012-01-28 Thread kevin diggs
Hi, What will give me access to the RTC hardware on an old PowerMac 8600? I modload rtc-generic. /proc/devices has: 254 rtc and ls -l /dev/rtc*: crw-r--r-- 2 root root 254, 0 Sep 2 2010 /dev/rtc crw-r--r-- 2 root root 254, 0 Sep 2 2010 /dev/rtc0 crw-r--r-- 1 root root 10, 135 Aug