[Gta04-owner] Android 3.0 kernel for GTA04

Alexander Rumyantsev ran at mail.wplus.net
Thu Jul 4 11:24:48 CEST 2013


Hello
To continue investigation I start here: 

> I continue to work with Replicant-2.3 and 3.0 kernel trying to localize
> suspend/resume problem. Find in attachment two log files, which show
> that userspace part ( I put some additional debug messages ) looks ok:
> 
> > I/power   ( 1349): *** set_screen_state 0
> > I/power   ( 1349): go to sleep step1=162751746962 state=mem
> > D/SurfaceFlinger( 1261): About to give-up screen, flinger = 0x6a6918
> > I/power   ( 1349): go to sleep step2=162769793352 fd=83 len=3
> > error=Success
> 
> and I have a problem at kernel level:
> 
> > <6>Powerdomain (core_pwrdm) didn't enter target state 1
> > <6>Powerdomain (usbhost_pwrdm) didn't enter target state 1
> > <3>Could not enter target state in pm_suspend
> > <6>Suspended for 33034.666 seconds
> > <6>wakeup wake lock: alarm
> 
> I find that Nail described same problem
> http://lists.goldelico.com/pipermail/gta04-owner/2011-December/001091.html
> but could not find his solution. Please, point me.

I have found that a difference between kernel from Paul
 http://lists.goldelico.com/pipermail/gta04-owner/2013-May/004485.html
and kernel from Replicant-2.3 concerning the problem is
in  CONFIG_OMAP_PM_NOOP setting. 
CONFIG_OMAP_PM_NOOP=y for Replicant-2.3 ( same from Neil-Plus Kernel ) and I have not such error messages,
CONFIG_OMAP_PM_NOOP is not set ( no other OMAP_PM_* set as well ) in Paul kernel and I get such error messages about dummy 
regulator.

However I read a description:
/*
 * omap-pm-noop.c - OMAP power management interface - dummy version
 *
 * This code implements the OMAP power management interface to
 * drivers, CPUIdle, CPUFreq, and DSP Bridge.  It is strictly for
 * debug/demonstration use, as it does nothing but printk() whenever a
 * function is called (when DEBUG is defined, below)
 *
 * Copyright (C) 2008-2009 Texas Instruments, Inc.
 * Copyright (C) 2008-2009 Nokia Corporation
 * Paul Walmsley

So it looks that we have not any real power management at this level ( no CPUIdle )!?

Please, comment or correct me

Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20130704/430d5f4a/attachment.bin>


More information about the Gta04-owner mailing list