Ticket #13 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

power button should not immediately react

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

Description

currently, the device powers up immediately when the power button is pressed.

There should be some delay code, waiting if the button is pressed for 3(5)
seconds. Only after that, the device should start booting.

The PMU has a separate interrupt for this 'power button pressed five seconds'
event. Maybe we can just poll the interrupt status register, and power-off if
the 5sec event hasn't been set yet.

Change History

comment:1 Changed 6 years ago by laforge@…

* Bug 48 has been marked as a duplicate of this bug. *

comment:2 Changed 6 years ago by sean_mosko@…

  • Owner changed from laforge@… to teddy@…
  • Milestone set to Phase 0

comment:3 Changed 6 years ago by laforge@…

Ok, there's actually more to this bug. It really is on power key handling in
u-boot gernally. It should be as follows:

  • If phone power button is pressed for more than 3 seconds, immediately boot

kernel from NAND, without any bootdelay

  • If phone power button is pressed in combination with 911 key, put an

indefinite bootdelay into place, i.e. wait indefinitely for somebody to access
u-boot via usbtty.

  • While phone is running u-boot, a continuous press of the power button for more

than 5 seconds should switch the phone off completely.

comment:4 Changed 6 years ago by laforge@…

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

fixed in svn rev. 927

comment:5 Changed 5 years ago by anonymous

  • Milestone Phase 0 deleted

Milestone Phase 0 deleted

Note: See TracTickets for help on using tickets.