I would second that..however, even with Eclair or FroYo, Android doesn't automatically handle touch screen inputs. You have two options, 1) integrate TSLIB into Android (search for it, it's already been done) and use that to handle the touch inputs with a calibration file, 2) manually scale the incoming touch values based on your screen size/resolution..
Regards -- Ashwin On Sat, Nov 27, 2010 at 9:59 AM, Al Sutton <[email protected]> wrote: > Have you considered porting Froyo instead? I'm slightly curious as to why > anyone would still be porting Donut (or even Eclair), and I've been working > on Froyo on the ViewPad 10 so I might be able to help. > Al. > ====== > Funky Android Limited is registered in England & Wales with the company > number 6741909. > > The views expressed in this email are those of the author and not > necessarily those of Funky Android Limited, it's associates, or > it's subsidiaries. > On 27 Nov 2010, at 13:02, bala krishnan wrote: > > Hi, > I am porting Donut version of android to our development board(pxa300 > based). I have used two input to devices mouse and touch screen to my board. > Mouse is working well after applying "cursor.patch", which is attached with > this mail. Touch is not responding ie touch input is recognized by kernel > and supplied to android layer also but there is no response on screen. I am > newbie to android framework, advice me some approach to debug/solve. > > logcat output > ============== > while touching left top screen > ------------------------------------------- > V/WindowManager( 65): Event: type=4 data=MotionEvent{43a0daa8 action=2 > x=11.064225 y=222.40962 pressure=1.7066667 size=0.0} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=11.064225 y=222.40962 pressure=1.7066667 size=0.0} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 > x=11.064225 y=222.40962 pressure=1.7066667 size=0.0} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=230.0 y=126.0 pressure=1.7066667 size=0.0} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 x=230.0 > y=126.0 pressure=1.7066667 size=0.0} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=52134, repeat @ 10026674 > V/WindowManager( 65): Event: type=4 data=MotionEvent{43a0daa8 action=2 > x=9.44507 y=222.40962 pressure=1.7066667 size=0.0} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=9.44507 y=222.40962 pressure=1.7066667 size=0.0} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 > x=9.44507 y=222.40962 pressure=1.7066667 size=0.0} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=230.0 y=126.0 pressure=1.7066667 size=0.0} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 x=230.0 > y=126.0 pressure=1.7066667 size=0.0} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=52154, repeat @ 10026674 > V/WindowManager( 65): Event: type=4 data=MotionEvent{43a0daa8 action=2 > x=11.3340845 y=222.88367 pressure=1.7066667 size=0.0} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=11.3340845 y=222.88367 pressure=1.7066667 size=0.0} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 > x=11.3340845 y=222.88367 pressure=1.7066667 size=0.0} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=230.0 y=126.0 pressure=1.7066667 size=0.0} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 x=230.0 > y=126.0 pressure=1.7066667 size=0.0} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=52175, repeat @ 10026674 > V/WindowManager( 65): Event: type=4 data=MotionEvent{43a0daa8 action=2 > x=11.3340845 y=222.88367 pressure=0.0 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=11.3340845 y=222.88367 pressure=0.0 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 > x=11.3340845 y=222.88367 pressure=0.0 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=230.0 y=126.0 pressure=0.0 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 x=230.0 > y=126.0 pressure=0.0 size=0.06666667} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=52233, repeat @ 10026674 > > while touching right bottom screen > -------------------------------------------------- > V/WindowManager( 65): Event: type=4 data=MotionEvent{43a0daa8 action=2 > x=9.175212 y=222.88367 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=9.175212 y=222.88367 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 > x=9.175212 y=222.88367 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=230.0 y=126.0 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 x=230.0 > y=126.0 pressure=1.7066667 size=0.06666667} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=94640, repeat @ 10026674 > V/WindowManager( 65): Event: type=4 data=MotionEvent{43a0daa8 action=2 > x=491.81833 y=12.6414 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=491.81833 y=12.6414 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 > x=491.81833 y=12.6414 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43a0daa8 action=2 > x=230.0 y=126.0 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43a0daa8 action=2 x=230.0 > y=126.0 pressure=1.7066667 size=0.06666667} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=94661, repeat @ 10026674 > V/WindowManager( 65): Event: type=4 data=MotionEvent{43aab270 action=2 > x=492.35803 y=12.6414 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43aab270 action=2 > x=492.2231 y=12.6414 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43aab270 action=2 > x=492.2231 y=12.6414 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43aab270 action=2 > x=230.0 y=126.0 pressure=1.7066667 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43aab270 action=2 x=230.0 > y=126.0 pressure=1.7066667 size=0.06666667} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=94680, repeat @ 10026674 > V/WindowManager( 65): Event: type=4 data=MotionEvent{43aab270 action=2 > x=492.2231 y=12.6414 pressure=0.0 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43aab270 action=2 > x=492.2231 y=12.6414 pressure=0.0 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43aab270 action=2 > x=492.2231 y=12.6414 pressure=0.0 size=0.06666667} > V/WindowManager( 65): dispatchPointer MotionEvent{43aab270 action=2 > x=230.0 y=126.0 pressure=0.0 size=0.06666667} > V/WindowManager( 65): waitForLastKey: mFinished=true, mLastWin=null > I/WindowManager( 65): Enter to find the targeted windows > I/WindowManager( 65): find the targeted windows > V/WindowManager( 65): Skipping: null MotionEvent{43aab270 action=2 x=230.0 > y=126.0 pressure=0.0 size=0.06666667} > E/WindowManager( 65): Input thread received uncaught exception: > java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): java.lang.RuntimeException: Event already in queue! > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleLocked(KeyInputQueue.java:569) > E/WindowManager( 65): at > com.android.server.KeyInputQueue.recycleEvent(KeyInputQueue.java:527) > E/WindowManager( 65): at > com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:3918) > E/WindowManager( 65): at > com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:5377) > E/WindowManager( 65): at > com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:5271) > V/WindowManager( 65): Waiting for next key: now=94749, repeat @ 10026674 > > Thanks > J.Balakrishnan > > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > <cursor.patch> > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
