From nobody Fri Dec 19 20:59:29 2025 Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 0E9021F4710; Tue, 7 Jan 2025 16:16:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.31.204.67 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736266598; cv=none; b=LLDH3DiNaG8HOrQub/Rxq+RMo1WWd4LqKKizVZscQZZ63j2BZc4wVDRsRMaDq/yWNHevqCQIXZSNVoY/aCIFbBfAZbFrD04f1VPPI8hPWrfwC4xh27t9JRdRLQ1IOsFENdG6u9h1qtUSd7mKCoFP5noGXEGhSmgcdz+QSauKXrQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736266598; c=relaxed/simple; bh=9JsarrC4F+wToYPsN9sg4QYg8GM2RYtdHLdT9Gc69jw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=i8nF8SDPa6PiKAMoOz672/0naP03giQeCKx3IwvApfYR1O0eYLUW29T7uYeJkEGMeXgwYCIyuGB7ZBcZSXoWgN5v4LQwaGiG/rxkNhFsflMzMdYZG2p1Ddi2AWuCsE2RM5A2YtMc461ormEc5UKaVkAe4EsVAKplHXBnETGPxbg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=turris.com; spf=pass smtp.mailfrom=turris.com; dkim=pass (1024-bit key) header.d=turris.com header.i=@turris.com header.b=rpdrZI8C; arc=none smtp.client-ip=217.31.204.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=turris.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=turris.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=turris.com header.i=@turris.com header.b="rpdrZI8C" Received: from localhost (unknown [IPv6:2001:1488:fffe:6:1695:51de:f3c4:a72a]) by mail.nic.cz (Postfix) with ESMTPSA id 983451C130C; Tue, 7 Jan 2025 17:08:29 +0100 (CET) Authentication-Results: mail.nic.cz; auth=pass smtp.auth=michal.hrusecky@nic.cz smtp.mailfrom=michal.hrusecky@turris.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=turris.com; s=default; t=1736266109; bh=9JsarrC4F+wToYPsN9sg4QYg8GM2RYtdHLdT9Gc69jw=; h=Date:From:To:Cc:Subject:From:Reply-To:Subject:To:Cc; b=rpdrZI8CCZeVRNF/GTgXeoXIY5vD9oDzD5EQndsHdsg0lmxQ8G4izlAHcX4nb3aD6 gGF1NVHMvaEcItEWisbT5tSojHQWBOujKR5ilmce8KS8oiqYONR79AJIYrmYWSjB6q YGwtRKyiDg6U5xV35FIoVuI0bfqPq1pn1ivlBLPc= Date: Tue, 7 Jan 2025 17:08:29 +0100 From: Michal Hrusecky To: Johan Hovold Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] USB: serial: option: add Neoway N723-EA support Message-ID: X-Operating-System: Linux Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-Spamd-Bar: / X-Rspamd-Queue-Id: 983451C130C X-Spamd-Result: default: False [-0.10 / 16.00]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:25192, ipnet:2001:1488::/32, country:CZ]; WHITELISTED_IP(0.00)[2001:1488:fffe:6:1695:51de:f3c4:a72a]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Action: no action X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: WHITELISTED_IP X-Rspamd-Server: mail Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update the USB serial option driver to support Neoway N723-EA. ID 2949:8700 Marvell Mobile Composite Device Bus T: Bus=3D02 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D 2 Spd=3D480 Mx= Ch=3D 0 D: Ver=3D 2.00 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D64 #Cfgs=3D 1 P: Vendor=3D2949 ProdID=3D8700 Rev=3D 1.00 S: Manufacturer=3DMarvell S: Product=3DMobile Composite Device Bus S: SerialNumber=3D200806006809080000 C:* #Ifs=3D 5 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D500mA A: FirstIf#=3D 0 IfCount=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D03 I:* If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3De0(wlcon) Sub=3D01 Prot=3D03 Driver= =3Drndis_host E: Ad=3D87(I) Atr=3D03(Int.) MxPS=3D 64 Ivl=3D4096ms I:* If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3D0a(data ) Sub=3D00 Prot=3D00 Driver= =3Drndis_host E: Ad=3D83(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D0c(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 2 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D89(I) Atr=3D03(Int.) MxPS=3D 64 Ivl=3D4096ms E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D0b(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 4 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D86(I) Atr=3D03(Int.) MxPS=3D 64 Ivl=3D4096ms E: Ad=3D85(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D0e(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms I:* If#=3D 6 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driver= =3Doption E: Ad=3D88(I) Atr=3D03(Int.) MxPS=3D 64 Ivl=3D4096ms E: Ad=3D81(I) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms E: Ad=3D0a(O) Atr=3D02(Bulk) MxPS=3D 512 Ivl=3D0ms Tested successfully connecting to the Internet via rndis interface after dialing via AT commands on If#=3D4 or If#=3D6. Not sure of the purpose of the other serial interface. Signed-off-by: Michal Hrusecky --- 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 64317b390d22..758f02f0d2b9 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2412,6 +2412,7 @@ static const struct usb_device_id option_ids[] =3D { .driver_info =3D NCTRL(1) }, { USB_DEVICE_INTERFACE_CLASS(0x1bbb, 0x0640, 0xff), /* TCL IK512 ECM */ .driver_info =3D NCTRL(3) }, + { USB_DEVICE(0x2949, 0x8700) }, /* Neoway N723-EA */ { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, option_ids); --=20 2.47.1