Openmoko Bug #2156: rtctest.c does not exit with stable-tracking kernel

Openmoko Public Trac bugs at docs.openmoko.org
Wed Dec 3 20:53:04 CET 2008


#2156: rtctest.c does not exit with stable-tracking kernel
--------------------+-------------------------------------------------------
 Reporter:  lindi   |          Owner:  balajirrao 
     Type:  defect  |         Status:  accepted   
 Priority:  normal  |      Milestone:             
Component:  Distro  |        Version:  unspecified
 Severity:  normal  |       Keywords:             
 Haspatch:  0       |      Blockedby:             
Estimated:          |    Patchreview:             
 Blocking:          |   Reproducible:             
--------------------+-------------------------------------------------------
Changes (by balajirrao):

 * cc: werner@… (added)
  * owner:  openmoko-kernel => balajirrao
  * status:  new => accepted
  * component:  System Software => Distro


Comment:

 I've seen this. The program uses ALM_SET to set the alarm. In the kernel
 sources you might observe ALM_SET is setting wkday to -1. This results in
 the wkday register in pcf50633 being set wrongly and hence your rtctest
 works only on one day of the week (in my case, on Friday).

 The comment in the sources (drivers/rtc/rtc-dev.c) says WKALM_SET be used
 instead. Werner's wkalarm uses this -
 http://svn.openmoko.org/developers/werner/wkalrm/wkalrm.c and it worked
 fine when I tried it last time.

 I don't know why ALM_SET doesn't work. Werner, can you help us with this ?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2156#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list