cdce.4: Minor polish
+ Tag spdx license identifier + Fix "e.g.,"s to quiet linter + Remove useless Nd quoting + Put example in EXAMPLES MFC after: 3 days
This commit is contained in:
+20
-15
@@ -1,3 +1,6 @@
|
|||||||
|
.\"
|
||||||
|
.\" SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
.\"
|
||||||
.\" Copyright (c) 2004 Daniel Hartmeier
|
.\" Copyright (c) 2004 Daniel Hartmeier
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
@@ -27,12 +30,12 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $NetBSD: cdce.4,v 1.4 2004/12/08 18:35:56 peter Exp $
|
.\" $NetBSD: cdce.4,v 1.4 2004/12/08 18:35:56 peter Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 26, 2025
|
.Dd December 23, 2025
|
||||||
.Dt CDCE 4
|
.Dt CDCE 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm cdce
|
.Nm cdce
|
||||||
.Nd "USB Communication Device Class Ethernet (CDC ECM/NCM) driver"
|
.Nd USB Communication Device Class Ethernet (ECM/NCM) driver
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
To compile this driver into the kernel,
|
To compile this driver into the kernel,
|
||||||
place the following lines in your
|
place the following lines in your
|
||||||
@@ -46,7 +49,7 @@ kernel configuration file:
|
|||||||
.Cd "device cdce"
|
.Cd "device cdce"
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Mobile Devices (eg. Huawei E3372, E5573 and others)
|
Mobile Devices (e.g., Huawei E3372, E5573 and others)
|
||||||
may need additionally the u3g command port:
|
may need additionally the u3g command port:
|
||||||
.Bd -ragged -offset indent
|
.Bd -ragged -offset indent
|
||||||
.Cd "device ucom"
|
.Cd "device ucom"
|
||||||
@@ -83,17 +86,6 @@ received and transmitted over separate USB bulk transfer endpoints.
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
driver does not support different media types or options.
|
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.
|
|
||||||
For example:
|
|
||||||
.Dl echo 'AT^NDISUP=1,1,"internet"' > /dev/cuaU[0].0
|
|
||||||
where
|
|
||||||
.Dq internet
|
|
||||||
is your providers apn name.
|
|
||||||
.Sh HARDWARE
|
.Sh HARDWARE
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
@@ -113,8 +105,21 @@ Sharp Zaurus PDA
|
|||||||
.It
|
.It
|
||||||
Terayon TJ-715 DOCSIS Cable Modem
|
Terayon TJ-715 DOCSIS Cable Modem
|
||||||
.It
|
.It
|
||||||
Huawei 3G/4G LTE (eg. E3372, E5573) and other mobile network devices
|
Huawei 3G/4G LTE (e.g., E3372, E5573) and other mobile network devices
|
||||||
.El
|
.El
|
||||||
|
.Sh EXAMPLES
|
||||||
|
Mobile
|
||||||
|
.Nm
|
||||||
|
Network Devices may need a connect command sequence via the
|
||||||
|
.Xr u3g 4
|
||||||
|
serial command port before activating the NCM/ECM/ACM network interface.
|
||||||
|
For example:
|
||||||
|
.Pp
|
||||||
|
.Dl echo 'AT^NDISUP=1,1,"internet"' > /dev/cuaU[0].0
|
||||||
|
.Pp
|
||||||
|
Wwhere
|
||||||
|
.Dq internet
|
||||||
|
is your providers apn name.
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
.Bl -diag
|
.Bl -diag
|
||||||
.It "cdce%d: no union descriptor"
|
.It "cdce%d: no union descriptor"
|
||||||
|
|||||||
Reference in New Issue
Block a user