[android-kernel] Re: Touchscreen Input event processing in Android

2009-10-12 Thread Dianne Hackborn
Um. EventHub.cpp reads the data from the driver. You can look at EventHub to see how it reads it. There isn't anything more to say about I don't think -- it reads the next event from the driver, and the driver provides it. (I can't really help you with details in the kernel, I work in the user

[android-kernel] Re: OOM Kill Limit

2009-10-12 Thread Dianne Hackborn
The kernel log will print messages as the android low memory killer is running, such as: <4>[46467.841278] select 1215 (app_process), adj 15, size 3265, to kill <4>[46467.848052] select 1319 (app_process), adj 15, size 3279, to kill <4>[46467.854583] select 1368 (app_process), adj 15, size 3286, t

[android-kernel] Re: OOM Kill Limit

2009-10-12 Thread Anthony
I'm not sure. Is there a way to check on a running phone via a shell? Otherwise, I guess I can sprinkle some printk's in the lowmemorykiller.c. Thanks On Oct 12, 1:27 pm, Dianne Hackborn wrote: > The limits are set with init.irc.  Note that the default limits for level 14 > and 15 are quite hig

[android-kernel] Re: Touchscreen Input event processing in Android

2009-10-12 Thread Leo
Hi Dianne, Thanks for your reply. Can you please describe how events are passed from touch screen DRIVER to EventHub.cpp (JNI layer) when a touch screen event gets generated? Regards Leo On Oct 12, 7:25 pm, Dianne Hackborn wrote: > EventHub.cpp and KeyInputQueue.java are the main participan

[android-kernel] Re: OOM Kill Limit

2009-10-12 Thread Dianne Hackborn
The limits are set with init.irc. Note that the default limits for level 14 and 15 are quite hight, so if the problem is just the limits it means the working set for your build of Android is significantly larger than that of the stock system. Have you made sure that you have the android out of me

[android-kernel] Re: Touchscreen Input event processing in Android

2009-10-12 Thread Dianne Hackborn
EventHub.cpp and KeyInputQueue.java are the main participants. On Mon, Oct 12, 2009 at 10:10 AM, Leo wrote: > > Hi Guys, > > I'll be grateful if someone can explain that how the JNI layer (Native > layer) gets notified by the touchscreen driver when a touchscreen > event occurs? Any documentatio

[android-kernel] Re: Why I cannot download kernel?

2009-10-12 Thread Yuanfarn, S. H. Hsieh
After I tried this, I think that 'revision' must be exist. 2009/9/24 Avtar Singh > Save the following as local_manifest.xml in your .repo directory and then > do a "repo sync": > > > > > > > > On Tue, Sep 22, 2009 at 1:15 AM, Lewis Z. wrote: > >> >> I have tried both >> >> repo init -

[android-kernel] Touchscreen Input event processing in Android

2009-10-12 Thread Leo
Hi Guys, I'll be grateful if someone can explain that how the JNI layer (Native layer) gets notified by the touchscreen driver when a touchscreen event occurs? Any documentation or API flow chart on this will be of great help. Thanks in advance Leo --~--~-~--~~~-

[android-kernel] OOM Kill Limit

2009-10-12 Thread Anthony
The device I'm working on isn't killing processes early enough, and I was wondering where I can change this limit. It seems like mm/ page_alloc.c and mm/oom_kill.c are related, but I don't understand the "zone"s involved. My device starts having a ton of page faults and visually lagging, but ther

[android-kernel] kernel for htc magic

2009-10-12 Thread petter
Hi, i am trying to compile android-2.6.29 kernel for htc-magic(32A) with no success. I downloaded kernel (git repo(msm) from android main repo). When i copy msm_defconfig to root of folder and create zImage, than boot via fastboot: fastboot boot zImage ramdisk.img phone just shows "htc magic" logo

[android-kernel] android htc sooner kernel

2009-10-12 Thread snyder
I'm trying to build a kernel for the htc exca 300, aka sooner. This is an android prototype phone from htc, the kernel running on the phone is <5>Linux version 2.6.22-omap1 (a...@arvelnx.corp.google.com) (gcc version 4.1.1) #1- gc64286dd PREEMPT Tue Aug 28 18:21:25 PDT 2007 <4>CPU: ARM926EJ-S [410