Hi all,
My platform is TI DM3730 platform,and associated software is based on TI_Android_GingerBread_2_3_4_DevKit_2_1,
causing of our end product is not a "mobile" system,so,we don't need Android Power Management mechanism,and we try
to disable Android Power Management(i.e.wakelock,and earlysuspend mechanism),as I know,if we want to disable it,
we need do something
@kernel side,
we need to disable the following CONFIG @ linux menuconfig ,ex:the following part of .config
...
#CONFIG_WAKELOCK is not set
#CONFIG_HAS_WAKELOCK is not set
#CONFIG_WAKELOCK_STATE is not set
#CONFIG_USER_WAKELOCK is not set
#CONFIG_EARLYSUSPEND is not set
#CONFIG_HAS_EARLYSUSPEND is not set
...
and @Android rootfs side,
we need to re-build Android rootfs(include linux kernel),causing of
the module "Power sgx" will refer "register_early_suspend" & "unregister_early_suspend" @ kernel;
so,we need to re-build the rootfs
What else need to take care or any suggestion ?
such that when we disable Android Power Management,we don't have any side effect or some methods we can do instead of disable android power management mechanism(wakelock,earlysuspend) ?
thanks