I added the following lines to the driver so that ts_calibrate (tslib calibration utility) did not complain about the device not being a touchscreen.



set_bit(EV_KEY, aura.input_dev->evbit);
set_bit(ABS_X, aura.input_dev->absbit);
set_bit(ABS_Y, aura.input_dev->absbit);
set_bit(BTN_TOUCH, aura.input_dev->keybit);



I can now run the ts_calibrate utility and the screen displays a cursor and some text ‘Touch Cursor to Calibrate’. I can see the cursor but cannot seem to get it to accept my finger or a stylus as input right on top of it.



# ts_calibrate
xres = 640, yres = 480



I can also run the ts_test utility and touch the screen which causes tslib to print some events. It certainly acknowledges the touch events but the X and Y values are always 0, and the pressure value seems to be locked at the max value.

# ts_test

…
948233490.075589: 0 0 255
948233490.075589: 0 0 255
948233490.089995: 0 0 255
948233490.089995: 0 0 255

…

Any thoughts on why I am getting no real data here?