From cccb45c9bff1da33c2423defc20d9040ee0d2077 Mon Sep 17 00:00:00 2001 From: mpi Date: Mon, 25 May 2015 15:04:26 +0000 Subject: [PATCH] Match newer elantech v4 touchpads, logic taken from Linux. Based on a submission from and ok jcs@. --- sys/dev/pckbc/pms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c index d34636127ec..2e7e6e3e4f2 100644 --- a/sys/dev/pckbc/pms.c +++ b/sys/dev/pckbc/pms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pms.c,v 1.60 2015/05/04 09:33:46 mpi Exp $ */ +/* $OpenBSD: pms.c,v 1.61 2015/05/25 15:04:26 mpi Exp $ */ /* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */ /*- @@ -1840,7 +1840,7 @@ elantech_get_hwinfo_v4(struct pms_softc *sc) if (synaptics_query(sc, ELANTECH_QUE_FW_VER, &fw_version)) return (-1); - if (((fw_version & 0x0f0000) >> 16) != 6) + if (((fw_version & 0x0f0000) >> 16) < 6) return (-1); elantech->fw_version = fw_version; -- 2.20.1