Re: [android-kernel] How to compile kernel for Andro id Virtual Device !

2011-01-05 Thread xiangjun hou
ashutosh deshmukh,thank you very much. now ,i solve this problem. after git clone git://android.git.kernel.org/kernel/common i typed git branch -r all *remote* available *branches are* * * origin/HEAD -> origin/android-2.6.36 origin/android-2.6.35 origin/android-2.6.36 origin/archive/an

[android-kernel] Re: android emulator touch driver

2011-01-05 Thread vkmgeek
Hi, I looked further and I can see file external/qemu/hw/goldfish_events_device.c is the file which sends events to /dev/input and through qemud probably. I am not sure is this good to change this file or not ? If I change this file, it will change "emulator" binary which ofcourse is not acceptab

Re: [android-kernel] How to compile kernel for Andro id Virtual Device !

2011-01-05 Thread ashutosh deshmukh
While starting the emulator, you can specify "debug-all" at command line so that you can view what is all happening when emulator is starting up. It will show you what command line arguments you passed, what is their values and some other useful info for debugging. # emulator @android2.2 -kernel

Re: [android-kernel] How to add new Library or module in Android 2.2 kernel

2011-01-05 Thread Arun K. Singh
B. Hirawat, As a first step you must start writing the proper Makefile for your module. Pick any sample Hello World driver Makefile from web and build your test.ko. This is pretty much independent of Android and like writing a sample driver/module in linux. Primarily you must ensure giving standa