From patchwork Mon Oct 2 15:51:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Beno=C3=AEt_Monin?= X-Patchwork-Id: 13406414 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 857FE1C6AD for ; Mon, 2 Oct 2023 15:51:50 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49DDFB3 for ; Mon, 2 Oct 2023 08:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.fr; s=s31663417; t=1696261901; x=1696866701; i=benoit.monin@gmx.fr; bh=lh1aE9YpmQCdpUG+BreEcBrKk2Vn4kd+pzt+uU+xYds=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=NkSM3dHK/gw0pNDfW+MjXZX38XoWcpc9urBiirovZUyula0oFtGz/kvxrR5K6f0fIpx/xGGe1t6 ioiOKPC3JTtcoIIhMshY+fkORjyg1C5pWCIswHVNwQmPDEXlcoqLZy8tBS8mZ7JPPSj0KlEisl20M KSObcxsq+JYlWslEk/WqSZxxe20H5S8zYwn4+ZSvhNdXZhbwuqiFUM8CPtHA64foUANJfzsW1+M4Q u5qeIyEsnezCDp3UJFABjYUUCYWIvXH9XBKxeuoz865rMmYbWGs/kcgiUpM57ujvHeT2fVCHZaDeW v9YxBuWJSqNjUB15RggIpheoXruRRET8EXSQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from pianobar.pianonet ([176.145.30.241]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1M1Hdq-1qkb7H19KM-002nFY; Mon, 02 Oct 2023 17:51:41 +0200 From: =?utf-8?q?Beno=C3=AEt_Monin?= To: Johan Hovold , linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman , =?utf-8?q?Beno=C3=AEt_M?= =?utf-8?q?onin?= Subject: [PATCH] USB: serial: option: Sierra EM9191 with new firmware Date: Mon, 2 Oct 2023 17:51:40 +0200 Message-ID: X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Provags-ID: V03:K1:vsSsFFld9Z80C8ItqDbsaYEXRh0BWx8J2chZWT/LujqQQ/8HCYG GNv6vgSS9Yk1hb4bdNXPAOuPL/DwP+tR3L4RxbK9Xg75SXIjJ6s34PIrjifV40Z/TnP/mOL z9W3AKU2irjzPhyJMsR2GWmuc7kuShOl5sn0zNP/W14ISwuijVmN7jOZCMe2Q6uwhOzsAyI c8e68BE+iGMuDmP5DZFVQ== UI-OutboundReport: notjunk:1;M01:P0:Kds6RaSlMrY=;Oidnk6TNZsnLSnSMn8E5EMLHWYi cbP37Sa4bdbpggS92uvrTsRXM+4YPzyb6TJU6SJLXG/1dPnsWjmL1Xjry94zvlIIUHLX/0IQY aHcICn2p5Ic1fdmKkMSvm+ggyygar8clds8Lx1cW3z3NXejMKYKNTTMU/AZvxOAWcG5GmuilF b7uch8IbYyFJTwZR1iXc/qcxb7YiUwW8Calakota/iOBaKGlU0QNdC+PBeLVySyazeQLQCA7y By89Tnyx9lpiWLPzvGSXVdW9OJ3Y+C0OFAkyuofvF6uY/VQdPWqIot9OHhF5fQo/Bt+/zsI/r o/JK86NlnmFQkJMKokln+Nn6vhgTWqmHL4at0YKnywSJilOjdiIeGKx7gFPjdj9HLyZghIWQQ rfzgyS1by7kjdwyxgxtSHw4KORDrhxohuXlVSXSELm+DfJe5mLCQ8XrorqSriQGBfp6subsjm JT1S9HsM55MpgUF5RwRqFe2YMX1a9zVfKwgGn1hi6fZernb+w8o39Izs0XYeLGwRkd0FkJV3/ 3mpChewW1T/I/IfbJJH3Me5Jbyja+LCXV1v4a0Xe9ZwXMMzvxTrUcjatwULwNX7dRTbqOBYRG Yu3cd7UWaVS+H4uxr6zMRHVegXCx+tWny1Vh9clsRHb0QXpkqqHz1xZufxMfA8ZQGlECYk8sm TDsN7L/qRfRHBkVTAZGzGLzS0tsfyg4dMYAFNW+WtKKZVsPSao1c3rKcQ4XwnCd/bCcuW6l5Y mpHRkkxKBrvZhZ7By9jZadzZNt0xt9StN8srer0PiB9mfjkVOHkPgWjKtxO0ZPjbHiI4qOPSU Wqtwk5y7CCacL7JnnvooerxGxEsEQUvFJwFXs1JwtmUEbhfgdlZUZm+UfPMqnZAyhB4mNtU14 AyRCLkEaQfQfJDJVY6SyijTU+t6GoVlB2hgwFxXsDsfKeRXqSuDMIGeAn6a2UzxV1hLnvFpx/ xy1eVsEONLgjh675ohqnsS7KMhk= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 Following a firmware update of the modem, the interface for the AT command port changed, so add it back. T: Bus=08 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 2 Spd=5000 MxCh= 0 D: Ver= 3.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 1 P: Vendor=1199 ProdID=90d3 Rev=00.06 S: Manufacturer=Sierra Wireless, Incorporated S: Product=Sierra Wireless EM9191 S: SerialNumber=xxxxxxxxxxxxxxxx C: #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=896mA I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim I: If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=(none) I: If#=0x4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option Signed-off-by: BenoƮt Monin --- drivers/usb/serial/option.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 7994a4549a6c..73971a3a1897 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2262,6 +2262,7 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1406, 0xff) }, /* GosunCn GM500 ECM/NCM */ { USB_DEVICE_AND_INTERFACE_INFO(OPPO_VENDOR_ID, OPPO_PRODUCT_R11, 0xff, 0xff, 0x30) }, { USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0xff, 0x30) }, + { USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0xff, 0x40) }, { USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0, 0) }, { USB_DEVICE_AND_INTERFACE_INFO(UNISOC_VENDOR_ID, TOZED_PRODUCT_LT70C, 0xff, 0, 0) }, { } /* Terminating entry */