Ticket #1313 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

GTA01 POWER button does nothing after resume

Reported by: kevin@… Owned by: openmoko-kernel@…
Priority: high Milestone:
Component: kernel Version: current svn head
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

Use neod's panel to "Lock phone" to suspend. Press POWER to resume. If the
device resumes properly the power button does not respond for userspace apps
(i.e. close applications) but WILL power the device down if held for several
seconds.

Change History

comment:1 Changed 11 years ago by kevin@…

  • rep_platform changed from PC to Neo1973

comment:2 Changed 11 years ago by reddog@…

Same here ... what's the difference between AUX and POWER?
And where in the S3C doku is the PWR_IRQ, as referenced on
http://wiki.openmoko.org/wiki/Neo1973_GTA01_Power_Management ??

comment:3 Changed 11 years ago by werner@…

AUX is connected directly to the CPU (EINT6/GPF6), while POWER is connected
to the PMU (as ONKEY)

PWR_IRQ is the interrupt line from the PMU to the CPU (EINT9/GPF9).

The usual suspect here is that the PMU has a pending interrupt that didn't
get handled, and thus any new events don't cause a new interrupt. I'd try
to just run the PMU's interrupt handler after resume, and see what happens.

comment:4 Changed 11 years ago by mwester@…

  • dependson set to 79

Marked as depending on #79. Patch (and follow-up discussion,if any)are
associated with that bug report in order to keep all the save/resume issues in
one spot for the moment.

comment:5 Changed 11 years ago by reddog@…

  • Status changed from new to closed
  • Resolution set to fixed

fixed with fix-gta01-pmu-irq-edge-lost-on-resume.patch commited as
f54af99850ae25da80e491b1864bb90e14c80b1f

Note: See TracTickets for help on using tickets.