Re: [android-kernel] Wakelocks in the Kernel

2013-04-22 Thread TheLoneJoker
I asked because.. earlier the wakelock usage was *wake_lock/unlock.* Now it seems to be prefixed with *pm_wake_lock/unlock. * I should use the one prefixed with *pm_* correct ? Thanks, vj On Monday, April 22, 2013 1:33:34 PM UTC-7, mark gross wrote: > > FWIW that file was first merged to upstream

Re: [android-kernel] Wakelocks in the Kernel

2013-04-22 Thread TheLoneJoker
So are all the API's the same between the mainline and android ? On Monday, April 22, 2013 1:33:34 PM UTC-7, mark gross wrote: > > FWIW that file was first merged to upstream (kernel.org) linus kernel for > 3.5. > > the notion of Wakelocks is now part of the linux kernel. (i.e. its not > just

Re: [android-kernel] Wakelocks in the Kernel

2013-04-22 Thread mark gross
FWIW that file was first merged to upstream (kernel.org) linus kernel for 3.5. the notion of Wakelocks is now part of the linux kernel. (i.e. its not just an android thing) On Mon, Apr 22, 2013 at 12:52 PM, Tirtha Ghosh wrote: > AFAIK it is not in linux mainline kernel but this is part of and

Re: [android-kernel] Wakelocks in the Kernel

2013-04-22 Thread John Stultz
On 04/22/2013 12:25 PM, TheLoneJoker wrote: Could someone please tell me if the notion of "Android Wakelocks" still holds good ? Or has it got merged into the mainline kernel and goes by another name/API ? It is upstream in the mainline kernel as of 3.5 (and backported to the AOSP 3.4 tree). T

Re: [android-kernel] Wakelocks in the Kernel

2013-04-22 Thread Tirtha Ghosh
AFAIK it is not in linux mainline kernel but this is part of android kernel. https://android.googlesource.com/kernel/common/+/experimental/android-3.8/kernel/power/wakelock.c Regards On Monday, April 22, 2013, TheLoneJoker wrote: > Could someone please tell me if the notion of "Android Wakeloc

[android-kernel] Wakelocks in the Kernel

2013-04-22 Thread TheLoneJoker
Could someone please tell me if the notion of "Android Wakelocks" still holds good ? Or has it got merged into the mainline kernel and goes by another name/API ? Thanks, vj -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --

[android-kernel] build kernel for s2 i9100g

2013-04-22 Thread biagio licari
hey guys i have a problem.i cloned a cyanogen kernel for my device ( s2 i9100g ) add some tweak and modthen builded succesful and i found zimage in arm/arch/bootthen ho to create a ramdisk for cyano 10.1 i9100g ? i have this big problem ;/ -- -- unsubscribe: android-kernel+unsubsc

[android-kernel] Re: kernel modules "hello world " in samsung n8000

2013-04-22 Thread Shuang Liang
Have you enabled the LKM in kernel configs? On Monday, April 8, 2013 11:20:51 PM UTC-4, Fazhang Liu wrote: > > my device is samsung n8000 > > android version : 4.0.4 > > kernel version : 3.0.15-962322 > > > > i want to make a "hello world " kernel module . > > git clone https://android.googl

Re: [android-kernel] Re: how to enable logging (logcat) by default, during android boot

2013-04-22 Thread naresh tanniru
Hi , you can try to add "/system/bin/logcat & " (as a background process) in any of the script files On Wed, Apr 17, 2013 at 12:39 PM, Nitin Mahajan wrote: > Hello Deva, > > This doesn't work for me. You have any hints? > > I tried putting this before and after Zygote start in init.rc. >