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 F2AE7C433EF for ; Tue, 30 Nov 2021 14:50:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242340AbhK3Oxv (ORCPT ); Tue, 30 Nov 2021 09:53:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242736AbhK3Owg (ORCPT ); Tue, 30 Nov 2021 09:52:36 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7202C0613ED; Tue, 30 Nov 2021 06:48:22 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 91C8CCE1A3E; Tue, 30 Nov 2021 14:48:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09E87C53FD3; Tue, 30 Nov 2021 14:48:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638283699; bh=odx8qL1TMIvvlfh1vMm6j9AVYLh6gBs/yL2ViP2g4R4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mjEsoyOVljNAkeMN+ZxTl7+0MfYDr1u0d1zR9EBnvhjHxYgwgNbbvAZ9BQRW4E56q cdWINq0JlvyKNlU2SG4Y3GUoqe00kEG+P6hmkBC/8CAwTzFkqf7y5jNmRYQYMKAECr m2CXvE05JSYdoNBSMIS0S93Baob3sEMZRT/52l1p0YOS+2Q6hiZkykuyaVPv286X+Q RALyn1hUg3uz6nBveiEzt7rWVHZKZ41Dlied+jXxgCToJ7z6tKRWTrsDTBuSOXLx1c 4o47hl/0hfmZRuVhCjZsH0WjBEtyK3HPqMY8qojZrjJWFB00S9RNWXI2KiPW9OqgZC kBTGMVWk3oZ5Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Ondrej Zary , Benjamin Tissoires , Jiri Kosina , Sasha Levin , jikos@kernel.org, linux-input@vger.kernel.org Subject: [PATCH AUTOSEL 5.15 25/68] HID: multitouch: Fix Iiyama ProLite T1931SAW (0eef:0001 again!) Date: Tue, 30 Nov 2021 09:46:21 -0500 Message-Id: <20211130144707.944580-25-sashal@kernel.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211130144707.944580-1-sashal@kernel.org> References: <20211130144707.944580-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ondrej Zary [ Upstream commit 32bea35746097985c48cec836d5f557a3b66b60a ] Iiyama ProLite T1931SAW does not work with Linux - input devices are created but cursor does not move. It has the infamous 0eef:0001 ID which has been reused for various devices before. It seems to require export_all_inputs = true. Hopefully there are no HID devices using this ID that will break. It should not break non-HID devices (handled by usbtouchscreen). Signed-off-by: Ondrej Zary Reviewed-by: Benjamin Tissoires Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-multitouch.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index e1afddb7b33d8..082376a6cb3d7 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -1888,6 +1888,11 @@ static const struct hid_device_id mt_devices[] = { MT_USB_DEVICE(USB_VENDOR_ID_CVTOUCH, USB_DEVICE_ID_CVTOUCH_SCREEN) }, + /* eGalax devices (SAW) */ + { .driver_data = MT_CLS_EXPORT_ALL_INPUTS, + MT_USB_DEVICE(USB_VENDOR_ID_DWAV, + USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER) }, + /* eGalax devices (resistive) */ { .driver_data = MT_CLS_EGALAX, MT_USB_DEVICE(USB_VENDOR_ID_DWAV, -- 2.33.0