From patchwork Wed Jan 2 18:37:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Stocker X-Patchwork-Id: 10746639 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CE2C014DE for ; Wed, 2 Jan 2019 18:38:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0689283F9 for ; Wed, 2 Jan 2019 18:38:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4A0828405; Wed, 2 Jan 2019 18:38:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67945283F9 for ; Wed, 2 Jan 2019 18:38:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728163AbfABSi0 (ORCPT ); Wed, 2 Jan 2019 13:38:26 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38867 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725993AbfABSiZ (ORCPT ); Wed, 2 Jan 2019 13:38:25 -0500 Received: by mail-wr1-f67.google.com with SMTP id v13so31410786wrw.5; Wed, 02 Jan 2019 10:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=TA7D7NPf3a7RzRwyunv0cgrRhUIXRKrTDkbL04mAHDo=; b=BT1e4HvF9al1/cNjC6Pm/bjrO3l/W7Bb5j6DseDA0igBqzzaixdy0vRPlBG4fny6aj TZvsiLNc6vU0vWUALKVgNmCViSKFxnjOar/m0BwHV3C9fqWh6XDesQudFTjg12/pfzck P+hjenrgvWc401YXEYOLHLMDbGEB02O0eq9H6BBl0kYzzlnP/xykfW4XJDAbb1Q2Er+z YjY7sDt7WsBTNaqubZwvf4joPJ4TUvPwE6oHU4xoranVPDuocR+FiK3sLGGVLL0fca9v Zb8jD/QnZUmJaXqdA2QqLkMPbXupQhyvYABG5eM1nsCqaCZZovhA0QwH14B+Vjaj2/w9 qKUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TA7D7NPf3a7RzRwyunv0cgrRhUIXRKrTDkbL04mAHDo=; b=AKkcaIQHXBLT0cACwOoRA3ligfZYP23/Hn6EZo7Av1kXQKvd37luOiZsbyAf/0J43R WuY9g6ePX6odoj9Nefir3VDwg9sqC5FHl0xjkXtTpLXrCDOXFWR0D5eCrzcztia7PdTq D3aSPA2fFwpf4cRrUc7Khqy+PUsRaEP0PX0A1BR6lGxQo9EWmRmzEvcB5atW0ETd16a8 N8eqz7Mus8AYk05PgMjOmL3ZnrF3wwxwNnh3yM+vYtELgQ+WH6ivTf2LXE0G+6DzVwMt DhRCY8M6Qsgq8TW0XBsBwzmyPaWOZpF3JaiXgrFUwm6Pv0WwhEek0YIyQmSVV0EhoyFt O2MA== X-Gm-Message-State: AJcUukdLSCo8b6LuhnGtL/iOkSklx6ADtNfZ/envHhsTpudL8RROBPO+ FAhEwBdg2PLo53DScmzs5WE= X-Google-Smtp-Source: ALg8bN4NHjE7yjlUe1fw1LVsJB0i6Hryzfv5Tm5TZ68lCg0Pxm7NtN61mIaGeEtZ7QZK8yFIQwkW8Q== X-Received: by 2002:a05:6000:12c4:: with SMTP id l4mr37856892wrx.134.1546454303987; Wed, 02 Jan 2019 10:38:23 -0800 (PST) Received: from jack-All-Series.home (12.221.208.46.dyn.plus.net. [46.208.221.12]) by smtp.gmail.com with ESMTPSA id z206sm42517530wmc.18.2019.01.02.10.38.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jan 2019 10:38:23 -0800 (PST) From: Jack Stocker Cc: Jack Stocker , Greg Kroah-Hartman , Kai-Heng Feng , Seth Forshee , Thadeu Lima de Souza Cascardo , Harry Pan , Kamil Lulko , Danilo Krummrich , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB Date: Wed, 2 Jan 2019 18:37:44 +0000 Message-Id: <1546454264-11561-1-git-send-email-jackstocker.93@gmail.com> X-Mailer: git-send-email 2.7.4 To: unlisted-recipients:; (no To-header on input) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP To match the Corsair Strafe RGB, the Corsair K70 RGB also requires USB_QUIRK_DELAY_CTRL_MSG to completely resolve boot connection issues discussed here: https://github.com/ckb-next/ckb-next/issues/42. Otherwise roughly 1 in 10 boots the keyboard will fail to be detected. Signed-off-by: Jack Stocker Acked-by: Danilo Krummrich --- drivers/usb/core/quirks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index 7909262..4a9267d 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -377,7 +377,8 @@ static const struct usb_device_id usb_quirk_list[] = { USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, /* Corsair K70 RGB */ - { USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT }, + { USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT | + USB_QUIRK_DELAY_CTRL_MSG }, /* Corsair Strafe RGB */ { USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT |