This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/am3352: Touchscreen double click problem

Part Number: AM3352

Tool/software: Linux

Hello:

Our products are using 8 wires touch screen and 5 wires touch screen with am3352 in linux 3.2.0 which is from sdk 0.6.0.0 ,we  meet the problem that there is always double click in the field.

but our customer do not double click.

We use the default driver in the kernel  ti_tsadc.c and ti_tsc.c just change a little as following.

Since the linux kernel changed a lot ,can anyone tell me is the double click problem beacause of  driver problem?

ctrl = TSCADC_CNTRLREG_STEPCONFIGWRT |
TSCADC_CNTRLREG_STEPID;
//if (pdata->tsc_init)
// ctrl |= TSCADC_CNTRLREG_4WIRE |
// TSCADC_CNTRLREG_TSCENB;


if (pdata->tsc_init) {
if(tsc_wires == 4)
ctrl |= TSCADC_CNTRLREG_4WIRE;
else if(tsc_wires == 5)
ctrl |= TSCADC_CNTRLREG_5WIRE;
else
ctrl |= TSCADC_CNTRLREG_8WIRE;
ctrl |= TSCADC_CNTRLREG_TSCENB;
}

Best regards

wangl