Hi,
We have Own custom board for IMX6SL based on IMX6SL EVK and ported the Android.
I want to use the ONOFF switch to power on and off the android .
1. when I do long press the button ,android gives pop window to power off the android tabled.
2. When i do single press the button, It goes suspend mode and again do the single press it will come active
Kindly suggest any ideas or patch to make it .
thanks,
vinothraj
Hi vinothraj
I am not aware of such patches but think you can implement
solution below
Q&A: How is mx6 PMIC_ON_REQ under SW control?
https://git.congatec.com/android/qmx6_kernel/commit/e5165afdd2d248cac396c47dfa4b44feb65c9017
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
In my board file,these code is present already. But it does not works.
Thanks and Regards,
vinothraj
Hi vinothraj
is PMIC_ON_REQ signal toggling,
could you check it with oscilloscope ?
~igor