Den 23/09/2011 19.16 skrev "seba" :
> Hi,
>
> I think you need to port the lights library for your platfrom?
> (mydroid/hardware//liblights)
>
> Android expects the sysfile -> /sys/class/leds/lcd-backlight/
> brightness as the point to set the current brightness of lcd
> backlight.
> If the kernel
Hi,
I think you need to port the lights library for your platfrom?
(mydroid/hardware//liblights)
Android expects the sysfile -> /sys/class/leds/lcd-backlight/
brightness as the point to set the current brightness of lcd
backlight.
If the kernel uses another point for such regulation you will have
I have compiled the kernel using all the required configuration for
PM.
CONFIG_PM, CONFIG_SUSPEND, CONFIG_WAKELOCK,
CONFIG_FB_EARLYSUSPEND, CPU_IDLE etc are set.
After bootup I also see the logs for request_suspend_state() being
called.
Log :
<6>request_suspend_state: wakeup (3->0) at 9253398900
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
> cat /sys/power/wake_lock just prints a blank line.
> Also, cat /sys/power/state
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, 叶祥振 wrote:
> try to
> #cat /sys/power/wake_lock
> and see what's holding the wake lock.
> Regards
>
> 2011/9/16 Sunil Pillai
try to
#cat /sys/power/wake_lock
and see what's holding the wake lock.
Regards
2011/9/16 Sunil Pillai
>
> 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/
Worked out on the wakelock issue, so now cat /sys/power/state does not
show any module holding a wakelock
Also, I was able to put off the LCD by executing:
echo 1 > /sys/devices/platform/s3c-fb/graphics/fb0/blank
Anyways, I was hpoing after inactivity for sufficient time the
userspace process sho
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