[android-kernel] Alarm interrupt waking up the phone after it is turned off.

2010-06-07 Thread ani
This is the issue http://code.google.com/p/android/issues/detail?id=1942 So i wanted to know the general mechanism in which linux phones handles this use case and before that if at all is this linux limitation(I don't think so)? So can someone point me to the mechanism in which this use case is h

[android-kernel] Re: install a kernel image

2010-06-07 Thread xlshe
I have done the same thing a few month ago, and faced the same problem. But I have solved them now. The following is my solution. Hope it helps. As far as I know, the boot image you flash to the phone is consist of kernel image and file system. So the zImage you got now from recompiling the kernel

Re: [android-kernel] Problem in Compiling android-2.6.32 kernel

2010-06-07 Thread sanjeev sharma
Hey Could you downloaded separately instead of upgrading it from 2.6.27 to 2.6.32. sanjeev On Mon, Jun 7, 2010 at 9:55 PM, Imran Khan wrote: > Hi All, > I have downloaded kernel 2.6.27 form git repository and have upgraded > it to 2.6.32 > using command : > git checkout v2.6.32 . > > When I co

Re: [android-kernel] struct proto in /net/ipv4/tcp_ipv4.c

2010-06-07 Thread Brad Walker
ISO C, section 6.7.8.. -brad w. On Sun, Jun 6, 2010 at 1:00 AM, kernelcoder2 wrote: > Hi, > > I am a kernel newbie. Saw the following struct in linux kernel /net/ > ipv4/tcp_ipv4.c: > > struct proto tcp_prot={ > > .name = "TCP", > .owner = THIS_MODULE, > ... > } > > each field name starts with a

Re: [android-kernel] struct proto in /net/ipv4/tcp_ipv4.c

2010-06-07 Thread karthik poduval
Hi, This a different way to initialize a C struct and its only supported by gcc compilers I guess, you will see this very often in the kernel code. -- Regards, Karthik Poduval On Sun, Jun 6, 2010 at 2:00 AM, kernelcoder2 wrote: > Hi, > > I am a kernel newbie. Saw the following struct in linu

[android-kernel] struct proto in /net/ipv4/tcp_ipv4.c

2010-06-07 Thread kernelcoder2
Hi, I am a kernel newbie. Saw the following struct in linux kernel /net/ ipv4/tcp_ipv4.c: struct proto tcp_prot={ .name = "TCP", .owner = THIS_MODULE, ... } each field name starts with a dot, ends with a comma (,) instead of semicolon (;), this doesn't look like a C struct, what is it? Thanks.

[android-kernel] Problem in Compiling android-2.6.32 kernel

2010-06-07 Thread Imran Khan
Hi All, I have downloaded kernel 2.6.27 form git repository and have upgraded it to 2.6.32 using command : git checkout v2.6.32 . When I compile it the file drivers/mmc/host/msm_sdcc.c is not getting compiled. It reports an error that header files "asm/mach/mmc.h" and "mach/ htc_pwrsink.h" are mis