Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2368543rwj; Mon, 19 Dec 2022 03:44:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf5rRNAhLLiJBUxPDOf17qcLSVXFUiE61MQzS35y7P1SQwi3jh99Rpkofkc0CDJtAb/6lafH X-Received: by 2002:a62:1a94:0:b0:56b:dae1:e946 with SMTP id a142-20020a621a94000000b0056bdae1e946mr39812152pfa.28.1671450270460; Mon, 19 Dec 2022 03:44:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671450270; cv=none; d=google.com; s=arc-20160816; b=sgLopW9Db+AQgnvzLRzJRoLppzAlMe5g16meaWJ+UmO1hHacnj5ZqhZ5TTRkqZzsM2 1cr9QCyX6UBKD74aheofmtBvotzsV7TNYgByJ+VmAepP0iuxJh+kEH48aoOJ/6ONrAXE KWg4bSBktl0F6C+bHboNZSilYf3lur9UNcLGrSbr+yNt5uVyewfmZcivPGsjt0m2XhRi ige0VJ5p0doxnFxdXjRjQfkGmjiRvyLyzUt5nNE8p8Q1SzY5qTJKhnRx4cyloMg8rPiL u7vtsbu5FrDN1BPrrmicY0PGKuIhKLUcoQ+3A2ybduqYIGDF0y+Wo9jyNDKksSncRvTN SKfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UXCJuotbswFr5kiRSvayPv0qeiwEbQ+N4sdM87j/Gfc=; b=bSUBHN33fGrPmNVkh2fUvgf3Mxubc4KJrs1V7CesvyHX50U/uBOui0dX+SY6H/ulyd Tlv5y/1H2p41DTJ/2KJ0UDV/4FNK8SnEZt9KrrWYMDq1QuJAMITvpiIEMCNzoEQ88y0m 9NOI+4hZAbrIBsk9mFWzQnKte/D3CQ+bqkJ3ZfGcneOjaiEjbEUQIg95nbaR/OaHQppm OqFTEWhik2JNIZJUUVrgZ/ZxH6C2oCJ3tiWZP+lKg51BoXlrB8tu7N5/xVXeUSGl9dVm swAqGEvChLf8wJWc4RH+uyFi6tIBtZlTeMgNKHCP5HXFuyXC/VkKYAYnofdYL7dEa38U ZiYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eW6XZ2ZC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j16-20020a056a00131000b0056cf9ed8f10si10923563pfu.329.2022.12.19.03.44.21; Mon, 19 Dec 2022 03:44:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eW6XZ2ZC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231706AbiLSK4Y (ORCPT + 70 others); Mon, 19 Dec 2022 05:56:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbiLSK4Q (ORCPT ); Mon, 19 Dec 2022 05:56:16 -0500 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 177A7EE3B for ; Mon, 19 Dec 2022 02:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671447332; 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=UXCJuotbswFr5kiRSvayPv0qeiwEbQ+N4sdM87j/Gfc=; b=eW6XZ2ZCgtmx5+EhUsLx+fJHApybu0XZsdMJKfqDobHBRT8Ztvfm+LXcNEUwBE+ex3JbZB 99sTG70PMzHdSAs2TWQah3X6j1ICxFkpcmgckaGM1+HeRdxZXUjJ9j+zU4bsRSdC47mWAC 8U4DIMnth+Xs0mnMem8ErZXES3B3IC8= 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-1-9a0Z9MxUMsibn0wOjk8oyw-1; Mon, 19 Dec 2022 05:55:28 -0500 X-MC-Unique: 9a0Z9MxUMsibn0wOjk8oyw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2FAF7100F93C; Mon, 19 Dec 2022 10:55:27 +0000 (UTC) Received: from plouf.redhat.com (unknown [10.39.195.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 32994112132E; Mon, 19 Dec 2022 10:55:26 +0000 (UTC) From: Benjamin Tissoires To: Jiri Kosina Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires , stable@vger.kernel.org Subject: [PATCH] HID: multitouch: enable trackstick of Asus ExpertBook B2502 Date: Mon, 19 Dec 2022 11:55:21 +0100 Message-Id: <20221219105521.73467-1-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This device has a trackstick that is sent through the same HID device than the touchpad. Unfortunately there are 2 mice attached to that device descriptor, with the first one for the touchpad when the second is for the trackstick. Force all devices to be exported. Cc: stable@vger.kernel.org # 5.8+ Link: https://bugzilla.redhat.com/show_bug.cgi?id=2154204 Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-multitouch.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 91a4d3fc30e0..91ac72b32d45 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -1860,6 +1860,12 @@ static const struct hid_device_id mt_devices[] = { USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_T304_KEYBOARD) }, + /* Asus ExpertBook with trackstick */ + { .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT, + HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8, + USB_VENDOR_ID_ELAN, + 0x3148) }, + /* Atmel panels */ { .driver_data = MT_CLS_SERIAL, MT_USB_DEVICE(USB_VENDOR_ID_ATMEL, -- 2.38.1