From patchwork Wed Aug 8 23:56:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Maxence_Dupr=C3=A8s?= X-Patchwork-Id: 10560633 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 B33911057 for ; Wed, 8 Aug 2018 23:56:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 968592A809 for ; Wed, 8 Aug 2018 23:56:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 867D42A823; Wed, 8 Aug 2018 23:56:40 +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=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, FROM_EXCESS_BASE64,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 0634D2A809 for ; Wed, 8 Aug 2018 23:56:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730262AbeHICSf (ORCPT ); Wed, 8 Aug 2018 22:18:35 -0400 Received: from mail-oln040092068104.outbound.protection.outlook.com ([40.92.68.104]:58515 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729732AbeHICSf (ORCPT ); Wed, 8 Aug 2018 22:18:35 -0400 Received: from HE1EUR02FT052.eop-EUR02.prod.protection.outlook.com (10.152.10.60) by HE1EUR02HT060.eop-EUR02.prod.protection.outlook.com (10.152.11.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.1038.3; Wed, 8 Aug 2018 23:56:33 +0000 Received: from VI1PR0902MB2191.eurprd09.prod.outlook.com (10.152.10.53) by HE1EUR02FT052.mail.protection.outlook.com (10.152.11.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.1038.3 via Frontend Transport; Wed, 8 Aug 2018 23:56:33 +0000 Received: from VI1PR0902MB2191.eurprd09.prod.outlook.com ([fe80::75f2:35a0:1d4d:e009]) by VI1PR0902MB2191.eurprd09.prod.outlook.com ([fe80::75f2:35a0:1d4d:e009%5]) with mapi id 15.20.1017.019; Wed, 8 Aug 2018 23:56:33 +0000 From: =?utf-8?q?Maxence_Dupr=C3=A8s?= To: "linux-usb@vger.kernel.org" Subject: [PATCH] WORLDE Controller KS49 or Prodipe MIDI 49C USB controller Thread-Topic: [PATCH] WORLDE Controller KS49 or Prodipe MIDI 49C USB controller Thread-Index: AQHUL3NuKPLaPI4XNkmYUH+5XWtmrw== Date: Wed, 8 Aug 2018 23:56:33 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR0102CA0051.eurprd01.prod.exchangelabs.com (2603:10a6:7:7d::28) To VI1PR0902MB2191.eurprd09.prod.outlook.com (2603:10a6:802:11::26) x-incomingtopheadermarker: OriginalChecksum:CD0EF62D13CC0EE499693073C189A7B2A5CED191EDE1F267B542D95078272089;UpperCasedChecksum:E757106C7C4599387C11CEDE03D708F8ADC97FF8A7AC21D1A8DFA884F52A746E;SizeAsReceived:7350;Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [242fj61qR/i8iB0fFUJn4qhDyWF6pUxu] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1EUR02HT060;6:2BnLBq91ElzTZCdgN5O9nfHVg/fkZ+ykRiqCuRs2pLu/4l7TkOO8iXbJt3aJ0ugbDzQa/O7EMweF/K/OXqQgYwZPvePwLlA4s/5H7uhUq3FRA47Rxvof2FMvhE6RDiRuLnVt7h2+b6P29fknbJO/5EucX9pXg74hB1HAckdyrDj6M/qPEXTnjy0gOm3A1aRbLSPnSbM3SGUW494jfwfEQlC8jpI5PsxhGRdMBRaGuZCWTOw7kzcIdeC0ogjGa6naQzM+ESgn+kOokWEs6iEGv4pbcNJZCvGOdF6QKlwRceX41ofFZxiYmLooDM6AdzPJxrpgBX3eVjshnLUO/C/gweld55Anvj5hC3TXr3IkjROi+6d474ZPWw2n8i+qAq+6jAm17WoM7DzTQwSYiQKV7FV5N/ySzlb6Yf6kDe2aQbbOae480mJO4RIivqX0lZOmaxXnhgrtF2HoqxlyMTHGDg==;5:MKEAUv7wNrTqCr8UaFXyElW7axGB5OIrAw/xM005JXbSiIW6R9NHyDgF5a47mL37AxGl4PIdmTax3JVceowEywxxGkW6lFS9WPnSBMogvh6IgxN0B3aI/vkuBBZc/RiLIhaeYSQM8GB/FPNcEoH5QOL6Ny92MhwZwrFipJwARmk=;7:SXNaSfc1V3/KKdqvU+8rWcNuydb4B9oWnT7FpvN/3qQ1+vCxT+n45Q5RG6OHq8ZKyBzhbNVZeoma2WZv7r8mXZnR7jpqoACJ2LoOo8TmIq4Cal0ixNwlaMnLBl9RXZvOGaNEg+/oHCLDrsdmZcAMxwwTZx/2RNtamnNCZruGzZAZ09JlNBpBoBPe3lssvPR+RUncEgeZ+CwayJYuWOQnqf9ZB59sk7FkUd2hpbOR6AVdcqMkMv7a5ytf6nEfz+Te x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101475)(1601125500)(1701031045);SRVR:HE1EUR02HT060; x-ms-traffictypediagnostic: HE1EUR02HT060: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(4566010)(82015058);SRVR:HE1EUR02HT060;BCL:0;PCL:0;RULEID:;SRVR:HE1EUR02HT060; x-forefront-prvs: 07584EDBCD x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(199004)(189003)(82202002)(2351001)(97736004)(56003)(486006)(1857600001)(476003)(8676002)(7696005)(85182001)(256004)(5250100002)(5660300001)(2501003)(86362001)(99286004)(6916009)(2900100001)(73972006)(74482002)(55016002)(105586002)(6306002)(6436002)(104016004)(8936002)(106356001)(81156014)(85202003)(5640700003)(26005)(6346003)(14454004)(966005)(386003)(6506007)(74316002)(33656002)(102836004)(305945005)(25786009)(9686003)(68736007);DIR:OUT;SFP:1901;SCL:1;SRVR:HE1EUR02HT060;H:VI1PR0902MB2191.eurprd09.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: hotmail.fr does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=xpros64@hotmail.fr; x-microsoft-antispam-message-info: uM8e2Dy2DK8S4uhNt5eiwCDUlD21dvxIinrispyVbzNfh9Sd2c1U089tA5NGAkU8mqKsBohst6UEioFR5msmU2osTDkbc3/rdmjQ7cj2F/9gUbCn3Bgtj2PGe0sg7Kc6srrHhIdalsIA/cqToP/HNt9o8WFc2l8MVpXIc3uuc0DFwANmw8Z/Ua9/4//lcSQIG+FPUG9jkK5LjduhNt2N2E9jAlPBgKRXwMIu6zq8ks4= Content-ID: <9AACA0B81A0A954DA9E01D46DEE0246A@eurprd09.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-Network-Message-Id: 1ceaceb5-451c-4ee0-715b-08d5fd8a914c X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2018 23:56:33.0675 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT060 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 WORLDE Controller KS49 or Prodipe MIDI 49C USB controller cause a -EPROTO error, a communication restart and loop again. This issue has already been fixed for KS25. https://lore.kernel.org/patchwork/patch/753077/ I just add device 201 for KS49 in quirks.c to get it works. This is the patch I propose. Signed-off-by: Laurent Roux ---  drivers/usb/core/quirks.c | 1 ------  1 file changed(-) diff -up 1/drivers/usb/core/quirks.c 2/drivers/usb/core/quirks.c --- 1/drivers/usb/core/quirks.c    2018-08-06 16:18:22.000000000 +0200 +++ 2/drivers/usb/core/quirks.c    2018-08-07 22:22:03.868499000 +0200 @@ -182,6 +182,10 @@ static const struct usb_device_id usb_qu      { USB_DEVICE(0x0218, 0x0401), .driver_info =              USB_QUIRK_CONFIG_INTF_STRINGS }, +    /* WORLDE Controller KS49 or Prodipe MIDI 49C USB controller */ +    { USB_DEVICE(0x0218, 0x0201), .driver_info = +            USB_QUIRK_CONFIG_INTF_STRINGS }, +      /* HP 5300/5370C scanner */      { USB_DEVICE(0x03f0, 0x0701), .driver_info =              USB_QUIRK_STRING_FETCH_255 },