Hi,
On Wed, Feb 1, 2012 at 9:54 PM, Francesco Sarasini sarasini@gmail.com wrote:
The changes are seems to be OK. Can you please add some debugging printk in the driver/input/touchscreen/ads7846.c driver?
yes, can you tell me what I have to print? only function calls or also variable values?
Please add printk to show the value of x, y, before and after the OMAP3EVM macro. That will give better idea about the touchevent.
NOTE: Please always CC to the list. So that, you may get better tips from other members.
Bye :)
I noticed that lines in logcat
I/EventHub( 1070): New device: path=/dev/input/event0 name=ADS7846 Touchscreen id=0x20001 (of 0x2) index=2 fd=86 classes=0x4 I/InputReader( 1070): Device added: id=0x20001, name=ADS7846 Touchscreen, sources=00001002 I/InputManager-Callbacks( 1070): No input device calibration properties found for device ADS7846 Touchscreen.
Francesco
2012/2/2 Bharathi Subramanian bharathi.list@gmail.com
Hi,
On Wed, Feb 1, 2012 at 9:54 PM, Francesco Sarasini sarasini@gmail.com wrote:
The changes are seems to be OK. Can you please add some debugging printk in the driver/input/touchscreen/ads7846.c driver?
yes, can you tell me what I have to print? only function calls or also variable values?
Please add printk to show the value of x, y, before and after the OMAP3EVM macro. That will give better idea about the touchevent.
NOTE: Please always CC to the list. So that, you may get better tips from other members.
Bye :)
Bharathi Subramanian
Up, Help!
Francesco
2012/2/7 Francesco Sarasini sarasini@gmail.com
Please add printk to show the value of x, y, before and after the
OMAP3EVM macro. That will give better idea about the touchevent.
I'm sorry, where is the OMAP3EVM macro?
Thanks Francesco
On Tue, Feb 14, 2012 at 7:48 PM, Francesco Sarasini sarasini@gmail.com wrote:
Please add printk to show the value of x, y, before and after the OMAP3EVM macro. That will give better idea about the touchevent.
I'm sorry, where is the OMAP3EVM macro?
Oops. I hope, it is in EVM Code. For BB-xM, it might be different.
The following set of commands are responsible for sending the co-ordinates to user space. You have to add printk before this and check.
input_report_abs(input, ABS_X, x); input_report_abs(input, ABS_Y, y); input_report_abs(input, ABS_PRESSURE, ts->pressure_max - Rt);
Can you share info about code base (Rowboat/Linaro) ?
Bye :)
linaro-android@lists.linaro.org