i.MX8MM Weston desktop can't wake up

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8MM Weston desktop can't wake up

555 Views
charleshuang
Senior Contributor II

Hi NXP,

We sleep/wake up(wake up 20 seconds, sleep 10 seconds) system continuously about 1000 times on our  i.MX8MM board. The yocto system wake up normally and also has a wake up log, but the Weston desktop sometimes does not wake up. If we re-execute the  "systemctl restart weston" command, the Weston desktop can work again. Could you please help to give some suggest? Thanks.

 

1. OS: 4.14.98 Yocto 2.5
2. Replication method: sleep/wake up (wakeup 20 seconds, sleep 10 seconds) system 1000 times continuously.
(1) echo mem > /sys/power/state to enter suspend
(2) trigger power BTN to wakeup system.

 

Bellow is the Weston log. The blue log is the normal sleep/wake up Weston.The red log is the problematic log after sleep/wake up, and it does not to be activating. Details as the attached log files.

 

[14:10:49.565] deactivating session

[14:10:49.565] event0  - [14:10:49.565] 30370000.snvs:snvs-powerkey: [14:10:49.565] device removed

[14:10:57.472] activating session

[14:10:57.477] event0  - [14:10:57.477] 30370000.snvs:snvs-powerkey: [14:10:57.477] is tagged by udev as: Keyboard

[14:10:57.477] event0  - [14:10:57.477] 30370000.snvs:snvs-powerkey: [14:10:57.477] device is a keyboard

[14:10:57.480] event1  - [14:10:57.481] gpio-keys: [14:10:57.481] not tagged as supported input device

[14:10:57.481] event1  - not using input device '/dev/input/event1'

[14:10:57.481] associating input device event0 with output DSI-1 (none by udev)

[14:10:57.513] unexpectedly large timestamp jump (from 530397 to 532038)

[14:11:19.560] deactivating session

[14:11:19.560] event0  - [14:11:19.560] 30370000.snvs:snvs-powerkey: [14:11:19.560] device removed

[14:11:27.470] activating session

[14:11:27.476] event0  - [14:11:27.476] 30370000.snvs:snvs-powerkey: [14:11:27.476] is tagged by udev as: Keyboard

[14:11:27.476] event0  - [14:11:27.476] 30370000.snvs:snvs-powerkey: [14:11:27.476] device is a keyboard

[14:11:27.479] event1  - [14:11:27.479] gpio-keys: [14:11:27.479] not tagged as supported input device

[14:11:27.479] event1  - not using input device '/dev/input/event1'

[14:11:27.479] associating input device event0 with output DSI-1 (none by udev)

[14:11:27.501] unexpectedly large timestamp jump (from 553131 to 554893)

[14:11:49.579] deactivating session

[14:11:49.580] event0  - [14:11:49.580] 30370000.snvs:snvs-powerkey: [14:11:49.580] device removed

 

Weston  systemctl status:

root@imx8mmrom5721a1:~# systemctl status | grep weston
?? ????3972 /usr/bin/weston-launch -- --log=/var/log/weston.log --xwayland --use-g2d=1
?? ????3979 /usr/bin/weston --log=/var/log/weston.log --xwayland --u se-g2d=1
?? ????4007 /usr/libexec/weston-keyboard
?? ????4018 /usr/libexec/weston-desktop-shell
?? ????5157 grep weston

 

Thanks.

Darren

Labels (1)
0 Kudos
Reply
2 Replies

539 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @charleshuang 

Have you test this issue on lastest BSP?

0 Kudos
Reply

500 Views
charleshuang
Senior Contributor II

Hi @Zhiming_Liu 

We don't see the problem on the 5.4.70 Yocto3.0 BSP. Thanks.

0 Kudos
Reply