summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2018-04-16 16:20:21 +0000
committertrasz <trasz@FreeBSD.org>2018-04-16 16:20:21 +0000
commit864e28aa0a788019c3bf6fbd2f29ea706edebb30 (patch)
treea6c65d4f2edcaa2a0acf2636052ecc6074e490fd /share
parent1272f9689b6cb22cbec4abb21083fed8164e3fba (diff)
downloadFreeBSD-src-864e28aa0a788019c3bf6fbd2f29ea706edebb30.zip
FreeBSD-src-864e28aa0a788019c3bf6fbd2f29ea706edebb30.tar.gz
MFC r328590:
Document the new hw.usb.template behaviour.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/usb_template.411
1 files changed, 7 insertions, 4 deletions
diff --git a/share/man/man4/usb_template.4 b/share/man/man4/usb_template.4
index c9a6815..2a9249c 100644
--- a/share/man/man4/usb_template.4
+++ b/share/man/man4/usb_template.4
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd June 8, 2016
+.Dd January 30, 2018
.Dt USB_TEMPLATE 4
.Os
.
@@ -66,9 +66,11 @@ or by using the
.Xr usbconfig 8
.Cm set_template
subcommand.
-The sysctl values can be changed at any time, but will not
-have any effect until the USB device has been re-enumerated.
-.
+Changing the
+.Va hw.usb.template
+sysctl triggers reenumeration by the USB host; changes to other sysctls
+may not be visible to the host until reenumeration is performed.
+.Pp
Available templates are:
.Bl -column -offset 3n "Value"
.It Em Value Ta Em Description
@@ -93,6 +95,7 @@ tunables:
.Bl -tag -width indent
.It Va hw.usb.template
Currently selected template.
+Set to -1 to make the device disappear from the USB host point of view.
.It Va hw.usb.templates.N
Configuration for template number
.Va N .
OpenPOWER on IntegriCloud