Want to use SUSPEND_TO_STANDBY instead of SUSPEND_TO_MEM

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

Want to use SUSPEND_TO_STANDBY instead of SUSPEND_TO_MEM

658件の閲覧回数
michaelrobbelot
Contributor IV

Anyone,

I have attempted several different methods for getting imx.6 solo based device running Android ICS to enter STANDBY but not MEM without success. I was wondering what others here believe would be the best mechanism for accomplishing this goal. I tried overriding the state in kernel/power/earlysuspend.c request_suspend_state(), but this only works if the USB OTG port is connected (otherwise the board locks up). I have also tried overriding the state in arch/arm/mach-mx6/pm.c, but this locks the board on boot. Thank you.

The device I'm using is on AC and does not have a battery.

Michael Robbeloth

ラベル(1)
0 件の賞賛
1 返信

490件の閲覧回数
AnsonHuang
NXP Employee
NXP Employee

Hi, Mike

     What do you mean by standby mode not successful? Did you have the log? We support both standby mode and mem mode in our linux BSP, unless Android mask the standby mode support. So it would be helpful if you can paste he failed log. BTW, better to add "no_console_suspend" in the uboot commandline to print out whole log message during suspend/resume. Then just "echo standby > /sys/power/state", remember to remove all the wake_lock stuff in Android.

0 件の賞賛