Beagleboard-xm run Android GINGERBREAD 2.3.4 prebuild images, sendevent can't work!

Hi all

I use beagleboard-xm , and get the android pre-build images for Pre-built Images from

In my application, I want to use the sendevent to finish the following work, move the Cursor to the position, and click.

The code used to move the cursor

sendevent /dev/input/event3 2 0 4
sendevent /dev/input/event3 0 0 0
sendevent /dev/input/event3 2 1 5
sendevent /dev/input/event3 0 0 0

The code used to generate a click

sendevent /dev/input/event3 4 4 589825
sendevent /dev/input/event3 1 272 1
sendevent /dev/input/event3 0 0 0
sendevent /dev/input/event3 4 4 589825
sendevent /dev/input/event3 1 272 0
sendevent /dev/input/event3 0 0 0

But they all didn’t work!

I test this code in a MTK-android board, it can work correctly!

Another question:

I download the source code of Android GINGERBREAD 2.3.4, and want to re-compile the filesystem. I following the instruction of document TI-Android-GingerBread-2.3.4-DevKit-2.1 DeveloperGuide.pdf.

use “make TARGET_PRODUCT= beagleboard OMAPES=5.x -j8”, But about 14h later , the compiler still compiling, why use so long time?

Hi, all
I will do almost the same thing to the beagleboard run Andriod.I want to know if I could write a program to simulate the key click and mouse move,does touch screen will do the same thing that mouse do?

2012/8/13 Eric <>

Any body can help?

在 2012年8月13日星期一UTC+8上午9时47分44秒,Eric写道:

Hi Eric
I do the almost the samething as you do, But the mouse do not work, I find a link say something about to modify the SDL source,I wonder if we should modify the source of SDL to simulate mouse event.

2012/8/16 Eric <>

Hi Eric
I find a topic on TI EE,is the problem you solved?
I want to know how to do it?Thank you

2012/8/17 zeng伟 <>