Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2469551imj; Mon, 18 Feb 2019 06:34:26 -0800 (PST) X-Google-Smtp-Source: AHgI3IbW7wjr3TD7r2ITdiVzmhyWRBUQq3wkbI+QqVAFj/Lan8WD88fUxvStqozslLlxkhQS5QyL X-Received: by 2002:a17:902:b082:: with SMTP id p2mr22460047plr.299.1550500466157; Mon, 18 Feb 2019 06:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550500466; cv=none; d=google.com; s=arc-20160816; b=fhb4GBDU927kUL8VZkhoQyuOwel9VLqQ7aWLWRGNv9HlGi053ojeUtfokb4PtIZgIb Qy4HYhrdrB/8SsA2pEvOc/UEsm+PNerAGWxIoIDNrB5UpoWLPodeUKl7iHpVC6QahmEB 0VuBmnLaHs21KwwnpzJmvyGrDe8tFYzJIya7riz2pPlDAqRf3fgDPiNY3KwemoPUtAto zEPeMXZjyWL1pX6unyYz0ng/szL9MuBj0/Z19DIVJ+Z0mQuDhll/tCHRD4zTaPnuUlxc fCbDF/MeBhR3bzs45rd0WxCeVkUBAgtyUVX7z3kKC2p3x+DTiswxrXGk4+lu5mBTAK/f 4+nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MYdBFgVXAlsdM9gIpMlm9AR15doUF7di8lg3WUjxxW4=; b=ow1eZjV6gD5ZIgJgCi1lagnbBgWeo5TShDzATKULtEGWrAUd/EA6Cz+59F4gQz04/+ URQ/BAOd2MT32cn0vhous/p38E/nYwob036No6z5QMzget+T5hiH7y/LqPp+pkg12uPX uNIBfQveNdo30zodDyN80EayxhF3i39mquyBCy5OTdjD28VXPACTJQjbYDhBp1hz7xYR pWEzqo9j3jCT7qTKDdd0UU2km8AHZ5H3v//uP6QKVybIoFH5nRBPmdS5okEWEDNJ/8Vs 2JzpdJO+0Z/RYbJPas1CPHcml9mWoJ/cNQmJd2lStQQUlITYvPZkuXeyrGMyLmZS/C8m jYLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LqA60vqA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si14097659pfb.283.2019.02.18.06.34.10; Mon, 18 Feb 2019 06:34:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LqA60vqA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732763AbfBROdU (ORCPT + 99 others); Mon, 18 Feb 2019 09:33:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:37544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388043AbfBRN5K (ORCPT ); Mon, 18 Feb 2019 08:57:10 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F20EF20842; Mon, 18 Feb 2019 13:57:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550498229; bh=tuUJjp1rIEhPRTPWr0dJZMu7fj2lKEFO6hDe5O1Agt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LqA60vqAmdJ6TKunVGeJNHxEDEy/h0+QZVA3+o+gvS+oAt55WlVNcDKeNdSv2ZQEi pXF7PtAKlmbLpOqqk9zS1cpSpsP7qDL51tVM23ZuGSo1V8DdB2cQer9ZF68UcT40LH sxDwEYfDHmYll/K+KRr+tWoY/wF7e1pwQPQptF/4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matti Kurkela , Dmitry Torokhov Subject: [PATCH 4.14 48/62] Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780 Date: Mon, 18 Feb 2019 14:43:54 +0100 Message-Id: <20190218133509.933211574@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190218133505.801423074@linuxfoundation.org> References: <20190218133505.801423074@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Matti Kurkela commit e8b22d0a329f0fb5c7ef95406872d268f01ee3b1 upstream. Like Fujitsu CELSIUS H760, the H780 also has a three-button Elantech touchpad, but the driver needs to be told so to enable the middle touchpad button. The elantech_dmi_force_crc_enabled quirk was not necessary with the H780. Also document the fw_version and caps values detected for both H760 and H780 models. Signed-off-by: Matti Kurkela Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/mouse/elantech.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -1121,6 +1121,8 @@ static int elantech_get_resolution_v4(st * Asus UX31 0x361f00 20, 15, 0e clickpad * Asus UX32VD 0x361f02 00, 15, 0e clickpad * Avatar AVIU-145A2 0x361f00 ? clickpad + * Fujitsu CELSIUS H760 0x570f02 40, 14, 0c 3 hw buttons (**) + * Fujitsu CELSIUS H780 0x5d0f02 41, 16, 0d 3 hw buttons (**) * Fujitsu LIFEBOOK E544 0x470f00 d0, 12, 09 2 hw buttons * Fujitsu LIFEBOOK E546 0x470f00 50, 12, 09 2 hw buttons * Fujitsu LIFEBOOK E547 0x470f00 50, 12, 09 2 hw buttons @@ -1173,6 +1175,13 @@ static const struct dmi_system_id elante DMI_MATCH(DMI_PRODUCT_NAME, "CELSIUS H760"), }, }, + { + /* Fujitsu H780 also has a middle button */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), + DMI_MATCH(DMI_PRODUCT_NAME, "CELSIUS H780"), + }, + }, #endif { } };