Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp848405ybi; Fri, 12 Jul 2019 05:39:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyulK70c2QwGy77UbjGCYfoZM7HkVO5o6agC9QC/PmYoUm1zJA44NWM4cpI/fDQu8DaE9q X-Received: by 2002:a65:50c8:: with SMTP id s8mr4264244pgp.339.1562935172609; Fri, 12 Jul 2019 05:39:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562935172; cv=none; d=google.com; s=arc-20160816; b=MjNDTtrVP6LvEGBezpbL+yU0ZjGxyD1qlkd/sfKLPyno5pjG3FUo/ha3nj47NR723k +ckUMjb3DTyCDUF/0439NZmqgqQh24BxaMk9O+dfqlOGQxZIzr5K9ssN8EHhMxt7dHrD ESwoN0WBXUjgOOxXpslQ5eTpltl9ufv5narinW61Po+ayrP4n7Pw4T6nLtTVrQbfgP9t ooI4mBw/SrlC2zunHwki6WxZJ7K+bUWBsqWP9qUF+qTuVNaXIDNnYA01nEIverfUZJql rNUBicWql1q8Xs/INb1uHPNKBhmvEf6JZdgzb/CE9S7P3Djv0OSbMWi6qRSK5FmUE1V3 TvHQ== 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=HcyDKAE0Gv89aVo7AEW1ZV+0slg5Bz2+9eLiT8lv5Eo=; b=P20WgVDd9ojH0QPF0GCuauGlZI5Sl3rwIwlgLX0BsX9UKH3TQVxaE3hS+isoBGTz5i gLeVRtkKCiAGpb8xTWlpOexn5kixkQKGC6MD9Unih2vgpFTBKueHpFTo/Vi+Ae4ZFv3Z z9gfSi7xuODI2Ux33IxENIa1e972heCflhniuVIVf0SHz8B2z/j9jCpQulqxApZYr5aG jHuvY7GuxWoJxTye407JeCHSeS3u9Edbgjz94Pu2YhZEcRre5n1z07UhLhZNMOpSCBDR C2CgsGYsk/SXt/kIoqMZ/tE9PNPtaUbDL/gKKksaeC2fi9wiTn/ZP46tRfTAMmsMRl3I 8RDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="WwArzJb/"; 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 w6si7869635pjr.100.2019.07.12.05.39.17; Fri, 12 Jul 2019 05:39:32 -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="WwArzJb/"; 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 S1729265AbfGLMg7 (ORCPT + 99 others); Fri, 12 Jul 2019 08:36:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:48582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729021AbfGLMbj (ORCPT ); Fri, 12 Jul 2019 08:31:39 -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 730D7208E4; Fri, 12 Jul 2019 12:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934698; bh=XM4AwhK2dtQj/AFv85BsUsMC9DuD87c4q9CcfU+CFOw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WwArzJb/8nd4TDLBY1+5jkQmVg9yvsFnztJC+QZbhGT3GtrKcetzkpLiRZTFdHMwX KosExjt2u9L3SLVTO5eWDXvsxY8s5KMb8J998/wUsiWTZtxiaUNQuVmUzLcgUo5Lgu BVSHKhmq+rfPGe1zwAIYw4PAESkVS3cV/6bu+TLk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sebastian Parschauer , Jiri Kosina Subject: [PATCH 5.1 123/138] HID: Add another Primax PIXART OEM mouse quirk Date: Fri, 12 Jul 2019 14:19:47 +0200 Message-Id: <20190712121633.460623662@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121628.731888964@linuxfoundation.org> References: <20190712121628.731888964@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 4c12954965fdf33d8ae3883c1931fc29ca023cfb 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 Alienware branded Primax mouse as well. Daniel Schepler (@dschepler) reported and tested the quirk. Reference: https://github.com/sriemer/fix-linux-mouse/issues/15 Signed-off-by: Sebastian Parschauer CC: stable@vger.kernel.org Signed-off-by: Jiri Kosina 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 @@ -1235,6 +1235,7 @@ #define USB_DEVICE_ID_PRIMAX_KEYBOARD 0x4e05 #define USB_DEVICE_ID_PRIMAX_REZEL 0x4e72 #define USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4D0F 0x4d0f +#define USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4D65 0x4d65 #define USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4E22 0x4e22 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -132,6 +132,7 @@ static const struct hid_device_id hid_qu { HID_USB_DEVICE(USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_MOUSE_4D22), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4D0F), HID_QUIRK_ALWAYS_POLL }, + { HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4D65), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4E22), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_PRODIGE, USB_DEVICE_ID_PRODIGE_CORDLESS), HID_QUIRK_NOGET }, { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001), HID_QUIRK_NOGET },