usb/160301: [patch] missing device usb and device ucom entries in manpages

Garrett Cooper gcooper at ixsystems.com
Mon Aug 29 23:20:05 UTC 2011


>Number:         160301
>Category:       usb
>Synopsis:       [patch] missing device usb and device ucom entries in manpages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 29 23:20:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.0-BETA1
>Organization:
iXsystems, Inc.
>Environment:
FreeBSD burnout.ixsystems.com 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224989: Sun Aug 21 14:12:11 PDT 2011     gcooper at burnout.ixsystems.com:/usr/obj/usr/src/sys/BURNOUT  amd64
>Description:
The USB serial modules manpages are missing dependencies on usb and ucom:

$ svngrep -r DEPEND /sys/dev/usb/serial/ | sed -E -e 's/.*MODULE_DEPEND\(//g' -e 's/(usb|ucom),.*/\1/g' -e 's/,/->/' | grep -v ^ucom | sort 
u3g-> ucom
u3g-> usb
uark-> ucom
uark-> usb
ubsa-> ucom
ubsa-> usb
ubser-> ucom
ubser-> usb
uchcom-> ucom
uchcom-> usb
ucycom-> ucom
ucycom-> usb
ufoma-> ucom
ufoma-> usb
uftdi-> ucom
uftdi-> usb
ugensa-> ucom
ugensa-> usb
uipaq-> ucom
uipaq-> usb
ulpt-> usb
umcs7840-> ucom
umcs7840-> usb
umct-> ucom
umct-> usb
umodem-> ucom
umodem-> usb
umoscom-> ucom
umoscom-> usb
uplcom-> ucom
uplcom-> usb
uslcom-> ucom
uslcom-> usb
uvisor-> ucom
uvisor-> usb
uvscom-> ucom
uvscom-> usb

The attached patch fixes the manpage bugs.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: share/man/man4/ufoma.4
===================================================================
--- share/man/man4/ufoma.4	(revision 224989)
+++ share/man/man4/ufoma.4	(working copy)
@@ -38,6 +38,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device ufoma"
 .Ed
 .Pp
Index: share/man/man4/uchcom.4
===================================================================
--- share/man/man4/uchcom.4	(revision 224989)
+++ share/man/man4/uchcom.4	(working copy)
@@ -40,6 +40,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uchcom"
 .Ed
 .Pp
Index: share/man/man4/uvisor.4
===================================================================
--- share/man/man4/uvisor.4	(revision 224989)
+++ share/man/man4/uvisor.4	(working copy)
@@ -40,6 +40,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uvisor"
 .Ed
 .Pp
Index: share/man/man4/uplcom.4
===================================================================
--- share/man/man4/uplcom.4	(revision 224989)
+++ share/man/man4/uplcom.4	(working copy)
@@ -40,6 +40,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uplcom"
 .Ed
 .Pp
Index: share/man/man4/ubser.4
===================================================================
--- share/man/man4/ubser.4	(revision 224989)
+++ share/man/man4/ubser.4	(working copy)
@@ -39,6 +39,8 @@
 place the following line in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device ubser"
 .Ed
 .Pp
Index: share/man/man4/umodem.4
===================================================================
--- share/man/man4/umodem.4	(revision 224989)
+++ share/man/man4/umodem.4	(working copy)
@@ -40,6 +40,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device umodem"
 .Ed
 .Pp
Index: share/man/man4/ubsa.4
===================================================================
--- share/man/man4/ubsa.4	(revision 224989)
+++ share/man/man4/ubsa.4	(working copy)
@@ -39,6 +39,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device ubsa"
 .Ed
 .Pp
Index: share/man/man4/umcs.4
===================================================================
--- share/man/man4/umcs.4	(revision 224989)
+++ share/man/man4/umcs.4	(working copy)
@@ -39,6 +39,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device umcs"
 .Ed
 .Pp
Index: share/man/man4/uftdi.4
===================================================================
--- share/man/man4/uftdi.4	(revision 224989)
+++ share/man/man4/uftdi.4	(working copy)
@@ -40,6 +40,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uftdi"
 .Ed
 .Pp
Index: share/man/man4/umct.4
===================================================================
--- share/man/man4/umct.4	(revision 224989)
+++ share/man/man4/umct.4	(working copy)
@@ -36,6 +36,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device umct"
 .Ed
 .Pp
Index: share/man/man4/uvscom.4
===================================================================
--- share/man/man4/uvscom.4	(revision 224989)
+++ share/man/man4/uvscom.4	(working copy)
@@ -40,6 +40,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uvscom"
 .Ed
 .Pp
Index: share/man/man4/uipaq.4
===================================================================
--- share/man/man4/uipaq.4	(revision 224989)
+++ share/man/man4/uipaq.4	(working copy)
@@ -41,6 +41,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uipaq"
 .Ed
 .Pp
Index: share/man/man4/u3g.4
===================================================================
--- share/man/man4/u3g.4	(revision 224989)
+++ share/man/man4/u3g.4	(working copy)
@@ -29,6 +29,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device u3g"
 .Ed
 .Pp
Index: share/man/man4/uark.4
===================================================================
--- share/man/man4/uark.4	(revision 224989)
+++ share/man/man4/uark.4	(working copy)
@@ -27,6 +27,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uark"
 .Ed
 .Pp
Index: share/man/man4/uslcom.4
===================================================================
--- share/man/man4/uslcom.4	(revision 224989)
+++ share/man/man4/uslcom.4	(working copy)
@@ -27,6 +27,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uslcom"
 .Ed
 .Pp
Index: share/man/man4/ucycom.4
===================================================================
--- share/man/man4/ucycom.4	(revision 224989)
+++ share/man/man4/ucycom.4	(working copy)
@@ -38,6 +38,8 @@
 place the following line in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device ucycom"
 .Ed
 .Pp


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list