This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello everyone,
I'm working on a custom board based on the AM3517 processor. I'm running Android with root file system provided with the TI Android Gingerbread 2.3.4 DevKit.
add device 2: /dev/input/event1
name: "I2C Touchscreen"
events:
SYN (0000): 0000 0001 0003
KEY (0001): 014a
ABS (0003): 0000 value 0, min 0, max 840, fuzz 0 flat 0
0001 value 0, min 0, max 640, fuzz 0 flat 0
0018 value 0, min 0, max 255, fuzz 0 flat 0
0035 value 0, min 0, max 840, fuzz 0 flat 0
0036 value 0, min 0, max 640, fuzz 0 flat 0
0039 value 0, min 0, max 9, fuzz 0 flat 0
003a value 0, min 0, max 255, fuzz 0 flat 0
With getevent, I see the touch events as expected:
/dev/input/event1: 0003 0035 00000218
/dev/input/event1: 0003 0036 00000091
/dev/input/event1: 0003 003a 00000079
/dev/input/event1: 0003 0039 00000001
/dev/input/event1: 0000 0002 00000000
/dev/input/event1: 0001 014a 00000001
/dev/input/event1: 0000 0000 00000000
/dev/input/event1: 0003 0039 00000000
/dev/input/event1: 0003 003a 00000000
/dev/input/event1: 0000 0002 00000000
/dev/input/event1: 0001 014a 00000000
/dev/input/event1: 0000 0000 00000000
So I think the device is working correctly. Unfortunately, I can't see any interaction with the Android GUI: it seems that the touch events are not detected by the GUI (and I can't unlock the main screen..).
Have you any suggestion? Am I missing something? Maybe the default root file system provided by the devkit doesn't support multitouch? Will it be possibile to add multitouch device support without rebuilding the rfs? I see that the document http://source.android.com/tech/input/touch-devices.html talks about a touch device configuration file, but I don't understand where I have to save this file...
Any help will be greatly appreciated.
Thanks in advance and best regards.
Piero
There are some notes in our wiki page, perhaps it can provide you some pointers:
http://processors.wiki.ti.com/index.php/Capacitive_touch_integration_with_android
Hello,
thanks for your suggestion, but the capacitive input device was working as expected. I solved the problem rebuilding the entire Android root file system. Maybe there is something on the pre-packaged rfs that prevent my hardware to work properly. Unfortunately, I won't have the time to investigate further.
Regards,
Piero