Hi All,
I'm working on porting android (2.3.3) to some arm device and on that device I have two different Real Time Clocks (RTCs). First one comes from processor and the second comes from PMIC.
In my system I see them in the path /sys/class/rtc/rtc0 and /sys/class/rtc/rtc1.
On default Android system time is taken from the first RTC (rtc0). What is more, setting time and date in Android Settings changes exactly that clock.
I want to switch it to the second clock. I know how to do it from one direction - how to set system time from rtc1 (compile parameter for kernel), but I don't know how to change RTC standing behind Settings -> Change Date and Time option in user interface. In other words, I want to change time and date from user interface of second RTC (rtc1, not rtc0 as in default).
How can I do it?
Thanks for help.
chaqi