Opened 7 years ago

Last modified 7 years ago

#2079 new defect

GTA04 wakes from suspend for penirq (when touchscreen is pressed)

Reported by: jeepingben Owned by: mrmoku
Priority: major Milestone:
Component: SHR Image Version: SHR-core
Keywords: Cc:

Description

This has been the case since I got my gta04. There was some discussion about this by kernel developers, but I didn't find any ticket for this in SHR.

I have noticed that sometimes the phone will not wake for touchscreen, but will wake for power button if the GPS is turned on.

Change History (7)

comment:1 Changed 7 years ago by GNUtoo

Why is waking from touchscreen a good thing?
And how do you wake from touchscreen? wake from what? suspend to RAM?

Denis.

comment:2 Changed 7 years ago by jeepingben

It currently wakes from suspend when I touch the touchscreen. This is incorrect behavior. It should wake with the power button only. If the phone is in my pocket or backpack it does not stay suspended.

comment:3 Changed 7 years ago by GNUtoo

I couldn't reproduce it,
Do you have any hints that would help me reproduce the bug?

Denis.

comment:4 Changed 7 years ago by jeepingben

These are the steps that work for me in SHR lastest staging build on GTA04:

Turn on phone

Let it sit until screen goes black, then 30s longer

Touch the touch screen

expected behavior: Nothing happens

actual behavior: backlight turns on SHR lock screen opens

I can see in my applications that the phone did suspend, they did not do any processing during the time when the screen was off.

comment:5 Changed 7 years ago by GNUtoo

Do you have any proofs that it really did suspend?

Because If I do:
Power button->Suspend it should suspend and when I touch the screen after that nothing happens....

Denis.

comment:6 Changed 7 years ago by jeepingben

If I run
for ((a=1;;a++)) do echo $a;sleep 1; done

in a shell I can see that it suspended. Tommorow I will check with a fresh install on a spare SD card.

comment:7 Changed 7 years ago by jeepingben

I did a fresh install with the newer uboot and I still see this issue. Are you using something newer than the latest staging build?

Note: See TracTickets for help on using tickets.