[android-kernel] Where to put ADB wake lock?

2012-03-03 Thread Arun Joseph
Hi All, For Android smart phones, a wakelock is held to prevent sleep when adb is connected. Which is the ideal place to acquire this wake lock. Is it in adb driver ? or in usb gadget driver? or in the userspace adb deamon? Can anyone point to any such example code? -- unsubscribe: android-kern

[android-kernel] NO such file or directory error when doing insmod in Android Kernel

2012-03-03 Thread Apurva Jaiswal.
I followed the steps in the forum ( http://www.schaeuffelhut.de/wordpress/?p=237&cpage=1#comment-384) to get the linux kernel source and and cross compile my module. The kernel version of the google nexus one is exactly the same as in the forum. I initially tested with my test module hello-1.