#11497 BLOC 1.75-so: System do not suspend first when press power button, but second time it test okay
Zarro Boogs per Child
bugtracker at laptop.org
Fri Nov 25 12:04:29 EST 2011
#11497: System do not suspend first when press power button, but second time it
test okay
--------------------------------+-------------------------------------------
Reporter: Andy Pei | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: 1.75-software
Component: kernel | Version: Development build as of this date
Resolution: | Keywords:
Next_action: diagnose | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
--------------------------------+-------------------------------------------
Comment(by pgf):
looking at the output of /sys/kernel/debug/wakeup_sources across this
event:
{{{
bash-4.1# cat /sys/kernel/debug/wakeup_sources
name active_count event_count hit_count
active_since total_time max_time last_change
mmp-rtc 1 2 0 0
999 999 7559
olpc-kbd.0 2 104 0 0
2988 1889 8410
usb1 0 0 0 0
0 0 0
olpc-switch.0 0 0 0 0
0 0 0
olpc-ec-1.75.0 0 0 0 0
0 0 0
bash-4.1# [ 41.845593] dcon_freeze_store: 1
[ 41.857176] dcon_source_switch to DCON
[ 41.896571] olpc-dcon: The DCON has control
[ 42.056141] dcon_freeze_store: 1
[ 42.145545] dcon_freeze_store: 0
[ 42.149130] dcon_source_switch to CPU
[ 42.177018] olpc-dcon: The CPU has control
bash-4.1# cat /sys/kernel/debug/wakeup_sources
name active_count event_count hit_count
active_since total_time max_time last_change
mmp-rtc 1 2 0 0
999 999 7559
olpc-kbd.0 2 104 0 0
2988 1889 8410
usb1 0 0 0 0
0 0 0
olpc-switch.0 0 0 0 0
0 0 0
olpc-ec-1.75.0 1 1 0 0
982 982 41677
bash-4.1# [ 50.104618] PM: Syncing filesystems ... done.
[ 50.111544] Freezing user space processes ...
[ 50.118409] Freezing of tasks aborted after 0.00 seconds (120 tasks
refusing to freeze, wq_busy=0):
[ 50.127415]
[ 50.127486] Restarting tasks ... done.
[ 50.320680] dcon_freeze_store: 0
[ 50.370783] dcon_freeze_store: 0
bash-4.1# cat /sys/kernel/debug/wakeup_sources
name active_count event_count hit_count
active_since total_time max_time last_change
mmp-rtc 2 3 1 0
1995 999 50084
usb1 0 0 0 0
0 0 0
olpc-ec-1.75.0 1 1 0 0
982 982 41677
bash-4.1# cat /sys/kernel/debug/wakeup_sources
name active_count event_count hit_count
active_since total_time max_time last_change
mmp-rtc 2 3 1 0
1995 999 50084
usb1 0 0 0 0
0 0 0
olpc-ec-1.75.0 1 1 0 0
982 982 41677
}}}
the bump in "hit_count" is what's preventing the suspend. need to
investigate.
--
Ticket URL: <http://dev.laptop.org/ticket/11497#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list