ONOFF button patch for IMX6SL for Android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ONOFF button patch for IMX6SL for Android

787件の閲覧回数
vinothrajm
Contributor III

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

ラベル(6)
タグ(1)
0 件の賞賛
3 返答(返信)

505件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

505件の閲覧回数
vinothrajm
Contributor III

Hi igor,

In my board file,these code is present already. But it does not works.

Thanks and Regards,

vinothraj

0 件の賞賛

505件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi vinothraj

is PMIC_ON_REQ signal toggling,

could you check it with oscilloscope ?

~igor

0 件の賞賛