Enable ads7846 Touchscreen in Android that works on Devkit8000

If you would like to make Android work on Devkit8000, you can follow to patch your kernel which is mentioned in my old article(Android Eclair Porting for Devkit8000). After that you might notice the touchscreen doesn't work, it is a ads7846 kernel driver bug from Embinux. So I modified a few lines of code to fix the bug.

Here is the patch:


  1. When I use this patch, it give me such log, what can I do to deal with it?thanks

    ~/AndroidEclair/kernel$ patch -p0 < devkit8000-touchscreen-android-kernel.patch
    can't find file to patch at input line 5
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    |diff --git a/arch/arm/mach-omap2/board-omap3devkit8000.c b/arch/arm/mach-omap2/board-omap3devkit8000.c
    |index 3ba6ee5..e86d254 100644
    |--- a/arch/arm/mach-omap2/board-omap3devkit8000.c
    |+++ b/arch/arm/mach-omap2/board-omap3devkit8000.c
    File to patch:





Web 技術中的 Session 是什麼?

淺談 USB 通訊架構之定義(一)

淺談 USB 通訊架構之定義(二)

Reverse SSH Tunnel 反向打洞實錄