[DEV] Little help with AOKP Port?

sylentprofet

Senior Member
Jun 10, 2010
283
1,857
0
Sacramento
Hi everyone! So I've spent the past couple days trying various compiles of AOKP trying to get the darn touchscreen working on the A200, to no avail.

Here's my slapped-together post:
http://forum.xda-developers.com/showthread.php?p=27124195#post27124195

Here's what I've discovered so far, any help or nudges in the right direction would be greatly appreciated.

The atmel-maxtouch.idc file is copied successfully to /system/usr/idc

In this file, it defines

Code:
touch.deviceType = touchScreen
However, if I run a terminal and "dumpsys window", in the midst of all that information it shows something along the lines of:

Code:
Input Reader State
   Device 1: acer-touch
      IsExternal: false
(a whole bunch of junk)
      Touch Input Mapper:
         Parameters:
           GestureMode: spots
           DeviceType: pointer
(more stuff that might be relevant but that last line is the main one I noticed)
So it's treating it like a pointer (as per the Android deviceType guidelines) but I have no idea why.

I've been using Obsidian's kernel installed after the fact in CWM, so I was suspecting that it was something going wrong in my compile process when it calls for a kernel file in BoardConfig.mk

Cloned the git from the android_kernel_acer_t20-common, made some small random edits, and attempted another compile

Code:
#TARGET_PREBUILT_KERNEL := device/acer/picasso/prebuilt/kernel #from the stock picasso process, which I use usually
TARGET_KERNEL_SOURCE := kernel/android_kernel_acer_t20-common #my fresh attempt at compiling a kernel
TARGET_KERNEL_CONFIG := cyanogenmod_picasso_e_defconfig
Flashed it, still no luck. It won't get past the Acer bootloader screen. If I go back into CWM and flash Obsidian's CM9 kernel, it boots fine but with the pointer touch action. WiFi works still, everything seems generally ok.

I was reading that the way Android handles touch input has changed in ICS, and drivers may need to be updated to reflect some things, but at that point the sun was coming up and I was losing the will to live.

Any ideas? Thanks in advance.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone