Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4133304pxk; Tue, 8 Sep 2020 11:30:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJym18qVIjwOYzPbA/vdg5ZjPXjK2BAcygaJ0SP+42ha9U7HDpjL8U0OEo5KYZPRSkZVmPp9 X-Received: by 2002:aa7:cb10:: with SMTP id s16mr335017edt.72.1599589844038; Tue, 08 Sep 2020 11:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599589844; cv=none; d=google.com; s=arc-20160816; b=lhnaY5iiqmQ5GamOD3Gd30BFOT0SP4w/KESQ32UQC8kWykqUeOPvJ2oRavAjN6kZ0j dhG8EQqqrOwjmGHnXN5btwk+SEdowcZDc9setIyR+GjtJR3i/1e6o+mgE1/bE/UOJFji Jd1gGsztj6cjen/7P34a618QuZW4LB7Z2+3h4GugfYRMaAF0yMKu5sHs8sWVSV9Q5xhy zUj5VCKurSfdVhNdZ9gXowWG6Rf+wJW4z3Y1HE2msqIH/YkpIrHnSdEA407ROeZHcmMW Znf0Z3fLvuwzsi5HcbAwmgj+9Hit+D7rHUNAcbZUuWbHmbwm4v58vR32cqGaVolTyHIU kQpQ== 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=4ZjpEWre/G2+gY1ahy6DJqAs9FhaUPV9+H175S0XGPo=; b=EAit8Y9kx5RxnLeRgJlLVFO0VqxfXqx1+geqrD0EUhXKItjXYKZWoP/gmwwtMbPaGz UZLqkzjFxbi9B7kGRDM+72xTNZF5bQxjAIqVvhbjMEzd3lLqQd9A3dUQTTs25BeECCaU 9eX+CkTRp5LvbtGsVirm1DbWYXM14hAWYH8w7NJ5mSFPZr1qxJTkmmhc/z2WdPprW9hm iUlpgpiOgR2aderJ+x9J/2DDo4JZvMkCSQTNNwPS/anIgp8tMtnOjk1KmXUuNa3SeBgN g6kDV0BVrziS1A86QDes+iGyQkadmZeBf+T1OxKPlQ1NoUQNvA35IHUQYKrhIW1gpYNL 68WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="kqdIz/zH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si12670322edw.144.2020.09.08.11.30.21; Tue, 08 Sep 2020 11:30:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="kqdIz/zH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729298AbgIHS1S (ORCPT + 99 others); Tue, 8 Sep 2020 14:27:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:55372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731434AbgIHQKb (ORCPT ); Tue, 8 Sep 2020 12:10:31 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 2DBF12477E; Tue, 8 Sep 2020 15:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599579724; bh=liEb9wS+5+25YD6DYXdHt8ZkDlNauJWXR9npdkeue/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kqdIz/zHXvh5329SJoD/jMGCXu1c4qT6h6nzdlg4XCje0YRUasEQ7n/RXvHtryeNg 3hQoX6hklrf1WH+E+bU1C36XNUwcdB9IO8V177Yf1EWkOaa/RGp5fV+Vl5zDJC3hKX UatY9RvIg7bfdTf1NodjIcJaWwwdwcGZLId8fX0Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sebastian Parschauer , Jiri Kosina , Sasha Levin Subject: [PATCH 5.4 001/129] HID: quirks: Always poll three more Lenovo PixArt mice Date: Tue, 8 Sep 2020 17:24:02 +0200 Message-Id: <20200908152229.768706873@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908152229.689878733@linuxfoundation.org> References: <20200908152229.689878733@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Sebastian Parschauer [ Upstream commit 627a49975bdc3220f360a8237603a6344ee6a588 ] The PixArt OEM mice are known for disconnecting every minute in runlevel 1 or 3 if they are not always polled. One Lenovo PixArt mouse is already fixed. Got two references for 17ef:602e and three references for 17ef:6019 misbehaving like this. Got one direct bug report for 17ef:6093 from Wyatt Ward (wyatt8740). So add HID_QUIRK_ALWAYS_POLL for all of them. Link: https://github.com/sriemer/fix-linux-mouse issue 22 Signed-off-by: Sebastian Parschauer Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-ids.h | 3 +++ drivers/hid/hid-quirks.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 09df5ecc2c79b..fbc93d8dda5ed 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -730,6 +730,9 @@ #define USB_DEVICE_ID_LENOVO_X1_TAB 0x60a3 #define USB_DEVICE_ID_LENOVO_X1_TAB3 0x60b5 #define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D 0x608d +#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019 0x6019 +#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_602E 0x602e +#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6093 0x6093 #define USB_VENDOR_ID_LG 0x1fd2 #define USB_DEVICE_ID_LG_MULTITOUCH 0x0064 diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c index b3dd60897ffda..8a739ec50cc00 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -105,6 +105,9 @@ static const struct hid_device_id hid_quirks[] = { { HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M406XE), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_PIXART_USB_OPTICAL_MOUSE_ID2), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D), HID_QUIRK_ALWAYS_POLL }, + { HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019), HID_QUIRK_ALWAYS_POLL }, + { HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_602E), HID_QUIRK_ALWAYS_POLL }, + { HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6093), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_C007), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_C077), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_KEYBOARD_G710_PLUS), HID_QUIRK_NOGET }, -- 2.25.1