From nobody Sun Feb 19 03:16:38 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PK9gq0gPKz3sLF5; Sun, 19 Feb 2023 03:16:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PK9gp5PF4z4KL4; Sun, 19 Feb 2023 03:16:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676776598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=odsCElVQkDXfCUOysmTIP+lFyp16cZQHehiLvUjjV4M=; b=s/PcMNtAFD1kbbuYF7vMxH60VaNbGRJBYcog8PnmacyhFekBpQMcNZBS/a/57jEcB9BboH LNrPwImXq5L332G0QMxk/AvyDyPfdg9UEHr398t7tyXKHcSGJzLcihk+ZIdBagTw8O7VGn Dbe9IgXaAu/+HY2yne5BIE3/bmMQaHsSMTxRStQOuxSH8lqmp3iKAwnKz+1QPMjCQ1CywQ SFAp1Ur2pM9sgAVsxvdEtVJEYh4lOyB863h3FoIZ802fotA2l9Awp9Yu71KjTXXJrX9Im1 1nYvzJPuLow6RZVETq5joQL2cd1uPQhWu8PW0GU2tPDJpKjXWWJwCdDpUWhRNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676776598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=odsCElVQkDXfCUOysmTIP+lFyp16cZQHehiLvUjjV4M=; b=CGTWfPMQaSx7p7R+JbVDnm+/jLYtaqEHy33QFLusesyTaFUKdh3k86g+OAmclWhiWAuBNe QGEUNE23qrr3yYsfOQjUUmRVccR2rdwaiwzakQI/bQkRo0ncCSFPMqsQkxA5+nh8dpe0Dh owmdWY9hBuaEKHZa6zpwgjxUQjfY3MddS/MoD3UBbMI8iA38ENNPryRetD8zDRx+L+LdBS ONhKMWeUUbesZ9nzZw6f5QUxrv/DHaIy6onZkPZsQE9WsKXersI7hl4NHAlxvcXOKRDQls +vcZtkZ2phnwg8DjbpbZt4qEWNy/KGo7A9SsuaWUiOH5wsZHZUq3NV7SbGintA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676776598; a=rsa-sha256; cv=none; b=hMjoctgFbMX3abIFVIvNt0/JYIog79nIf6iRVZwx7XYQ8ELWB4uyvFlQgy6+x9F/Qy1v/L 7kufTf/b47Q18h5LrGU71yATn/7mMcE12Xq0TzRzR81gxoJRlgymBK9G8Qm8h/qCEkayrO w1PYBfBH7l/CSmHAoBY6BKSdbjQ7I6oyIdFURc6IpPsYmyHCsAys3LmLuNjw7kNGICpTYJ C5nnrHdqKMBnMywR8VNu62EszG0Z/EdRBbUWRUJeFcGtVb12bKlAGv/AfLrnKBQmQ1+1gA yUKcej5nPykFLf8d+iedV6+foKf52kvzyk/BddkIkr0jo7gWtAPcZJvu3ce6ww== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PK9gp4JkRzn2w; Sun, 19 Feb 2023 03:16:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31J3Gc60083977; Sun, 19 Feb 2023 03:16:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31J3GcNa083976; Sun, 19 Feb 2023 03:16:38 GMT (envelope-from git) Date: Sun, 19 Feb 2023 03:16:38 GMT Message-Id: <202302190316.31J3GcNa083976@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 48b109db1edd - releng/13.2 - cdce: add to cdce.4 information about NCM network mode List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/releng/13.2 X-Git-Reftype: branch X-Git-Commit: 48b109db1edd044a293dea7b77447de3773520c5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch releng/13.2 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=48b109db1edd044a293dea7b77447de3773520c5 commit 48b109db1edd044a293dea7b77447de3773520c5 Author: Michael Paepcke AuthorDate: 2023-02-16 16:58:33 +0000 Commit: Warner Losh CommitDate: 2023-02-19 03:14:15 +0000 cdce: add to cdce.4 information about NCM network mode add a new section how to use NCM network mode and specify the required kernel modules Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/646 Approved by: re (cperciva) (cherry picked from commit 58e1d01022415e29d3e08c4d3936b6631c27406c) (cherry picked from commit 6c9ad7b8bc7dbc17f41ddab6779548fb2728608a) --- share/man/man4/cdce.4 | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/share/man/man4/cdce.4 b/share/man/man4/cdce.4 index b27d89bc1639..99d04bd12d07 100644 --- a/share/man/man4/cdce.4 +++ b/share/man/man4/cdce.4 @@ -28,7 +28,7 @@ .\" $NetBSD: cdce.4,v 1.4 2004/12/08 18:35:56 peter Exp $ .\" $FreeBSD$ .\" -.Dd July 10, 2019 +.Dd February 10, 2023 .Dt CDCE 4 .Os .Sh NAME @@ -47,6 +47,13 @@ kernel configuration file: .Cd "device cdce" .Ed .Pp +Mobile Devices (eg. Huawei E3372, E5573 and others) +may need additionally the u3g command port: +.Bd -ragged -offset indent +.Cd "device ucom" +.Cd "device u3g" +.Ed +.Pp Alternatively, to load the driver as a module at boot time, place the following line in .Xr loader.conf 5 : @@ -77,6 +84,13 @@ received and transmitted over separate USB bulk transfer endpoints. The .Nm driver does not support different media types or options. +.Pp +Mobile +.Nm +Network Devices may need a connect command sequence via u3g +serial command port before they activate the NCM/ECM/ACM network +interface. Example: echo 'AT^NDISUP=1,1,"internet"' > /dev/cuaU[0].0, +where "internet" is your providers apn name. .Sh HARDWARE The following devices are supported by the .Nm @@ -93,6 +107,8 @@ Terayon TJ-715 DOCSIS Cable Modem Realtek RTL8156 USB GBE/2.5G Ethernet Family Controller .It Planex USB-LAN2500R +.It +Huawei 3G/4G LTE (eg. E3372, E5573) and other mobile network devices .El .Sh DIAGNOSTICS .Bl -diag @@ -127,6 +143,8 @@ is running low on mbufs. .Xr netintro 4 , .Xr urndis 4 , .Xr usb 4 , +.Xr ucom 4 , +.Xr u3g 4 , .Xr ifconfig 8 .Rs .%T "Universal Serial Bus Class Definitions for Communication Devices"