Really thanks a lot! I enabled the configs and my touch works!

By the way, I did not use ts lib, I just do calibration in my kernel:

#define C1 XXXX
#define C2 XXX
#define C3 XXXX
#define C4 XX
#define C5 XXXXX
#define C6 XXXX
#define C7 XXXXX

                newx = (C3 + C1 * x + C2 * y) /  C7;
                newy = (C6 + C4 * x + C5 * y) / C7;

it's only a quick hack: you can only use predefine values.


2009/6/11 zhou kejun <zhouke...@gmail.com>

>
> Hi,
> pls check this post
> (
> http://groups.google.com/group/android-porting/browse_thread/thread/fb64af66b1f877fa/8708ab0ea2b9b545?hl=en&lnk=gst&q=touch+screen+top+bar#
> ), it is really helpful.
>
> make menuconfig
> enable:
> PM
> Power Management support
> Suspend to RAM and standby
> Wake lock
> Wake lock stats
> Userspace wake locks
> Early suspend
>
> User-space screen access -> Sysfs interface
>
>
> regards
>
> zhou kejun
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to