答复: wakeup wakelock issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sriram,

 

From the log, the system doesn’t enter suspend state actually, namely, during the suspend process, it encounters some errors, which make your system execute resume operations,  in your case,

Maybe iva2_pwrdm and core_pwrdm drivers reject to “sleep”, also adding “no_console_suspend” option in bootargs may make the console print more message.

To check whether your drivers are implemented properly for PM, you can try following commands in order:

 

Prepare the testing to your drivers:

Echo core > /sys/power/pm_test

Enter the testing:

Echo mem > /sys/power/state

Terminate the testing:

Echo on > /sys/power/state

 

This will test the freezing of processer, suspending of devices, platform global control methods

The disabling of nonboot CPUs and suspending of platform/system devices.

 

For more details, please refer to:

http://lxr.linux.no/#linux+v2.6.31/Documentation/power/basic-pm-debugging.txt

 

 

BRs

Edwin

 

 

发件人: linux-pm-bounces@xxxxxxxxxxxxxxxxxxxxxxxxxx [mailto:linux-pm-bounces@xxxxxxxxxxxxxxxxxxxxxxxxxx] 代表 Sriram V
发送时间: 20091122 0:38
收件人: android-porting@xxxxxxxxxxxxxxxx
抄送: linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
主题: wakeup wakelock issues

 

Hi,
  I am trying to test pm on a custom board with android.

  Whats happening:
   1) Android is putting the system to sleep - calling system wide suspend
   2) During suspend, kernel resume immediately - I get "wakeup wake lock: omap-8250-serial". and again puts it back to suspend.
  
3) This keeps happening, There is no serial activity except for printing the messages (transmission from the board) - No serial inputs from the host pc.
   4) Is there any way to disable this?
  

Regards,
sriram



# PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
Powerdomain (iva2_pwrdm) didn't enter target state 1
Powerdomain (core_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
wakeup wake lock: omap-8250-serial
usb 1-2: reset high speed USB device using ehci-omap and address 2
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
done.
suspend: exit suspend, ret = 0 (2000-01-01 03:42:06.047454761 UTC)
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
Powerdomain (iva2_pwrdm) didn't enter target state 1
Powerdomain (core_pwrdm) didn't enter target state 1
Could not enter target state in pm_suspend
wakeup wake lock: omap-8250-serial
usb 1-2: reset high speed USB device using ehci-omap and address 2
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
done.
suspend: exit suspend, ret = 0 (2000-01-01 03:42:16.157318042 UTC)
PM: Syncing filesystems ... done.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.425 / Virus Database: 270.14.77/2520 - Release Date: 11/22/09 19:40:00


====================================================================
CONFIDENTIALITY NOTE:
This e-mail and any attachments may contain confidential information and may
be protected by legal privilege. If you are not the intended addressee (or
authorized to receive for the addressee), be aware that any disclosure,
copying, distribution or use of this e-mail or any attachment is prohibited.
If you have received this e-mail in error, please notify us immediately by
returning it to the sender and delete this copy from your system. Thank you
for your cooperation.
Infomax Communication Co., Ltd.
====================================================================
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux