From patchwork Wed May 27 15:03:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 209702 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30007C433DF for ; Wed, 27 May 2020 15:03:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 15ECC208E4 for ; Wed, 27 May 2020 15:03:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389440AbgE0PDz (ORCPT ); Wed, 27 May 2020 11:03:55 -0400 Received: from gofer.mess.org ([88.97.38.141]:42891 "EHLO gofer.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388922AbgE0PDy (ORCPT ); Wed, 27 May 2020 11:03:54 -0400 Received: by gofer.mess.org (Postfix, from userid 1000) id E0336C63EB; Wed, 27 May 2020 16:03:52 +0100 (BST) From: Sean Young To: linux-media@vger.kernel.org, linux-usb@vger.kernel.org, Greg KH , Oliver Neukum Subject: [PATCH v3 2/3] USB: cdc-acm: blacklist IR Droid / IR Toy device Date: Wed, 27 May 2020 16:03:51 +0100 Message-Id: <20200527150352.18840-3-sean@mess.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200527150352.18840-1-sean@mess.org> References: <20200527150352.18840-1-sean@mess.org> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The IR Droid / IR Toy device used custom protocol over serial line, so it is presenting itself as CDC ACM device. Now that we have proper in-kernel driver for it we need to black-list the device in cdc-acm driver. http://dangerousprototypes.com/docs/USB_Infrared_Toy https://www.irdroid.com/irdroid-usb-ir-transceiver/ Acked-by: Greg Kroah-Hartman Signed-off-by: Sean Young --- drivers/usb/class/cdc-acm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 84d6f7df09a4..1369e3be5019 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1864,6 +1864,12 @@ static const struct usb_device_id acm_ids[] = { }, #endif +#if IS_ENABLED(CONFIG_IR_TOY) + { USB_DEVICE(0x04d8, 0xfd08), + .driver_info = IGNORE_DEVICE, + }, +#endif + /*Samsung phone in firmware update mode */ { USB_DEVICE(0x04e8, 0x685d), .driver_info = IGNORE_DEVICE, From patchwork Wed May 27 15:03:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 209701 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A505C433E0 for ; Wed, 27 May 2020 15:03:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 045AC207CB for ; Wed, 27 May 2020 15:03:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389485AbgE0PD5 (ORCPT ); Wed, 27 May 2020 11:03:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388922AbgE0PD4 (ORCPT ); Wed, 27 May 2020 11:03:56 -0400 Received: from gofer.mess.org (gofer.mess.org [IPv6:2a02:8011:d000:212::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2FA2C03E96E; Wed, 27 May 2020 08:03:55 -0700 (PDT) Received: by gofer.mess.org (Postfix, from userid 1000) id 0A69CC6405; Wed, 27 May 2020 16:03:53 +0100 (BST) From: Sean Young To: linux-media@vger.kernel.org, linux-usb@vger.kernel.org, Greg KH , Oliver Neukum Subject: [PATCH v3 3/3] MAINTAINERS: rc core and lirc maintainership Date: Wed, 27 May 2020 16:03:52 +0100 Message-Id: <20200527150352.18840-4-sean@mess.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200527150352.18840-1-sean@mess.org> References: <20200527150352.18840-1-sean@mess.org> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This has been maintained for some time, update MAINTAINERS to reflect. Signed-off-by: Sean Young --- MAINTAINERS | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 791d2a862e41..73f97fea8ba8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14190,6 +14190,19 @@ L: linux-wireless@vger.kernel.org S: Orphan F: drivers/net/wireless/ray* +RC CORE / LIRC FRAMEWORK +M: Sean Young +L: linux-media@vger.kernel.org +S: Supported +W: http://linuxtv.org +T: git git://linuxtv.org/media_tree.git +F: Documentation/driver-api/media/rc-core.rst +F: Documentation/userspace-api/media/rc/ +F: drivers/media/rc/ +F: include/media/rc-map.h +F: include/media/rc-core.h +F: include/uapi/linux/lirc.h + RCMM REMOTE CONTROLS DECODER M: Patrick Lerda S: Maintained