[PATCH libinput 2/3] udev: Add support for I2C Elan touchpads (without dmi)

Paul Kocialkowski contact at paulk.fr
Mon Apr 24 13:32:56 UTC 2017


Le lundi 24 avril 2017 à 16:15 +1000, Peter Hutterer a écrit :
> On Fri, Apr 21, 2017 at 01:31:57PM +0200, Paul Kocialkowski wrote:
> > This adds support for I2C Elan touchpads, such as the ones found in
> > various ARM CrOS devices. These devices do not use dmi.
> > 
> > The pressure range is copied as-is from the current Elantech PS/2
> > touchpads entry. It is not adapted to every touchpad configuration.
> > 
> > Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
> > ---
> >  udev/90-libinput-model-quirks.hwdb | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-
> > quirks.hwdb
> > index 9454fde..a78b5a9 100644
> > --- a/udev/90-libinput-model-quirks.hwdb
> > +++ b/udev/90-libinput-model-quirks.hwdb
> > @@ -91,6 +91,10 @@ libinput:name:*ETPS/2 Elantech Touchpad*:dmi:*
> >   LIBINPUT_ATTR_PRESSURE_RANGE=24:8
> >   LIBINPUT_MODEL_ELANTECH_TOUCHPAD=1
> >  
> > +libinput:name:*Elan Touchpad*
> > + LIBINPUT_MODEL_ELANTECH_TOUCHPAD=1
> 
> looks like we can drop this flag, it's not read anymore

Good point, I can do that in the next version of this patcheset.

Cheers,

Paul

> > + LIBINPUT_ATTR_PRESSURE_RANGE=24:8
> > +
> >  ##########################################
> >  # Google
> >  ##########################################
> > -- 
> > 2.12.2
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170424/5a63265f/attachment.sig>


More information about the wayland-devel mailing list