Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp242363imn; Thu, 4 Aug 2022 04:17:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR6SdMir5pNUtwvYeCMyfH656IhqAEDqHty6b1e7fmKp/GFCjYeOswmGCvdZ40BwlqK3lGXS X-Received: by 2002:a17:90b:1807:b0:1f5:7835:7fbc with SMTP id lw7-20020a17090b180700b001f578357fbcmr520946pjb.170.1659611875439; Thu, 04 Aug 2022 04:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659611875; cv=none; d=google.com; s=arc-20160816; b=pG/fHUya3nKEcxAxBpO0qerMz3rqMtigla1fNlBHAxpTROOGsnr/2FBBNVlDF9gfVv wms6hneMsllZ4yHSht9hRZw7EPgKSMgQ7+PHE+BvWAsojdHxmQ6F8Eqr2dCpgvAiOaTa B9Uke/nM7J740ZSSw/0zc30aJbVgsx5jtQdp3y+WQ/xj0WVECgyY9afoExgZtNxlnhpU nrD/LPZUDFHmvfSB72afFX3GOpk383XR25EWV3bDyw8LNPps/NONQQr99Rim2QJTOjdc cwZub9ULbGIGfCKq02dblZIPpQUILxr5dI/qdTGUMXy4oaNOAco6Ds6INtjWadJA3DiE J/Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gysVTSxQqMdkwoifqxUC3E1zXkQL4nIgjNjawW+8ZSQ=; b=pbU2nZw/WoAVSd3dgZFiR2eGiYfsRYLseEtHAYlAzusx2QhyJ8EY/8LWdj1JLfMyTR nRW6VuPF8shrFHh0glmuSRXckvqnKnR6lyf5XLlF923xoCzG6uUTNwIRofoSUsyb136m hFg9cFPwDcUZLbhwyH237jgvYDVNiKnkr16yZUtlEqPRZuCEIn9Fhw8xIzQzmDtYR48V hsjv77DcUlHsSfS0SKckPZjCsJQSJOprS/VMlXJBw7Vr6VP5rVja8VyR+1PTME1WHeBF dD0koC5fxVnxPHmaPlgThuPYrsF30eBFQomZVpJPdV4OYlMlIyBo3sVLx6QrgwVV8lk1 ocbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LP+DYq6K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj18-20020a170903049200b0016f22761fedsi512920plb.509.2022.08.04.04.17.41; Thu, 04 Aug 2022 04:17:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LP+DYq6K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239352AbiHDLEy (ORCPT + 99 others); Thu, 4 Aug 2022 07:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231440AbiHDLEw (ORCPT ); Thu, 4 Aug 2022 07:04:52 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BDF4220E4; Thu, 4 Aug 2022 04:04:51 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id g5so8129050ybg.11; Thu, 04 Aug 2022 04:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gysVTSxQqMdkwoifqxUC3E1zXkQL4nIgjNjawW+8ZSQ=; b=LP+DYq6Kb8krzFXzvrmob5KAAW1sAgpXSHYvHzraItsSVyURm+FPTJWQnpuMuRiVav t4YrCxSvFs/BAC3JRrymqOzVAK3Ug1q8IC37mZfPycJh0PVMXmBDB4T32iumirikoZfB TEVIO4GxUso9IGxEVpsUne3WA+4enS1R/RrsKkT4raVXZxbiPWe/xQkBC24SzKZiME6S 9y6oJ1RLXnkWN3qjKuf8jHWZi3eSeVAht45XpCGJDD4cOJRWT3VsPExCdXJqCUJm41Ds mkRXYcqhBqo06pxt2/YohPJo8xb7l35hjAsueegZ6gKrI24NhM61PrthBHSDK75mNvpL cGhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gysVTSxQqMdkwoifqxUC3E1zXkQL4nIgjNjawW+8ZSQ=; b=DeRy8OH4mptYXu0ruynT74C6PBlC5zQpiTGXYpw3nbHq5kFqicjtL9ibVvlB5T4s9X YiRoNkO8lV5TrwDuGESPNC2MAocjVhirLFX640JdC8t04qRt20MpGef6DbENpALMduoD KwSdAa39AneI327RN6XmoqbtUDo9gzto4b/xsuzxOPZ+S78EovQqmzHxMlikFtDzc6kQ 9JaRfxPfIPPGTny/4cucg2NZdG71xtlKMnwSD+FCQUvSMxtRMJfUp3OP9clCz5Yi3ooF DEopbec5st6w6W56C7CoRjRNWirFoMs4bS2xGbBGjGW2DwbUP7bNGDIVQeDOCK2hCdai nEyA== X-Gm-Message-State: ACgBeo3YznIUVH5mPP3thkO7+yqKEhPnhbHqf8Rn0ILpAtXCygfNdj1r U1mc1p//olMyrS1egQZRdr+ZRmMtHyaSFhsrzAezoCTR X-Received: by 2002:a05:6902:701:b0:678:9bcc:e8c6 with SMTP id k1-20020a056902070100b006789bcce8c6mr993922ybt.120.1659611090080; Thu, 04 Aug 2022 04:04:50 -0700 (PDT) MIME-Version: 1.0 References: <20220803090218.1313187-1-kkamagui@gmail.com> In-Reply-To: From: Seunghun Han Date: Thu, 4 Aug 2022 20:04:39 +0900 Message-ID: Subject: Re: [PATCH] net: usb: cdc_mbim: adding Microsoft mobile broadband modem To: Daniele Palmas Cc: Oliver Neukum , David Miller , linux-usb , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Daniele, On Thu, Aug 4, 2022 at 4:07 PM Daniele Palmas wrote: > > Unfortunately I'm not aware of any specific place for that: I wrongly > thought that you were involved in the development of the modem and you > knew the chipset. Thank you for thinking like that. However, I'm just a Linux lover and a Microsoft Surface user. > However, sometimes the name of the chipset is left in the firmware > revision: you can try looking if there's any hint in the output of the > device caps request. If it's a Qualcomm modem it should probably also > support QMI-over-MBIM service, so maybe you can also try a few DMS > requests (--dms-get-software-version, --dms-get-revision...). > > Sometimes also the USB descriptors can be useful. According to your guides, I did get some useful information from my Surface Go 3 modem. Finally, it was based on a Qualcomm chip, and other Microsoft mobile broadband modems should be based on the Qualcomm chip. The test results on my Surface Go 3 are below. ==== Start of test results ==== $> lsusb Bus 002 Device 004: ID 045e:09a5 Microsoft Corp. Surface $> lsbusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/4p, 5000M |__ Port 4: Dev 6, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M |__ Port 3: Dev 4, If 0, Class=Communications, Driver=cdc_mbim, 5000M |__ Port 3: Dev 4, If 1, Class=CDC Data, Driver=cdc_mbim, 5000M |__ Port 3: Dev 4, If 2, Class=Vendor Specific Class, Driver=, 5000M $> qmicli --device=/dev/cdc-wdm3 --dms-get-manufacturer [/dev/cdc-wdm3] Device manufacturer retrieved: Manufacturer: 'QUALCOMM INCORPORATED' $> qmicli --device=/dev/cdc-wdm3 --dms-get-revision [/dev/cdc-wdm3] Device revision retrieved: Revision: '2140-e88e4b-c8-00004.36 1 [May 17 2021 01:00:00]' $> qmicli --device=/dev/cdc-wdm3 --dms-get-software-version [/dev/cdc-wdm3] Software version: 655_GEN_PACK-1.362573.1.400078.2 $> qmicli --device=/dev/cdc-wdm3 --dms-get-band-capabilities [/dev/cdc-wdm3] Device band capabilities retrieved: Bands: 'wcdma-2100, wcdma-pcs-1900, wcdma-850-us, wcdma-800, wcdma-900' LTE bands: '1, 2, 3, 4, 5, 7, 8, 12, 13, 14, 19, 20, 25, 26, 28, 29, 30, 38, 39, 40, 41' LTE bands (extended): '1, 2, 3, 4, 5, 7, 8, 12, 13, 14, 19, 20, 25, 26, 28, 29, 30, 38, 39, 40, 41, 66' $> qmicli --device=/dev/cdc-wdm3 --dms-get-capabilities [/dev/cdc-wdm3] Device capabilities retrieved: Max TX channel rate: '50000000' Max RX channel rate: '100000000' Data Service: 'non-simultaneous-cs-ps' SIM: 'supported' Networks: 'umts, lte' ==== End of test results ==== Thank you for your help. Best regards, Seunghun > Regards, > Daniele >