WP7504 suspends to RAM when USB removed

Am testing WP7504 in Mangoh green and FW release 14.

System works fine but if I remove the USB connection the system suspend to RAM …

How do I disable this ??? (Would like to run un-tethered …)

Here is what I see on the console when I unplug USB:

[ 53.414710] msm_otg msm_otg: Avail curr from USB = 2
[ 53.418708] ci_hdrc ci_hdrc.0: CI_HDRC_CONTROLLER_SUSPEND_EVENT received
[ 53.908408] msm_otg msm_otg: USB in low power mode
[ 53.912559] PM: Syncing filesystems … done.
[ 53.939478] Freezing user space processes …
[ 53.945124] mbim_read: Waiting failed
[ 53.961605] (elapsed 0.018 seconds) done.
[ 53.964596] Freezing remaining freezable tasks … (elapsed 0.001 seconds) done.
[ 53.972562] Suspending console(s) (use no_console_suspend to debug)

Hi bseng,

The mentioned behavior is expected.
If you like system always running regardless the external interface, you may set wake lock using Legato API or user-space.

For example, set lock on user-space:

echo testlock > /sys/power/wake_lock

To release the lock:

echo testlock > /sys/power/wake_unlock

Please refer to online doc for more info.
http://legato.io/legato-docs/latest/howToPowerMgmt.html

Hope it helps.