I found alarm is platform driver that needs rtc device. Our board
doesn't have rtc device and that is why I don't get node created.
Anyone has linux patch with fake rtc device?

best regards,
Petar Bajic

On Sep 9, 7:03 am, Liu Xin <[email protected]> wrote:
> /dev/alarm is necessary. It comes from a kernel patch called "android
> alarm". you have to patch it to regular kernel on your own.
> Without it, AlarmManagerService will have trouble to setup alarm.
>
> RTC is rarely referred directly in android. however, SystemServer will read
> current time using gettiemofday.  our kernel gives the value from RTC intial
> value. if it is 0, or (other uninitialized value), it's possible to crash
> AlarmManagerService later.
>
> thanks,
> --lx
>
> On Thu, Sep 8, 2011 at 11:48 PM, extrapedestrian <[email protected]
>
>
>
>
>
>
>
> > wrote:
> > Im porting Froyo to mips board, and I have trouble building alarm
> > driver.
> > I added source to kernel, it builds and I have driver log, but I don't
> > have device.
> > device node is not created: /dev/alarm
> > I also don't have /dev/rtc and I think this might be causing problem.
> > When does 'rtc_alarm_add_device' gets to be called?
>
> > thanks,
> > Petar
>
> > --
> > unsubscribe: [email protected]
> > website:http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to