Re: [PATCH] input: elantech.c make sure touchpad is really in absolute mode

From: Dmitry Torokhov
Date: Sat Mar 21 2009 - 01:47:24 EST


Hi Arjan,

On Thursday 19 March 2009 22:52:39 Arjan Opmeer wrote:
> From: Arjan Opmeer <arjan@xxxxxxxxxx>
>
> There exist laptops with Elantech touchpads where switching to absolute
> mode does not happen, although writing the configuration register succeeds
> without error. Reading back the register afterwards reveils that the
> absolute mode bit is not set as if masked out by the touchpad firmware.
>
> Always read back register 0x10, make sure that for hardware version 1 the
> absolute mode bit is actually set and fail otherwise. This prevents the
> case where the touchpad is claimed by the Elantech driver but is
> nonetheless not working.
>

Makes sense, will apply. Although, have you tried repeating the switch or
maybe issuing full reset before trying again?

--
Dmitry

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/