Re: [PATCH] input: elantech.c make sure touchpad is really inabsolute mode
From: Arjan Opmeer
Date: Sat Mar 21 2009 - 08:05:20 EST
On Fri, Mar 20, 2009 at 10:46:31PM -0700, Dmitry Torokhov wrote:
> On Thursday 19 March 2009 22:52:39 Arjan Opmeer wrote:
> >
> > 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?
No. I am sorry. I had this problem reported by two different users that both
kind of lost interest when I pointed out that the driver as it stands was
not able to support their laptops. Without access to the hardware and
without users willing to test I am rather stuck.
So I thought the sensible thing left to do was to put an extra check and
warning in the driver to prevent other users from falling in that trap where
their touchpad isn't working.
Arjan
--
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/