Panda: Resume failing on tracking-panda build

Bug #910758 reported by Abhishek Paliwal
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
High
Zach Pfeffer
linaro-landing-team-ti
Won't Fix
Medium
Unassigned

Bug Description

Description:
==========

Once device enters Suspend mode it cannot come out of it.
Tried USB Mouse/Keyboard(F1 and other keys) events to wake up device but it does not work.

Using https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#build=131
( Linux-3.2.0-rc7+ )

Reproducible:
===========
Yes, 5/5 time

IMPACT:
========
Suspend Failure - Need to reboot device to use it again - once it enters suspend mode.

Steps:
==========
Method-1
1. Flash https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#build=131

2. Bootup device and Leave device idle for 1-2 minutes(as default sleep value is after 1 minute)
Issue: Once device enters suspend mode it never wakes up. Need to reboot device now if any functionality has to be used.

Method-2
1. Flash https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#build=131
2. Bootup device
3. Type "input keyevent 6" on serial console.

Issue:Device hangs after this. Unable to resume.

Hardware:
==========
8GB SD card
Pandaboard
HDMI out to Dell Monitor.
USB Mouse/Keyboard connected, Ethernet cable plugged in.

Software:
==========
 https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#build=131

Logs:
=========
Serial logs attached.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
warmcat (andy-warmcat) wrote :

I tested current tilt-android-tracking (which seems to be what you're using here) on ics build 4.

While it never.tried to go tp true mem suspend, the runtime_pm display power management it did do was working fine.

If this is gingerbread build, do we care any more? If it's ics, how did you get it to suspend in a way that represents what the os actually does during suspend?

description: updated
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

Hi Andy,

1. https://android-build.linaro.org/builds/~linaro-android/tracking-panda/#build=131 is ICS build.
2. The way I test is to get device into suspend mode from Android perspective - I've added another way to reproduce the issue I'm observing.

Revision history for this message
warmcat (andy-warmcat) wrote :

Thanks for the extra info.

On "build #4" ICS which I have been using until now, input keyevent 6 acts the same as just waiting for display to blank, it seems to do runtime_pm for the display only and comes back properly with just a mouse movement.

I'll try #132 that's up there now and see what it does here with the same input keyevent 6 test.

Revision history for this message
warmcat (andy-warmcat) wrote :

Hm #132 fails to boot with this

[ 10.617553] invalid size of private data (616 vs 636)

problem that we fixed for build 4 when I feed it latest ICS SGX libs imgtec-panda-iml74k-cfb7bdad.tgz

If I bind it to the older ICS SGX libs, imgtec-panda-itl41d-dfebf249.tgz, I get

[ 7.684906] PVR_K: (FAIL) SGXInit: Incompatible driver DDK revision (550175)/device DDK revision (279068).

which is probably correct.

However we're working well on "build #4".... Vishal what is build #132 compared to build #4... is there a later SGX libs tarball or something?

Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :

Andy,

During suspend the USB mouse and keyboard get disabled and there is no way we could wake the device.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

observed on :
https://android-build.linaro.org/builds/~linaro-android/tracking-panda-12.01-release/#build=5

On suspend - USB mouse and keyboard gets disabled can't come out of suspend then.

Changed in linaro-android:
importance: Undecided → High
Anmar Oueja (anmar)
Changed in linaro-landing-team-ti:
importance: Undecided → Medium
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Changed in linaro-android:
assignee: nobody → Zach Pfeffer (pfefferz)
Revision history for this message
Anmar Oueja (anmar) wrote :

It is unlikely the TILT will have time to fix it for 12.05 since it hasn't been fixed in 3.3 and now 3.4-rcX.

Revision history for this message
Anmar Oueja (anmar) wrote :

Oops.. pressed submit too fast. Regarding the build in comment #11, we will not be fixing it either on 3.2 kernel.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Botao (botao-sun) wrote :

Although now can press F1 key to wake the board up, but during the board suspend, there are many "Automatic Resume Actions" happened, refer to attachment to get the detailed log output.

Build is 12.06 RC2 image:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=87

Revision history for this message
Botao (botao-sun) wrote :

On Panda Linaro Android build:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=105

When the board reaches the suspend time, the main screen is freezing but still ON. Also, if set a longer time for suspend, for example, 30 minutes, the board will turn off display on monitor before the time is reached.

Revision history for this message
warmcat (andy-warmcat) wrote :

TILT isn't doing any more work on 3.2 kernel... it's admirable what Bero has managed to do. Closing as WONTFIX.

Changed in linaro-landing-team-ti:
status: New → Won't Fix
Revision history for this message
Botao (botao-sun) wrote :

Observed same circumstance as comment #13 on Panda 4430 board with image:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=111

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

On build: https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob-12.06-release/#build=4
having 3.4 kernel
UI does not gets dim when device goes to suspend

Revision history for this message
Botao (botao-sun) wrote :

For Panda 4430 board, on build:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=116

After the board reached the suspend time, the display is still ON. However, along with the more waiting time, for example, 10+ minutes, the monitor will be OFF.

Revision history for this message
Amit Khare (amit-khare) wrote :

observed on panda 4460 build

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=123

changed display settings to 15sec an even after waiting for more than 2 min it never goes to suspend mode.

Revision history for this message
Botao (botao-sun) wrote :

Observed on Panda 4430 build:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob-12.07-release/#build=3

For long time waiting experiment, not every time succeeded. I tried twice, for the first time, I changed waiting period to 15 seconds and then waited for 10 minutes, the display still showed main lock screen; but for the second time, I only waited around 3 minutes, the display turned to black.

Revision history for this message
Botao (botao-sun) wrote :

Same behavior on Panda 4460 board.

Revision history for this message
Botao (botao-sun) wrote :

For Panda 4460 board, observed on:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=142

Set suspend time to 15 seconds, after 15 seconds, the screen turns to lock mode, after around 5 minutes, the screen turns to black.

Revision history for this message
Amit Khare (amit-khare) wrote :

same observed on 4430 too

Revision history for this message
Paul Larson (pwlars) wrote :

Zach, if you are good with it, and since this one has already been declared wontfix by TI LT, I think we should close this one and pick up the effort to get suspend resume working on https://bugs.launchpad.net/linaro-android/+bug/1033944

vishal (vishalbhoj)
Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.