From patchwork Thu Jul 20 12:30:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Kohn X-Patchwork-Id: 13320440 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A598EB64DA for ; Thu, 20 Jul 2023 12:33:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229904AbjGTMcy (ORCPT ); Thu, 20 Jul 2023 08:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbjGTMcx (ORCPT ); Thu, 20 Jul 2023 08:32:53 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2057.outbound.protection.outlook.com [40.107.6.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2E8E2D4E for ; Thu, 20 Jul 2023 05:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AycOVYX0O235jgYrOjAHU2GKePrgIqkrW597bzJ/+cKgTKSxsWKJxSLz8az+WAseJ6qDJjFIPuUHaEYfl3DzjzZo9Qa+zIEuo57y6gTkCjPuScdl3Y/ZLnDL075rYkqcx7CikxsUE7Fsx1zGP89pxqIKXsFQgvUYW7AOheRdmV+QTnEmC8zSh9IoBNEEdZSTBPLPfYwEbSDFNQak27At6EhrvUB7nsmPMcUSXL+g9qCL57p47Xgduc2l4kVh/LRxoL8xnXa4WX8zEZoyeyU8sjkhHBZaNrfjkWngqbNy2y/WRfE6jZ7+N+zXNuqv4YbV767WulKUnD4+rCN4aGY0KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ChaonHFmP8kxjeXtgcMieRJExNr9Q8zwX/Xrm33XhJo=; b=PsHS5O2TBAd1rsRg2m2gSSnQ3HNboBbIhShhnlApubknE3rgpQ8EU4spAZDbAXkMgxSoHkcQokjVwIzMFapTbOxdvLDO/4VsFsw8+e3c2y9yLdQbHZZfmWgtwWeJfYY2d7lHFTEOJ264x5crRkbnrgCUFemGxRbQ/engw2OGWXkXfv0knf8VM7Uk265hiBYz/9Ym/EtOC9PscgWmNPK+ikoyfTcP2QwCeFQWOsJ9kOFMaLExZGpjeUeRukmFIzEOv6o0mcFJ5LwDNG0MorNB8TBqz9H6DROOzCwSZ7kvqlIdbdlCCDXeBlec6Tvb6Nz7M8bh3c0V1Mc0ku2kWXDYMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=welotec.com; dmarc=pass action=none header.from=welotec.com; dkim=pass header.d=welotec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=welotec.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ChaonHFmP8kxjeXtgcMieRJExNr9Q8zwX/Xrm33XhJo=; b=n5y73AhPQmwEouJWX1akHDNQIWICJdOiWGAPH8ezMBFApE4egh03I/P/IY7vzUEZ0nplPe8kLto3EjCgN7r/lxutGoRPrubcab8/BVR8idB03aR9lRK7FxqsZscKbRzjniG8I5OAm62TuIiO7/M0rEFrrzk84WmtVjF7I1jfnCk= Received: from AM0PR04MB5764.eurprd04.prod.outlook.com (2603:10a6:208:12f::20) by VI1PR04MB9882.eurprd04.prod.outlook.com (2603:10a6:800:1da::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.35; Thu, 20 Jul 2023 12:30:53 +0000 Received: from AM0PR04MB5764.eurprd04.prod.outlook.com ([fe80::176:d0d2:340f:7687]) by AM0PR04MB5764.eurprd04.prod.outlook.com ([fe80::176:d0d2:340f:7687%6]) with mapi id 15.20.6588.031; Thu, 20 Jul 2023 12:30:53 +0000 From: Martin Kohn To: "linux-usb@vger.kernel.org" CC: Martin Kohn Subject: [PATCH] Quectel EM05G LTE Modem with new Product ID Thread-Topic: [PATCH] Quectel EM05G LTE Modem with new Product ID Thread-Index: Adm67dkv95M8c77iRo6Y7H+cUFKglAAF71LA Date: Thu, 20 Jul 2023 12:30:53 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=welotec.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM0PR04MB5764:EE_|VI1PR04MB9882:EE_ x-ms-office365-filtering-correlation-id: 881bfb9e-3b29-450d-9b65-08db891d28c2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nVi4Y4Ky2WM4E7WqDTua0M/KhR/M54U5IwaqJAGkq7cgC/p+6AHSiOtjUujYD8owyqh92PRVKwEpiR8N1eQW3WnLXO0m5R6FBmv77lmMIAC665aExw6kjghPjMS1Nufu7sNAx+xijaWK8fkVBCK7zGn944IimmEmBFnzO+bLkF8vMJ54+m2bj4LNtXFkmBMx3thsFMu2ewFHmU+7YooJODSYcsy8PoADg/FEmqv2/kxT8lzyg62czOXnA8tn+Nu6LUUEbxo1TEKftvTDbvmqCpoQAfMZsL6Ck3IVwofKnH9Jk84J0uy9zPmHNdOTSbIucnUOeisQvMXELJqER8bzIAw/VtugJE704MxePfMuhxU7enna5lniZvmFzVtPs/GDjGWmPl98YE0C/0BsBxn67OZSLQetAKsK4tnrpJbvo5+Tgbod1uJhY5vOW6bURyxJF2iIiggIFPwvKHhK6EjjjKKHtzFmpjEd7Hi7owFCSBobQfDcSKoQ9oH1DxhToNvvlN1LEZhnIBIkNMfv4+h2mfIsg1nCGGhFM2/Ky5qgG5Y+CpMDZgFJpjcROI60pCFGz4jV46yziolWKk9a1VqeRNRfeT6B9/NZeC7lSBjPOymNzMFcZ/X253ByV3PsFWBW x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB5764.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(39830400003)(396003)(376002)(366004)(136003)(451199021)(55016003)(478600001)(7696005)(6916009)(38070700005)(71200400001)(316002)(66556008)(66446008)(86362001)(66946007)(41300700001)(66476007)(4326008)(64756008)(76116006)(186003)(9686003)(122000001)(83380400001)(38100700002)(6506007)(8676002)(2906002)(8936002)(5660300002)(52536014)(107886003)(26005)(2940100002)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?v09A5qoZ7LQ1VUYiSsWQ/9w?= =?iso-8859-1?q?T2/PB/8VUbfQETCTO81wAPpkH+YYkcPU7BW01KbYyBK6pj68lkkDQKFcuhwx?= =?iso-8859-1?q?feVpCPWPNM5KOZW67xVzUkRlhT0FzXpLPhkGFDUuo8OkSSvEImIodH5bpVFX?= =?iso-8859-1?q?ERAFtxjlHJwGQ1SL3IP/AX5g2bZgHCOMHG/xkcca1EzOflZgtwyQnnGP29OO?= =?iso-8859-1?q?zRrx6loKMVEoO7rdAYf5aGZAX6s2S3TgBSmNmRNUUggd/ixWQpKlAKpUZA90?= =?iso-8859-1?q?m/8FCxKvqfEMaxQgIWKpvvxHgyJkFOU3ZzFegkoX4k7TZ0tbPv8lTSM7b4E3?= =?iso-8859-1?q?SH2H1oE7hnpd8qkvo2zpnhnm3pv5THPBoRRr80owsT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q?jPaG3d4nFDknA2sBrC5b8XGlYkujBl8DxqBIdkvT5xkWMZd6hXJHigtU0TVO?= =?iso-8859-1?q?vdLLk8M+S54L0+5N4/Yhlm6X1WIMz9qHhkvdjacbC1WWb1iQXZX12nzt/Pia?= =?iso-8859-1?q?QaHkXCBTTbY8S3CwlzPPud1UAg2HdlzR0aAMp/G5JeL+NP4Icjlba+4Rtn8O?= =?iso-8859-1?q?eGdbipXs1xho5/DfnKCAFnW5DmqwbVhtUl972rYHmhuvnDoFXDZxqchvgTZT?= =?iso-8859-1?q?G2oMyvfj3c9s0EkFDakMHiquvMPzp2TRHNn021BCqEs/HJuDtOZslMuOLb8Q?= =?iso-8859-1?q?NzoJzrfuj5GiriSpYuC8xzyANZ8KetDQNPsOPpot2uG0WZgmD4a4gTpQ=3D?= MIME-Version: 1.0 X-OriginatorOrg: welotec.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB5764.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 881bfb9e-3b29-450d-9b65-08db891d28c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2023 12:30:53.3943 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 25111a7f-1d5a-4c51-a4ca-7f8e44011b39 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qSyGA6YS3gvUjhYC4FfbUQqL6gfrfbFssasXk9vDDpoUCjJXPTWOKkTyGbmBtNphduP6pHhtFHyVxdQQSYpv9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9882 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hello everyone, Quectel has changed the product ID for EM05G LTE Modem (global variant), here my verified patch for it: From 7a19d929aa07b3541f6a1205cb0ce3f0f5dc54a6 Mon Sep 17 00:00:00 2001 From: Martin Kohn mailto:m.kohn@welotec.com Date: Wed, 19 Jul 2023 12:04:21 +0200 Subject: [PATCH] Quectel has changed the Product ID from 030a to 030e for the EM05G modem. Both versions must be supported in the future. Signed-off-by: Martin Kohn mailto:m.kohn@welotec.com --- drivers/usb/serial/option.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 288a96a74266..64b1995b410d 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -256,6 +256,7 @@ static void option_instat_callback(struct urb *urb); #define QUECTEL_PRODUCT_BG96                                         0x0296 #define QUECTEL_PRODUCT_EP06                                         0x0306 #define QUECTEL_PRODUCT_EM05G                                    0x030a +#define QUECTEL_PRODUCT_EM05GV2                              0x030e #define QUECTEL_PRODUCT_EM060K                                   0x030b #define QUECTEL_PRODUCT_EM05G_CS                             0x030c #define QUECTEL_PRODUCT_EM05CN_SG                          0x0310 @@ -1186,6 +1187,8 @@ static const struct usb_device_id option_ids[] = {                  .driver_info = RSVD(6) | ZLP },                { USB_DEVICE_INTERFACE_CLASS(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM05G, 0xff),                  .driver_info = RSVD(6) | ZLP }, +        { USB_DEVICE_INTERFACE_CLASS(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM05GV2, 0xff), +          .driver_info = RSVD(6) | ZLP },                { USB_DEVICE_INTERFACE_CLASS(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM05G_CS, 0xff),                  .driver_info = RSVD(6) | ZLP },                { USB_DEVICE_INTERFACE_CLASS(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM05G_GR, 0xff),