AnsweredAssumed Answered

Imxdl board going into suspend mode on unplugging usb otg

Question asked by Sujay S on Jan 20, 2020
Latest reply on Jan 20, 2020 by igorpadykov

I'm using im6dl board with 1Gb RAM and android bsp.

The board boots fine but it goes into suspend mode the minute I disconnect the usb otg.


The kernel command line is

Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,fbpix=RGB32,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M galcore.contiguousSize=33554432 buildvariant=userdebug androidboot.selinux=permissive androidboot.dm_verity=disabled android.permission.WAKE_LOCK buildvariant=user androidboot.serialno=2421c1d4e6b4bd55 androidboot.storage_type=emmc androidboot.serialno=2421c1d4e6b4bd55 androidboot.storage_type=emmc.




Please refer the attached document for full log.


How can I modify the android source to prevent the board from entering suspend mode?