Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp835048ybi; Fri, 12 Jul 2019 05:26:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNlZLYOaW8Y+tkz1w7VPZPIBwe2yetON7yw4zedVx+sPw8DCPD7QoMBJSfSP3XCG3qB+1K X-Received: by 2002:a63:c24d:: with SMTP id l13mr10707454pgg.330.1562934393583; Fri, 12 Jul 2019 05:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562934393; cv=none; d=google.com; s=arc-20160816; b=xKO63R2HOCSAEJojVSXLtaMkmSu+Dl+aZkfdbE5G/EO6l/E8Io55SOph7f0cEHs4pC tiUatiw6HWdSyNvzL9s020QbnEHHQLDZsXpfD6xTQw2kX/sgxPVk0kry0atE9TN7tab9 XLZP04YU4A6w3IGo42X2B+sEhW3yK5QEyDAdbm2qR+Wbvo5YPdt3xnqMbcsohEBEpzz3 Hd4PoPheX0zV0CTYPifw4ya6oAqjb4EyG2/rDacLxgnI3T5yi8/PZ2ORr1lGoRCx7Tbt wriqeYJo8O6mA1JjWTy3YX3TO5RNexykXkXzuY8s5+NW7icLKrjn0sg6RobYALzABHya wojA== 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=yofPDqK35N0ibyFXUn0fK6bhYhXdVCa8xo33STBLSpg=; b=tUX+WlfNAx4rNjCGiNc1ooaMXvHbLdRG6adpXmps9SfVbmXuCPP+FKOCKzMYRZws++ T2cdgPqnLv3l5P49QsKbqJ6KvlmIA4+bFLKYFPRDkxN9ceQZEGQ80OEgmE+sRH3sqpEM zwuGWQd6vPxQ9izCDbaFq+3EWv8U4559Aopw0HSyvdpl/Vy9H4dx6luNiRjBCM30oifb dnjecDz6ehg2g4UeoJomQ5hNTiUMQiVCHaGyBeqe+4HjMYaBNPoUxZtndN1rsrRtx1xU zXPdG+D4niVnvLno23lUFXjEMI/hTCA4sBtPXZUPGJgUIAPASkRE5tlgeJbWAxJ3YHvb VfMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rj90+PlY; 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.26.18; Fri, 12 Jul 2019 05:26:33 -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=rj90+PlY; 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 S1728043AbfGLMYJ (ORCPT + 99 others); Fri, 12 Jul 2019 08:24:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:60152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726449AbfGLMX5 (ORCPT ); Fri, 12 Jul 2019 08:23:57 -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 5E2862166E; Fri, 12 Jul 2019 12:23:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934236; bh=S8OJE4dmMOXk0Hedyoghw3G15wcBYwwVaW9O18Idrg0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rj90+PlYO68Te+W4/2rO0Uf6yTw9Evyq+T3yj0xz54fNpuwx2mR2pakLCOvtaSFI2 pzqjBZsnfShsqv1rPGmzC3hGQ6CC0RSfeEoFHQ7eVs7LXGyOOIt17TgBYD2gyz/iFG dc3doFfiOmfCZ9TIMvxpBt3MXvlEq9YTivK4QK7E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sebastian Parschauer , Jiri Kosina Subject: [PATCH 4.19 80/91] HID: Add another Primax PIXART OEM mouse quirk Date: Fri, 12 Jul 2019 14:19:23 +0200 Message-Id: <20190712121626.083727374@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121621.422224300@linuxfoundation.org> References: <20190712121621.422224300@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 @@ -1212,6 +1212,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 @@ -131,6 +131,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 },