Re: Not able to set RTC with qpnp-rtc driver

2014-07-24 Thread Siteshwar
Hi Stephen, Yes, I have DT property qpnp-rtc-write set to 1 in my local kernel sources. I have set it because I need write access to the clock. I am aware that Android on Nexus 5 uses time_daemon utility to manage time. I am trying to port Sailfish OS on Nexus 5 which uses a different utility cal

Re: Not able to set RTC with qpnp-rtc driver

2014-07-23 Thread Stephen Boyd
On 07/23/14 13:28, Siteshwar wrote: > Hello, > > I am trying to set RTC on Nexus 5 (which uses qpnp-rtc driver).and > getting a permission error while setting it. > > I am making following call from my application with valid arguments : > > ioctl(rtc_fd, RTC_SET_TIME, tod) > > when I make this call

Not able to set RTC with qpnp-rtc driver

2014-07-23 Thread Siteshwar
Hello, I am trying to set RTC on Nexus 5 (which uses qpnp-rtc driver).and getting a permission error while setting it. I am making following call from my application with valid arguments : ioctl(rtc_fd, RTC_SET_TIME, tod) when I make this call I see below messages in dmesg logs : [ 26.945670