Re: [android-kernel] Re: Question regarding the power management

2010-06-15 Thread Mike Chan
Two parts here, first part is for Frank, second is for the original post (inline). Applications: Once all apps have released their wakelocks App Framework: Power manager service decides to suspend the device (if the user turns off the screen) by writing "mem" to /sys/power/state Kernel: early su

[android-kernel] Re: Question regarding the power management

2010-06-15 Thread frank.sposaro
Check out this post regarding my last reply Addresses the API Change http://groups.google.com/group/android-kernel/browse_thread/thread/150dfd8ca32d569d/59855cc803a3dc56?lnk=gst&q=power#59855cc803a3dc56 Thanks On Jun 1, 7:33 am, Raj Kumar wrote: > Hi all, > > I have question regardingpowermana

[android-kernel] Re: Question regarding the power management

2010-06-15 Thread frank.sposaro
Hi Raj. Any luck on this? I am trying to trace the full process of how things get shut down when the phone is suspended. Where I am at right now is that when the phone is suspended or resumed the earlysuspend.c file executes a function and places a earlysuspend struct on a work_queue. I'm trying t

Re: [android-kernel] where the device "/dev/graphic/fb0" or "/dev/fb0" created in the kernel code?

2010-06-15 Thread Abhay kant
this is not a device rather its a frame buffer used by the kernel. You can find the node created in kernel/drivers/video/Fbmem.c. regds, Abhay On Sun, Jun 13, 2010 at 3:21 PM, sureone wrote: > where the device "/dev/graphic/fb0" or "/dev/fb0" created in the > kernel code? > > -- > unsubscribe: