touch as a wakeup source

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

touch as a wakeup source

2,133 次查看
DEEPIKA19
Contributor I

Hi team,

I am using goodix touch display with imx8mp processor.

I would like to set touch screen a wakeup-source.
I am entering suspend mode using the below command from the terminal:

$ echo mem >/sys/power/state

In the dts I have added the below line under goodix node

wakeup-source;

But touch did not act as wakeup source.

The board was still in suspend mode even after trying to wake the board by touching the display screen.

Is there any driver change needed apart from the dts change?
If any driver change need could you give a reference for the same.

Please could you help me with this issue.

 

Regards,

Deepika

0 项奖励
回复
5 回复数

2,079 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @DEEPIKA19,

Are you able to wake up from gpio interrupt? Please Try using sysfs entry for gpio to enable wakeup from suspend for debugging
 
Are you able to track interrupts from the touchscreen in cat /proc/interrupts?
 
Please add device_init_wakeup(&client->dev, 1); in the probe function of the driver.
 
One can refer to drivers/input/touchscreen/edt-ft5x06.c for example.
 
Please share the device tree source file and suspend logs for further debugging.
 
Thanks & Regards,
Dhruvit.
0 项奖励
回复

2,106 次查看
DEEPIKA19
Contributor I

Hi team ,

Could someone help me on this........

Regards

Deepika

0 项奖励
回复

2,082 次查看
DEEPIKA19
Contributor I

Hi team ,

I observed that when suspend command is issued, no logs are obtained on the debug console.

eg : prints like "suspend entry, Freezing user space processes" are expected but I don't see any such log on my console.

Could you guide me to debug this issue.

Regards

Deepika

0 项奖励
回复

2,056 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @DEEPIKA19,

Please make sure that you have set the kernel console log level set to the highest as below.
 # echo 7 > /proc/sys/kernel/print
 
Please mention the BSP version that you are using.
 
 
Thanks & Regards,
Dhruvit.
0 项奖励
回复

2,052 次查看
DEEPIKA19
Contributor I

Thanks @Dhruvit ,

Will test the board with your recommendations and revert back soon.

 

Regards,

Deepika

0 项奖励
回复