if cat /sys/power/state returns a blank means your kernel do not support suspend/on state. I wonder do you have the kernel source, and enable the power managerment switches in kernel config.
2011/9/17 Sunil Pillai <sunilpillai....@gmail.com> > cat /sys/power/wake_lock just prints a blank line. > Also, cat /sys/power/state returns a blank. > > Something looks to be seriously wrong. > > Regards, > Sunil > > On Sep 16, 3:55 pm, 叶祥振 <bluedream...@gmail.com> wrote: > > try to > > #cat /sys/power/wake_lock > > and see what's holding the wake lock. > > Regards > > > > 2011/9/16 Sunil Pillai <sunilpillai....@gmail.com> > > > > > > > > > > > > > > > > > > > > > I tried cat /sys/power/state & it outputs > > > radio-interface. > > > > > Assuming that the RIL is basically holding a wakelock i tired > > > debugging using- > > > echo 15 > /sys/module/wakelock/parameters/debug hoping it to print all > > > wakelock acuire & release sequences. > > > This didn't print anything :( > > > > > I hope I'm on track unless has a useful comment at this point! > > > > > Regards, > > > Sunil > > > > > On Sep 16, 12:31 am, Sunil Pillai <sunilpillai....@gmail.com> wrote: > > > > Hello All, > > > > > > I am using android 2.6.35 kernel with a platform using s3c2410 > > > > processor. After android (gingerbread) boots up the screen as > expected > > > > is in the locked state. The screen timeout set is 15 seconds. But > even > > > > after long inactivity on the system the screen does not go to > > > > screen_dim state followed by screen_off state. > > > > > > I tired to move the system to suspend state by writing value "mem" & > > > > standby into /sys/power/state - > > > > echo mem > /sys/power/state, but the system does not go to suspend > > > > state too. (I don't have a dedicated power button to force suspend) > > > > > > I have already enabled early suspend, wakelock etc in "Power > > > > Management support" section of the config file. > > > > > > Any idea why the LCD backlight doesnot turn off and why the system > > > > does not react to /sys/power/state interface ? > > > > > > Regards, > > > > Sunil > > > > > -- > > > unsubscribe: android-kernel+unsubscr...@googlegroups.com > > > website:http://groups.google.com/group/android-kernel > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel