Hello All I would like to know how to use alarm device to set RTC? I do folowing 1. Open /dev/alarm 2. Send ioctl ANDROID_ALARM_SET_RTC 3. Close
After these steps kernel does not go to sleep because of pending alarm, but I did not set any alarms, I just set time. I look at alarm.c file and see that flag ANDROID_ALARM_TIME_CHANGE_MASK is not getting cleared even if I closed file, because file->private_data is set to NULL in open and does not change value on set RTC ioctl. Could someone clarify what steps do I have to use to have RTC set and allow system sleep after that? Thank you -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

