Facing an issue with Selective Suspend after removing the USB OTG Cable of the device expected the device to go into Sleep mode but it is seen that the device is not entering the selective suspend mode.
Attached are the logs, from the logs it is seen that the Active wakeup source is timerfd, eventfd and signal fd. Would like to understand is there a way to identify the wakeup source from the system?
Currently there is no timer used in the application. attached is the sample app which is used for testing the scenario.
logs wakeup source.txt (655.8 KB)
app.c (1.6 KB)