View Single Post
Old 06-02-2013, 10:59 PM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
And while you are learning about this topic -
Investigate this part of the system device tree:
Code:
[root@kindle driver]# ls -l /sys/devices/platform/mxc_rtc.0/
lrwxrwxrwx    1 root     root             0 May 25 07:10 driver -> ../../../bus/platform/drivers/mxc_rtc
-r--r--r--    1 root     root          4096 Jun  2 14:56 modalias
drwxr-xr-x    2 root     root             0 Jun  2 14:56 power
drwxr-xr-x    3 root     root             0 May 25 07:10 rtc
-rw-rw-rw-    1 root     root          4096 Jun  2 14:56 rtc_pmic_epoch_time
-rw-rw-rw-    1 root     root          4096 Jun  2 14:56 rtc_saved_last_seconds
lrwxrwxrwx    1 root     root             0 May 25 07:10 subsystem -> ../../../bus/platform
-rw-r--r--    1 root     root          4096 May 25 07:10 uevent
-rw-r--r--    1 root     root          4096 Jun  2 14:56 wakeup_enable
-rw-r--r--    1 root     root          4096 Jun  2 14:56 wakeup_from_halt
It at least has interesting names.
You may have to read some of the driver source code to find out about those.
knc1 is offline   Reply With Quote