Hi Rajesh,

Thanks for the quick reply.
I checked on the Debug output:

Pressed on 398,673 :
/dev/input/event1: 0003 0000 0000018e
/dev/input/event1: 0003 0001 000002a1
/dev/input/event1: 0000 0000 00000000
/dev/input/event1: 0001 014a 00000000
/dev/input/event1: 0000 0000 00000000

Well input is accepted, but no respond from the GUI. Apart from the MENU
ICON faded, which causes me unable to enter/exit the menu with "Enter
button" on IMX board.
Reason the MENU ICON fade is cause by:

input_report_key(mxc_inputdev,BTN_TOUCH,X)

If I excluded that on compile. Although MENU ICON doesn't fade on screen
touch, still GUI not respond on touched point.
Did you get the touch screen working completely? Can you please give me more
information?

Thank you.

Best Regards,
Justin

On Wed, Mar 18, 2009 at 10:12 AM, Rajesh N <[email protected]> wrote:

> Hi Justin,
>
>  just check the touchscreen events with "getevent" command, this will show
> cross ponding values for touchscreen events and key pressed events.
>
> Yes, X and Y coordinates are inverted in i.MX31 board, solve that problem
> by subtracting 1000 from X coordinate values obtained , this will solve u r
> problem.
>
> Thanks,
> Rajesh N
>
> On Wed, Mar 18, 2009 at 3:35 PM, Justin <[email protected]> wrote:
>
>>
>> Hail to all experts,
>>
>> I'm trying to get the touch screen working on IMX31 3 stack boards. At
>> "kernel/drivers/input/touchscreen/mxc_ts.c" placed printf to test the
>> touchscreen respond/coordinate input.
>>
>> Well I notice the output x-coor is inverted, everything else looks
>> fine.
>> Kernel is reading the input, but not the Android OS.
>>
>> I tried the suggestion of:
>>
>> http://groups.google.com/group/android-porting/browse_thread/thread/c6db7f339164dafa/3963e322a65ad5e6?lnk=gst&q=Touchscreen#3963e322a65ad5e6
>>
>> I sees logcat: "D/InputManagerService( 1655): hide the small icon for
>> the input method" on the 1st time I touched the screen. After that
>> there isnt any event nor logcat output on the screen touch.
>>
>> Can anyone please give me some clue?
>>
>> Thank you.
>>
>> Best Regards,
>> Justin
>>
>>
>
>
> --
> Best Regards,
> Rajesh N
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to