From patchwork Fri Sep 9 20:21:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lyude Paul X-Patchwork-Id: 12972155 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AABEDECAAD3 for ; Fri, 9 Sep 2022 20:21:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232013AbiIIUVm (ORCPT ); Fri, 9 Sep 2022 16:21:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231663AbiIIUVl (ORCPT ); Fri, 9 Sep 2022 16:21:41 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DAFB97D57 for ; Fri, 9 Sep 2022 13:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662754899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=kTmFwjHdd6+ItQzjjW7E8XOZYRWV20W1ZUoai6+hbpY=; b=VvlNc1huhDiBezp1Cr43TmLAlpemdgZ+MrBnXI6PlMfpQgvkNrHuIMqpbwAqB03Ho6qAOj Fqg73wRVuxLoCCuQk6UN7bjxA1tQ52hTnOjCwwTyNXw0i9L7OYoGASeg3Ap0wbdAfCjxwO 2/oE+/dvKNFGX7ZMWrhXhLQ6g99s/j8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-669-5xGWCX6yMJKi2CGIFnYV_w-1; Fri, 09 Sep 2022 16:21:36 -0400 X-MC-Unique: 5xGWCX6yMJKi2CGIFnYV_w-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C4CAA101A56D; Fri, 9 Sep 2022 20:21:35 +0000 (UTC) Received: from emerald.lyude.net (unknown [10.22.18.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id 853AE492C3B; Fri, 9 Sep 2022 20:21:35 +0000 (UTC) From: Lyude Paul To: linux-input@vger.kernel.org Cc: Mark Pearson , Dmitry Torokhov , Matthew Haughton , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] Input: synaptics: Enable InterTouch for the ThinkPad P1 G3 Date: Fri, 9 Sep 2022 16:21:26 -0400 Message-Id: <20220909202127.141761-1-lyude@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Noticed this while trying to debug some unrelated issues: this laptop has the ability to use rmi4 but doesn't by default. So let's fix that. Tested locally, including mouse buttons, on my ThinkPad P1 G3. This might also enable the X1 Extreme G3, but I don't have such a system to test locally (presumably Mark can chime in if that's the case). Signed-off-by: Lyude Paul Cc: Mark Pearson --- drivers/input/mouse/synaptics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 434d48ae4b12..9ad03a592ceb 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -182,6 +182,7 @@ static const char * const smbus_pnp_ids[] = { "LEN0099", /* X1 Extreme Gen 1 / P1 Gen 1 */ "LEN009b", /* T580 */ "LEN0402", /* X1 Extreme Gen 2 / P1 Gen 2 */ + "LEN040f", /* P1 Gen 3 */ "LEN200f", /* T450s */ "LEN2044", /* L470 */ "LEN2054", /* E480 */