[android-porting] Re: Touch screen can not work correctly

2009-06-11 Thread
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 #define C2 XXX #define C3 #define C4 XX #define C5 X #define C6 #define C7 X newx = (C3 + C1 * x + C2 * y) / C7;

[android-porting] a problem about android_register_early_suspend

2009-07-27 Thread
Dear all: For standard Linux kernel, a driver normally need to implement suspend/resume callbacks to be called when system suspend. For android kernel, a some driver may also call android_register_early_suspend to register some additional callbacks such as: 559