From patchwork Wed Nov 9 16:17:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davide Tronchin X-Patchwork-Id: 623306 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 9E6A6C4332F for ; Wed, 9 Nov 2022 16:17:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231652AbiKIQRi (ORCPT ); Wed, 9 Nov 2022 11:17:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231564AbiKIQRh (ORCPT ); Wed, 9 Nov 2022 11:17:37 -0500 Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 657D1641F for ; Wed, 9 Nov 2022 08:17:36 -0800 (PST) Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-13c2cfd1126so20135503fac.10 for ; Wed, 09 Nov 2022 08:17:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z9Vdw8qoD8HbAPHku+DdQ7wvvSARX4HrvjWTbg9dpFA=; b=UsqALXkmzu8W3ISGTd9x+iHPuRSpnq0mIdg64ejPGOofbuw4IEEzrHpMlGD3ZZXl2q rE3Kb9tl7dewnfvdg3ofgXiAX+LVGRGge1EWVkgLLuk+vJ6hn2V/4UAKmX0nvrG6BVPM 7NXZ8+DOegNFFoX6zZ5zo19UfzbQs8etjh8aNmW7nXcleQ4b8pFXbCs0F/ZztXLPNalU a0hgs0XIKdXxZHNy3ttG/56iy9YOs2x7Qx/4Z9swP297zAMbtGKU3Zr4JieI7+bcmL/D 1AdvNGQNyc3D5xBCv1RLtVsaLFzFSm7wE/EUG4Bmp9f+FMOxYHPOceGMRD45fnr9K4u6 N+ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z9Vdw8qoD8HbAPHku+DdQ7wvvSARX4HrvjWTbg9dpFA=; b=d8Zj+oI8jqHQg7f8194agzeb94c3wLoX8uX5GTjMQAbLwffUbYW6y99r8WGogbEJuP hVHYbi2pclENhjWupSUVckQrI2PBpu8l3zSSO9TQhOec3ZNbTuqOzRo5ajANUvFZB6S0 euvQ+chOgHqM6ZJGmum7xVUZbT+KJs80K/tKtkXUwLVVYsKhKCxmDoDUPV7fAbWIWfrY KkQCPHrg6ZCf02WvvJKjJu2lVipbslEY4JgEeL0GLLh1BqLFH1+TeLqoqvyRp+MqAK2b /OMxeHRjVXgP/SwD6WlPLZ43hDmw+svFH3ILSBYAC/DMcn1oVwiUQtiSAiSOX2Vw7cNe wVZg== X-Gm-Message-State: ACrzQf0l3ia3uC0v/Eed6eQXCI7yEd7dPkcjhCv4/1pmxFBvCb3bctcV g6b8SnAPmD0NduHtFZJlhjE= X-Google-Smtp-Source: AMsMyM7uDgkzz3GUmZa9yI4WmlGO2QIH0Q1IBQbDHW7fXz06plYcxvFEzwozq33zylx4MPl8AOYTBQ== X-Received: by 2002:a05:6871:4399:b0:13b:5ffe:ff70 with SMTP id lv25-20020a056871439900b0013b5ffeff70mr782656oab.171.1668010655522; Wed, 09 Nov 2022 08:17:35 -0800 (PST) Received: from testvm.. ([185.215.195.243]) by smtp.googlemail.com with ESMTPSA id i5-20020a4aab05000000b0049ded99501bsm4302578oon.40.2022.11.09.08.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:17:35 -0800 (PST) From: Davide Tronchin To: larsm17@gmail.com Cc: cesare.marzano@gmail.com, davide.tronchin.94@gmail.com, gregkh@linuxfoundation.org, johan@kernel.org, linux-usb@vger.kernel.org, marco.demarco@posteo.net Subject: [PATCH v5 1/3] USB: serial: option: remove old LARA-R6 PID Date: Wed, 9 Nov 2022 17:17:11 +0100 Message-Id: <20221109161713.31723-1-davide.tronchin.94@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <6572c4e6-d8bc-b8d3-4396-d879e4e76338@gmail.com> References: <6572c4e6-d8bc-b8d3-4396-d879e4e76338@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The LARA-R6 module old PID (defined as: UBLOX_PRODUCT_R6XX 0x90fa) has been removed since is no longer used by the current u-blox LARA-R6 product. However, PID 0x90fa has been kept to maintain the support to other products that use the same VID/PID. Signed-off-by: Davide Tronchin --- V4 -> V5: kept PID 0x90fa to maintain the support for other products which use VID:PID 0x05c6:0x90fa. Remove interface 4 from blacklist for LARA-L6 default mode since it is not needed. V3 -> V4: as requested, the patch has been split to 3 sub-patches. Fix comment format. V2 -> V3: added this section to tracking changes with previous versions. Added some explanations about the RSVD(4) in the description session. Added reservation to port 4 of VID:PID 0x05C6:0x908B to meet other companies QMI net interface implementation. V1 -> V2: define UBLOX_PRODUCT_LARA_R6 0x908b has been deleted together with the previosly provided definition of USB_DEVICE since the PID is used by another vendor. The LARA-L6 patch part is the same of the previosly provided one. drivers/usb/serial/option.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 697683e3fbff..b93285b5175b 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -240,7 +240,6 @@ static void option_instat_callback(struct urb *urb); #define QUECTEL_PRODUCT_UC15 0x9090 /* These u-blox products use Qualcomm's vendor ID */ #define UBLOX_PRODUCT_R410M 0x90b2 -#define UBLOX_PRODUCT_R6XX 0x90fa /* These Yuga products use Qualcomm's vendor ID */ #define YUGA_PRODUCT_CLM920_NC5 0x9625 @@ -1124,7 +1123,7 @@ static const struct usb_device_id option_ids[] = { /* u-blox products using Qualcomm vendor ID */ { USB_DEVICE(QUALCOMM_VENDOR_ID, UBLOX_PRODUCT_R410M), .driver_info = RSVD(1) | RSVD(3) }, - { USB_DEVICE(QUALCOMM_VENDOR_ID, UBLOX_PRODUCT_R6XX), + { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x90fa), .driver_info = RSVD(3) }, /* Quectel products using Quectel vendor ID */ { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21, 0xff, 0xff, 0xff), From patchwork Wed Nov 9 16:17:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davide Tronchin X-Patchwork-Id: 623642 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 CDC23C433FE for ; Wed, 9 Nov 2022 16:17:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231289AbiKIQRj (ORCPT ); Wed, 9 Nov 2022 11:17:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231745AbiKIQRi (ORCPT ); Wed, 9 Nov 2022 11:17:38 -0500 Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31C326E6 for ; Wed, 9 Nov 2022 08:17:37 -0800 (PST) Received: by mail-oo1-xc31.google.com with SMTP id r76-20020a4a374f000000b004988a70de2eso2528819oor.2 for ; Wed, 09 Nov 2022 08:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=96b5it/rsfCLhVTC3MwhIcgPFmRjvtLLHqS3PUyf24U=; b=fK/1YonAcE24inhPk2nnKEUO1j+HmvZsYDF0RbK8njM0cldqY8+rE8sa5/iW3nUm+B +gxjZaKoBKTLXFKUqxO7Ow1X9TQlSFMKLJLnWkNhoq3KvbC+qk1INZjfbE/pwArWOFLP IuBtPZxMjmaG8J2fdz3aaRrg6zyP7h1niezmf0i0XBd2RTFGGpXeAgBdW+OztGSXS/DI CE1qa69a87UK0hFQM8dOJvQjQkwjx4dsuD9n2FweB4CaYrvZg9Mny9GIrnEqajI5q8vr gZBgRO9y/XfEJYdCvLZ3V5X/RRBOKwJeKPpl5a68x36jBX+hYPveRmXlRvP/k6zzy4kn s22Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=96b5it/rsfCLhVTC3MwhIcgPFmRjvtLLHqS3PUyf24U=; b=pAkIcQ8C6JKAY9rx965iORDcBwoxH3uiAA6KBAqPi7U7du6lx1N0zDyxgbnTajKaPm gFG9Ir/anQk2+k6zarZGhBVFZAg+ueP55RI+rTmwjEIikdoSwHbp7/XknYqk4XH9XZuX DB+uAHl7xf6oCoJdf1PG1k6N9ATkifGKTA6FgrPM8vBrhzdo6D3RqdCsOTY7dYQd1Zy4 caAd47KK32YWWp0oBdHMpbX9H2PJ7PDSmzah6VB5xWvyNNzvC6Qyzfk+6SB8jiDWduiz Tz+AazU84pOyvr4+1RJzUxzVPeTZfu+4J5r5D+qkpxuN161cks4wjUrFhGfQyoczCMLY aSrQ== X-Gm-Message-State: ACrzQf00HVQyQ+ZLH+8VL16TSm3jlpYp+wXBE7w6mUNrqQsPZ+9w4C1Z E7B04okniijusxw1Vv7oHl0qJ5NJYMfbrQ== X-Google-Smtp-Source: AMsMyM4vDOBP0PeGcndfrdg18zsB+IySgWKf1Qv69W4XGazJZkyeF2+hUV+4S2YP9iSmVfXMNM0sHw== X-Received: by 2002:a4a:d18b:0:b0:48b:f37a:c28f with SMTP id j11-20020a4ad18b000000b0048bf37ac28fmr836787oor.36.1668010657256; Wed, 09 Nov 2022 08:17:37 -0800 (PST) Received: from testvm.. ([185.215.195.243]) by smtp.googlemail.com with ESMTPSA id i5-20020a4aab05000000b0049ded99501bsm4302578oon.40.2022.11.09.08.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:17:36 -0800 (PST) From: Davide Tronchin To: larsm17@gmail.com Cc: cesare.marzano@gmail.com, davide.tronchin.94@gmail.com, gregkh@linuxfoundation.org, johan@kernel.org, linux-usb@vger.kernel.org, marco.demarco@posteo.net Subject: [PATCH v5 2/3] USB: serial: option: add u-blox LARA-R6 00B modem Date: Wed, 9 Nov 2022 17:17:12 +0100 Message-Id: <20221109161713.31723-2-davide.tronchin.94@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221109161713.31723-1-davide.tronchin.94@gmail.com> References: <6572c4e6-d8bc-b8d3-4396-d879e4e76338@gmail.com> <20221109161713.31723-1-davide.tronchin.94@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The official LARA-R6 (00B) modem uses 0x908b PID. LARA-R6 00B does not implement a QMI interface on port 4, the reservation (RSVD(4)) has been added to meet other companies that implement QMI on that interface. LARA-R6 00B USB composition exposes the following interfaces: If 0: Diagnostic If 1: AT parser If 2: AT parser If 3: AT parser/alternative functions Signed-off-by: Davide Tronchin --- V4 -> V5: kept PID 0x90fa to maintain the support for other products which use VID:PID 0x05c6:0x90fa. Remove interface 4 from blacklist for LARA-L6 default mode since it is not needed. V3 -> V4: as requested, the patch has been split to 3 sub-patches. Fix comment format. V2 -> V3: added this section to tracking changes with previous versions. Added some explanations about the RSVD(4) in the description session. Added reservation to port 4 of VID:PID 0x05C6:0x908B to meet other companies QMI net interface implementation. V1 -> V2: define UBLOX_PRODUCT_LARA_R6 0x908b has been deleted together with the previosly provided definition of USB_DEVICE since the PID is used by another vendor. The LARA-L6 patch part is the same of the previosly provided one. drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index b93285b5175b..011b9a3b7571 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1125,6 +1125,8 @@ static const struct usb_device_id option_ids[] = { .driver_info = RSVD(1) | RSVD(3) }, { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x90fa), .driver_info = RSVD(3) }, + { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x908b), /* u-blox LARA-R6 00B */ + .driver_info = RSVD(4) }, /* Quectel products using Quectel vendor ID */ { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21, 0xff, 0xff, 0xff), .driver_info = NUMEP2 }, From patchwork Wed Nov 9 16:17:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davide Tronchin X-Patchwork-Id: 623305 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 4865CC433FE for ; Wed, 9 Nov 2022 16:17:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231605AbiKIQRl (ORCPT ); Wed, 9 Nov 2022 11:17:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231445AbiKIQRk (ORCPT ); Wed, 9 Nov 2022 11:17:40 -0500 Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA5E52676 for ; Wed, 9 Nov 2022 08:17:39 -0800 (PST) Received: by mail-oo1-xc2a.google.com with SMTP id q2-20020a4a3302000000b0049ee5fe3ab7so1371105ooq.8 for ; Wed, 09 Nov 2022 08:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3FmYf45xjQQkMKsVb2S7TiROHUYOEAUm5y4vYdSAAQg=; b=iBKwGJcmiBfQ7gJm0FAU56YcPzLtkhX2BxWqsSHTrbzHUmKFCrdCpTBT7IprVAGFGd A3OCM27+7oe+JqT/pzyN0EjbcXbUKvbHmmd8jo/2HqwxWuSAsFRoX78vO/kSX8sTpZOe 2Oj1xV3eT8p7ByETJ3lBt9fsP7i+MUvHk4Zg1Jl19VFec5ag3j22RZqMo1y0zt/lvNXw Fmz9V7W9WTOWVeH/5olB/W1RWOzeuyy6CSYRo1ZfZdR2X5Pnz6+YLm62rd85WP3LhkAn yvNfH7cX4bI9ZvnQagtG/OtjUtKRKXQ0C8bqGDsKvvkEC4OMnd/4tN2uFivmHOLNWyWT fGag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3FmYf45xjQQkMKsVb2S7TiROHUYOEAUm5y4vYdSAAQg=; b=Tr4uUIVTlB8z3RrNqT4O5aEyvq7skLQcIv2WkHoxQnibwKNkNfVg73UfFJHsxmNdJa BM97DEuPltmiKHNcCq8HTUXJcbOlFWaSXKbqYYpUU5n9JZUNFHrqChWoKsaNcEYT6jWp er6EGUqEh0iT1Gai/5zDts+1qF7ol+YRVVg90nKbzuHdAE20cahORcrieuMI7hJ2Zb/K kurJQ1kA/X/hWOIa7TOYW4742fKteigvxNsUp9xsnEVA3vB9B77DDRBQHYzyJ2lgJK/G jN4z337g69aXyu86ycMNH1vBqrvXcrqC1rxIQ5GxIRyA2eErrSAiSAj++DH8wkG/fDSj UGJQ== X-Gm-Message-State: ACrzQf0scLICMu4b461iwOM6vAL5NRzisjWml/IJCO+Xc8hft+RH5dqy gvWz654lKvtVhC9Ontr6Ptw= X-Google-Smtp-Source: AMsMyM6aPp8D6LRq6RB6031NYzi2zlVldHD9RkWUpyRg829FpPr8Vnt3xwmCqTSXysTedsBYtqUPnw== X-Received: by 2002:a4a:58c7:0:b0:49e:9fd1:2610 with SMTP id f190-20020a4a58c7000000b0049e9fd12610mr13395490oob.89.1668010659003; Wed, 09 Nov 2022 08:17:39 -0800 (PST) Received: from testvm.. ([185.215.195.243]) by smtp.googlemail.com with ESMTPSA id i5-20020a4aab05000000b0049ded99501bsm4302578oon.40.2022.11.09.08.17.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:17:38 -0800 (PST) From: Davide Tronchin To: larsm17@gmail.com Cc: cesare.marzano@gmail.com, davide.tronchin.94@gmail.com, gregkh@linuxfoundation.org, johan@kernel.org, linux-usb@vger.kernel.org, marco.demarco@posteo.net Subject: [PATCH v5 3/3] USB: serial: option: add u-blox LARA-L6 modem Date: Wed, 9 Nov 2022 17:17:13 +0100 Message-Id: <20221109161713.31723-3-davide.tronchin.94@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221109161713.31723-1-davide.tronchin.94@gmail.com> References: <6572c4e6-d8bc-b8d3-4396-d879e4e76338@gmail.com> <20221109161713.31723-1-davide.tronchin.94@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add LARA-L6 PIDs for three different USB compositions. LARA-L6 module can be configured (by AT interface) in three different USB modes: * Default mode (Vendor ID: 0x1546 Product ID: 0x1341) with 4 serial interfaces * RmNet mode (Vendor ID: 0x1546 Product ID: 0x1342) with 4 serial interfaces and 1 RmNet virtual network interface * CDC-ECM mode (Vendor ID: 0x1546 Product ID: 0x1343) with 4 serial interface and 1 CDC-ECM virtual network interface In default mode LARA-L6 exposes the following interfaces: If 0: Diagnostic If 1: AT parser If 2: AT parser If 3: AT parser/alternative functions In RmNet mode LARA-L6 exposes the following interfaces: If 0: Diagnostic If 1: AT parser If 2: AT parser If 3: AT parset/alternative functions If 4: RMNET interface In CDC-ECM mode LARA-L6 exposes the following interfaces: If 0: Diagnostic If 1: AT parser If 2: AT parser If 3: AT parset/alternative functions If 4: CDC-ECM interface Signed-off-by: Davide Tronchin --- V4 -> V5: kept PID 0x90fa to maintain the support for other products which use VID:PID 0x05c6:0x90fa. Remove interface 4 from blacklist for LARA-L6 default mode since it is not needed. V3 -> V4: as requested, the patch has been split to 3 sub-patches. Fix comment format. V2 -> V3: added this section to tracking changes with previous versions. Added some explanations about the RSVD(4) in the description session. Added reservation to port 4 of VID:PID 0x05C6:0x908B to meet other companies QMI net interface implementation. V1 -> V2: define UBLOX_PRODUCT_LARA_R6 0x908b has been deleted together with the previosly provided definition of USB_DEVICE since the PID is used by another vendor. The LARA-L6 patch part is the same of the previosly provided one. drivers/usb/serial/option.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 011b9a3b7571..f892a3c80cf1 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -580,6 +580,11 @@ static void option_instat_callback(struct urb *urb); #define OPPO_VENDOR_ID 0x22d9 #define OPPO_PRODUCT_R11 0x276c +/* These u-blox products use u-blox's vendor ID */ +#define UBLOX_VENDOR_ID 0x1546 +#define UBLOX_PRODUCT_LARA_L6 0x1341 +#define UBLOX_PRODUCT_LARA_L6_RMNET 0x1342 +#define UBLOX_PRODUCT_LARA_L6_ECM 0x1343 /* Device flags */ @@ -1127,6 +1132,12 @@ static const struct usb_device_id option_ids[] = { .driver_info = RSVD(3) }, { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x908b), /* u-blox LARA-R6 00B */ .driver_info = RSVD(4) }, + /* u-blox products using u-blox vendor ID */ + { USB_DEVICE(UBLOX_VENDOR_ID, UBLOX_PRODUCT_LARA_L6) }, + { USB_DEVICE(UBLOX_VENDOR_ID, UBLOX_PRODUCT_LARA_L6_RMNET), + .driver_info = RSVD(4) }, + { USB_DEVICE(UBLOX_VENDOR_ID, UBLOX_PRODUCT_LARA_L6_ECM), + .driver_info = RSVD(4) }, /* Quectel products using Quectel vendor ID */ { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21, 0xff, 0xff, 0xff), .driver_info = NUMEP2 },