Hi IMX7D
I add one LTE modem with USB connection to the imx7D, we press power button let the Android to sleep mode. we find that the LCD can half light, and can not screen off. if we remove the USB modem, we press the power button. the android can go into sleep mode and LCD screen off.
if we connect the USB modem. we check the ''dumpsys power", we can not find any locks. but the Android can be blocked to sleep mode. Can you tell me where is block in the Android source code? we need entry to sleep mode when the usb modem connection.
dumpsys power log as here:
Hi kang
one can try procedures given in sect.39.2.4 USB Wakeup Usage,
39.2.5 How to Close the USB Child Device Power attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------