Unable to write into RTC
Hi all,
I have atmel-9263 board running with linux-2.6.20 kernel and ramdisk based ext2 filesystem. I am setting the time using date command : # date -s "02/09/2008 12:44:00" Sat Feb 9 12:44:00 UTC 2008 After that date will result from the time what i have set, untill i reboot. But hwclock is not the displaying the change. I tried to debug it with rtctest.c given kernel documentation, The result of which is : RTC Driver naveen: read read secs=28, mins=6, hours=22, mday=4, mon=0, year=100, wday=3 Counting 5 update (1/sec) interrupts from reading /dev/rtc: 1 2 3 4 5 Again, from using select(2) on /dev/rtc: 1 2 3 4 5 Current RTC date/time is 4-1-2000, 22:07:26. Periodic IRQ rate is 1073857184Hz. Counting 20 interrupts at: 2Hz: ioctl: Inappropriate ioctl for device I need write into RTC, what is way i have to proceed. Regards, Naveen |
All times are GMT -5. The time now is 01:09 AM. |