Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3328300imu; Sun, 11 Nov 2018 12:28:55 -0800 (PST) X-Google-Smtp-Source: AJdET5e8Biitpr6BkgYSVftmmemR3rg1WAErqzE/rYVZaPhY3FVcqCPKprSmFzQx+cpqrnNDozhp X-Received: by 2002:a17:902:24c:: with SMTP id 70-v6mr13639829plc.120.1541968135749; Sun, 11 Nov 2018 12:28:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541968135; cv=none; d=google.com; s=arc-20160816; b=wD19eLrJQy51YlUSBFSQTFOvb8lwHdBloa1SzQn8lVyBLaqzWwvopDJVMpj3jBU9bW r+elWIWxluE2cD8zSjK/C+fgxARmvmHoperH5q1pZXHmhA84xWiQlmqu6xUTg6OS6kPv WZNmIfztRClhA5M38N75U6ahjcI5mzplrEtkKfUszbvwOVy15oap3FS/UQtTlcjxEGzU TROLKPdOYMglabTYpVljrEa6qnkizqkF0QKJoqIOxMgZ8oTOs+u/RaqUXgHBBCThqXT3 R/atRp8BNDnntKNjt756Io1eRUOG0iFujsspbbqIgeNaT8HCefYKwJg8WiTJuZYAdoPI xbhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=h/ZnHf7qBLNEUkehOc/YWis6NYyCE9gRkLz+JRffBl4=; b=c06UA3fHR9MpPxVvGyw4Av8s+7JwL3/0nARTuJ/haWHlQgjjm+Wsjf+vpgP1Vu0isl G2l5XiSUehppYS3G+XIRiXOwiOniEVoHILINxMleA4PmXcqYE7Z2ELJ1B0tonrL/+laO 4Gc66uq0mb+naup/X1hkURTJz1u0HYzmQhtaZxLwGm1r02L+EsFkTLoGT+VZPU+MA/q4 RT6DYWUk/KQhln6EtCIhgLB6Sv00Cj8opZjxwl9KpTg9KLrQH+cwejZlczR7HREtno9o vnNGgLdy+Vrj6AAQPRtgzxJqSUbMrTjE7zs/GABPKlWUloZPnoTPMmYeCPYc4o6VO9kh iCVA== ARC-Authentication-Results: i=1; mx.google.com; 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 c4-v6si14746905plo.69.2018.11.11.12.28.40; Sun, 11 Nov 2018 12:28:55 -0800 (PST) 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; 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 S1730561AbeKLFsY (ORCPT + 99 others); Mon, 12 Nov 2018 00:48:24 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50610 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730505AbeKLFsX (ORCPT ); Mon, 12 Nov 2018 00:48:23 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsi-0000oP-At; Sun, 11 Nov 2018 19:58:52 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsZ-0001qo-W1; Sun, 11 Nov 2018 19:58:43 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Tomasz Kramkowski" , "Benjamin Tissoires" , "Jiri Kosina" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 332/366] HID: usbhid: add quirk for innomedia INNEX GENESIS/ATARI adapter In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Tomasz Kramkowski commit 9547837bdccb4af127528b36a73377150658b4ac upstream. The (1292:4745) Innomedia INNEX GENESIS/ATARI adapter needs HID_QUIRK_MULTI_INPUT to split the device up into two controllers instead of inputs from both being merged into one. Signed-off-by: Tomasz Kramkowski Acked-By: Benjamin Tissoires Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hid-ids.h | 3 +++ drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 4 insertions(+) --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -530,6 +530,9 @@ #define USB_VENDOR_ID_IRTOUCHSYSTEMS 0x6615 #define USB_DEVICE_ID_IRTOUCH_INFRARED_USB 0x0070 +#define USB_VENDOR_ID_INNOMEDIA 0x1292 +#define USB_DEVICE_ID_INNEX_GENESIS_ATARI 0x4745 + #define USB_VENDOR_ID_JABRA 0x0b0e #define USB_DEVICE_ID_JABRA_SPEAK_410 0x0412 #define USB_DEVICE_ID_JABRA_SPEAK_510 0x0420 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c @@ -175,6 +175,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_MULTIPLE_1781, USB_DEVICE_ID_RAPHNET_4NES4SNES_OLD, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_2NES2SNES, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_4NES4SNES, HID_QUIRK_MULTI_INPUT }, + { USB_VENDOR_ID_INNOMEDIA, USB_DEVICE_ID_INNEX_GENESIS_ATARI, HID_QUIRK_MULTI_INPUT }, { 0, 0 } };