Greetings, I'm working on a porting for a custom board based on at91sam9m10 SoC. I patched my own kernel (2.6.37.2) with android patches (using official git repositories); I recompiled android platform (repo init && repo sync) based on "generic" target to get a small rootdisk.
Framebuffer driver and touch driver are working fine. However I was stuck in the android lock screen, touch screen events seemed disabled, no touch-slide was possible. After few days I figured out the issue: I had no /sys/power/wake_lock file! Here is the changeset: http://android.git.kernel.org/?p=kernel/common.git;a=commitdiff;h=507fedc71561e41a09d057f9b3c474b9738fb7db My .config does not implements CONFIG_PM_SLEEP and wake_xxx_attr files depend on it. Earlier, declaration do not depend of CONFIG_PM_SLEEP: #ifdef CONFIG_USER_WAKELOCK power_attr(wake_lock); power_attr(wake_unlock); #endif So I moved the #endif. After a retry /sys/power/ was correctly populated. The touch screen was working fine. I found a past issue that may be related: http://groups.google.com/group/android-porting/browse_thread/thread/8158b8069a01382/160d83ff473f4e48?lnk=gst&q=multi+touch Is there an official process for reporting a bug? Best regards, Matthieu Crapet --- diff --git a/kernel/power/main.c b/kernel/power/main.c index 8211d56..749a6e7 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -328,11 +328,11 @@ static struct attribute * g[] = { #ifdef CONFIG_PM_DEBUG &pm_test_attr.attr, #endif +#endif #ifdef CONFIG_USER_WAKELOCK &wake_lock_attr.attr, &wake_unlock_attr.attr, #endif -#endif NULL, }; -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel