Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 263 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 359 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 2919 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/adodb/adodb.inc.php on line 3937 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Project has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.project.php on line 3 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Url has a deprecated constructor in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php on line 859 FS#229 : Enable wake on alarm interrupts

OpenPandora Main OS

Quick Actions
Notice: Undefined index: tasklist_type in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 228 Notice: Undefined index: tasklist_type in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 233
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Core
  • Operating System All
  • Severity High
  • Reported Version Hotfix 5
Attached to Project: OpenPandora Main OS
Opened by Chris Camacho - 2011-04-15

FS#229 - Enable wake on alarm interrupts

Tags:

Found I'd kept some notes about making the Pandora's wake on alarm function work... drivers/rtc/rtc-twl4030.c twl4030_rtc_remove (for when the driver is removed) and twl4030_rtc_ shutdown (for when the system is shutdown) functions need to change. Or at least the shut down does. oh YUK who's been using goto.... changes in drivers/rtc/rtc-twl4030.c twl4030_rtc_remove commented out //mask_rtc_irq_bit(BIT_RTC_INTERRUPTS_REG_IT_ALARM_M); twl4030_rtc_shutdown replaced // mask_rtc_irq_bit(BIT_RTC_INTERRUPTS_REG_IT_TIMER_M | // BIT_RTC_INTERRUPTS_REG_IT_ALARM_M); with mask_rtc_irq_bit(BIT_RTC_INTERRUPTS_REG_IT_TIMER_M); twl4030_rtc_suspend replaced // mask_rtc_irq_bit(BIT_RTC_INTERRUPTS_REG_IT_TIMER_M | // BIT_RTC_INTERRUPTS_REG_IT_ALARM_M); with mask_rtc_irq_bit(BIT_RTC_INTERRUPTS_REG_IT_TIMER_M); twl4030_rtc_init added (before return!) twl4030_rtc_alarm_irq_set_state(true); Should probably check reg 0x2B with mask 0x08 to see if alarm should be left enabled or not ? but only in twl4030_rtc_shutdown and ?remove? NOT in twl4030_rtc_init should remove ever happen ??? I'm guessing it's best to not enable the alarm irq's all the time???

Loading...


Notice: Undefined variable: effort in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18 Notice: Trying to get property of non-object in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18 Warning: Invalid argument supplied for foreach() in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18
Date User Effort (H:M)