All of lore.kernel.org
 help / color / mirror / Atom feed
* Suspend broken on 3.3?
@ 2012-03-22 11:09 Joe Woodward
  2012-03-22 17:33 ` Kevin Hilman
  0 siblings, 1 reply; 40+ messages in thread
From: Joe Woodward @ 2012-03-22 11:09 UTC (permalink / raw)
  To: linux-omap

Is system suspend broken on stock 3.3?

I have a working stock 3.2 (with patches to fix runtime_pm for DSS2), and system suspend works just fine!

This is running on a variety of GUMSTIX boards (both OMAP3530 and AM3703-based).

I've just updated to stock 3.3 and suspend returns immediately when entered:

# echo mem > /sys/power/state
[   72.391693] PM: Syncing filesystems ... done.
[   72.397003] Freezing user space processes ... (elapsed 0.02 seconds) done.
[   72.425201] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
[   72.456451] Suspending console(s) (use no_console_suspend to debug)
[   72.581695] PM: suspend of devices complete after 115.977 msecs
[   72.584594] PM: late suspend of devices complete after 2.868 msecs
[   72.612060] Successfully put all powerdomains to target state
[   72.613983] PM: early resume of devices complete after 1.770 msecs
[   72.941894] PM: resume of devices complete after 326.630 msecs
[   72.975677] Restarting tasks ... done.

I've looked in the debugfs and see:
# cat suspend_stats
success: 1
fail: 0
failed_freeze: 0
failed_prepare: 0
failed_suspend: 0
failed_suspend_noirq: 0
failed_resume: 0
failed_resume_noirq: 0
failures:
  last_failed_dev:

  last_failed_errno:    0
                        0
  last_failed_step:

# cat wakeup_sources
name            active_count    event_count     hit_count       active_since    total_time      max_time        last_change
gpio-keys       0               0               0               0               0               0               0
(null)          0               0               0               0               0               0               0
(null)          0               0               0               0               0               0               0
1-0048          0               0               0               0               0               0               0
omap_uart.3     0               0               0               0               0               0               0
omap_uart.2     0               0               0               0               0               0               0

So have no idea what is causing the wakeup.

How should I go about debugging this further?

Has anyone else tried suspend on 3.3?

I've tried this both with my custom defconfig and omap2plus_defconfig.

I do have some modifications to the GUMSTIX overo board file (minor changes like defining some extra buttons, and setting the correct LCD parameters), but I'm fairly certain these shouldn't be causing any problems...

Cheers,
Joe



^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2012-04-12 11:51 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 11:09 Suspend broken on 3.3? Joe Woodward
2012-03-22 17:33 ` Kevin Hilman
2012-03-26 13:41   ` Joe Woodward
2012-03-27  0:34     ` Kevin Hilman
2012-03-27 13:53       ` Raja, Govindraj
2012-03-27 21:37         ` Kevin Hilman
2012-03-28 10:59           ` Raja, Govindraj
2012-03-28 15:38             ` Joe Woodward
2012-03-28 17:46               ` Kevin Hilman
2012-03-29  8:35                 ` Joe Woodward
2012-03-29  9:14                   ` Shubhrajyoti Datta
2012-03-29  9:46                     ` Joe Woodward
2012-03-29 10:26                   ` Paul Walmsley
2012-03-29 11:27                     ` Joe Woodward
2012-03-29 11:40                       ` Joe Woodward
2012-03-29 14:29                         ` Raja, Govindraj
2012-03-30  7:53                           ` Joe Woodward
2012-03-30  8:46                             ` Raja, Govindraj
2012-03-30  9:26                               ` Joe Woodward
2012-03-30 10:15                                 ` Raja, Govindraj
2012-03-30 11:04                                   ` Joe Woodward
2012-03-30 12:24                                     ` Raja, Govindraj
2012-04-02 10:43                                       ` Raja, Govindraj
2012-04-02 12:37                                         ` Joe Woodward
2012-04-03  6:56                                           ` Govindraj
2012-04-04 14:56                                         ` Paul Walmsley
2012-04-04 16:13                                           ` Raja, Govindraj
2012-04-06  0:29                                             ` Paul Walmsley
2012-04-06 14:21                                               ` Kevin Hilman
2012-04-09 11:27                                                 ` Raja, Govindraj
2012-04-09 14:27                                                   ` Kevin Hilman
2012-04-09 16:01                                                     ` Paul Walmsley
2012-04-09 17:10                                                       ` Kevin Hilman
2012-04-10  9:26                                                         ` Raja, Govindraj
2012-04-10 18:03                                                           ` Kevin Hilman
2012-04-11 13:13                                                             ` Raja, Govindraj
2012-04-11 19:34                                                               ` Paul Walmsley
2012-04-12 11:51                                                                 ` Raja, Govindraj
2012-03-27 14:39       ` Joe Woodward
2012-03-27 21:28         ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.