git: a279efd9f043 - stable/13 - ipheth.4: Fix examples
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Feb 2022 16:04:58 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a279efd9f04391a55ebd722115a578efed8d07a9 commit a279efd9f04391a55ebd722115a578efed8d07a9 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-01-29 21:13:42 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-02-12 16:02:49 +0000 ipheth.4: Fix examples It is now necessary to use the -d flag for some of the usbconfig(8) invocations. MFC after: 2 weeks (cherry picked from commit d0b92c068e36bbaf06b6a7dc00cfc7d275878b6c) --- share/man/man4/ipheth.4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man4/ipheth.4 b/share/man/man4/ipheth.4 index 893ef5bdb0c9..1446607a7784 100644 --- a/share/man/man4/ipheth.4 +++ b/share/man/man4/ipheth.4 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 26, 2019 +.Dd January 29, 2022 .Dt IPHETH 4 .Os .Sh NAME @@ -98,7 +98,7 @@ and its configuration index is 0 .Pp Secondly, check what other configurations are available for the device: .Bd -literal -offset 2n -.Li # Ic usbconfig 0.2 dump_all_config_desc | awk '/^ Conf/{print} /iConf/{print}' +.Li # Ic usbconfig -d 0.2 dump_all_config_desc | awk '/^ Conf/{print} /iConf/{print}' Configuration index 0 iConfiguration = 0x0005 <PTP> Configuration index 1 @@ -113,7 +113,7 @@ In this example, there are 4 different configurations available. The configuration with index 3 seems to be related to Ethernet. It is time to configure the device: .Bd -literal -offset 2n -.Li # Ic usbconfig 0.2 set_config 3 +.Li # Ic usbconfig -d 0.2 set_config 3 .Li # Ic usbconfig | grep 'Apple.*cfg=3' ugen0.2: <Apple Inc. iPhone> at usbus0, cfg=3 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) .Ed