Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp5847773ybn; Sun, 29 Sep 2019 07:01:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwv8jW8Nx2jKqANuflpvCDy9RgmGX3UlQp8XgKCSEVgGJ8jMYywQmZgjk7HzgcPRrpUhBoS X-Received: by 2002:a17:906:80c3:: with SMTP id a3mr15208336ejx.271.1569765713960; Sun, 29 Sep 2019 07:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569765713; cv=none; d=google.com; s=arc-20160816; b=uMSWm0cpCfEg0kM+QsIXA8JBVuOpqotAIwOg+Elwl2wZ8/7tec96LORdYtKiyZs9A/ BsTnsekIijUAj++NohCcHVKEBKPI8uNEonooWxqkE9kMwgvtjIa8J3NzQqSTA0PGT7fI WFae42KEUIKzYrRT+l+OkFkhv4mEmQUPFDQsPEA+8Uv8U2eljs6jcN8/qWWPxnihWJWm +gmDX8tf+mVXfl4gGbU6g0z7Dfr6JypUICYlZOYIpgmEkwORz9iDkC0oBFm9mReu9Mej 9/T7u7ICtlvPPPnGjjZ8jTLCBHk8GUEaM/dz3rEGBppF9OUOj4KPM2cgHApH+9fofN3/ +hQg== 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=Izo+5NzYB8Lj7WlVi98coamSdFT6mXvf/f2KYQmbtSo=; b=Up0HGebs4JejXVVl7n6geb5y+AfEKRgogDGfP8Gr8RcAjskMqjicM5TZsDVWM9Z80y JwhqotWcFCbVQjbSU9d8Yplueo5kPQ+OEtjz18zpEiqzmuNuMBjfo2+Zo9PZmidZC/1W Vai11Wed7KDp0lEPQEZQxIX/HzUhb85BpEhmZODBVmGisRPEJsC51wth8OZafWkUdlJr WTUY4MrbCjqgWirhI0rlqjLfstWsm+Up8zksWVvVP8Y1qtWBjYdhlH+ftAQ14FX91J8Y myUtgkjlNKiRFYGs6z/eY6964cv9i9UcJd8QdM+FhfSAoSsilG1mVm5mXxv8GmsygVSK mvAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EifbAEiX; 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 rh23si5307054ejb.75.2019.09.29.07.01.29; Sun, 29 Sep 2019 07:01:53 -0700 (PDT) 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=EifbAEiX; 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 S1729945AbfI2OAp (ORCPT + 99 others); Sun, 29 Sep 2019 10:00:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:42654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729265AbfI2OAo (ORCPT ); Sun, 29 Sep 2019 10:00:44 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 435DD2082F; Sun, 29 Sep 2019 14:00:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569765643; bh=tc+9ecajeaF7Idbb9L5Fne31qRmYd0nExZm3ricfaoQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EifbAEiXXwHXyoVX/nEAvLq5rj7VR5yvuPDHIzXBBci/Mjcjgxp0VRuMm1tEk0p59 ighaqSEH9FegPs2ngeCHPnHj7t9F7v0YCq2Cyr3kUIUYEUWM9rKMYgY3WSayaoQZay ZlMVRkJHA2E4TqFD25zDGvcyjb2usKuszLkCVnBM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sebastian Parschauer , Benjamin Tissoires Subject: [PATCH 5.2 17/45] HID: Add quirk for HP X500 PIXART OEM mouse Date: Sun, 29 Sep 2019 15:55:45 +0200 Message-Id: <20190929135029.804090652@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190929135024.387033930@linuxfoundation.org> References: <20190929135024.387033930@linuxfoundation.org> User-Agent: quilt/0.66 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 commit 2acf40f0454d41b8d51c95d317283c20c931164d upstream. The PixArt OEM mice are known for disconnecting every minute in runlevel 1 or 3 if they are not always polled. So add quirk ALWAYS_POLL for this one as well. Ville Viinikka (viinikv) reported and tested the quirk. Link: https://github.com/sriemer/fix-linux-mouse issue 15 Signed-off-by: Sebastian Parschauer CC: stable@vger.kernel.org # v4.16+ Signed-off-by: Benjamin Tissoires Signed-off-by: Greg Kroah-Hartman --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-quirks.c | 1 + 2 files changed, 2 insertions(+) --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -568,6 +568,7 @@ #define USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A 0x0b4a #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE 0x134a #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A 0x094a +#define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0941 0x0941 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641 0x0641 #define USB_VENDOR_ID_HUION 0x256c --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -91,6 +91,7 @@ static const struct hid_device_id hid_qu { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A), HID_QUIRK_ALWAYS_POLL }, + { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0941), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_IDEACOM, USB_DEVICE_ID_IDEACOM_IDC6680), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_INNOMEDIA, USB_DEVICE_ID_INNEX_GENESIS_ATARI), HID_QUIRK_MULTI_INPUT },