Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/drvctl add an example about reattaching USB devices



details:   https://anonhg.NetBSD.org/src/rev/cf9bc6e48700
branches:  trunk
changeset: 453285:cf9bc6e48700
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Aug 06 10:45:14 2019 +0000

description:
add an example about reattaching USB devices

diffstat:

 sbin/drvctl/drvctl.8 |  22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 154061cb0459 -r cf9bc6e48700 sbin/drvctl/drvctl.8
--- a/sbin/drvctl/drvctl.8      Tue Aug 06 10:25:13 2019 +0000
+++ b/sbin/drvctl/drvctl.8      Tue Aug 06 10:45:14 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: drvctl.8,v 1.18 2016/09/11 02:59:11 sevan Exp $
+.\" $NetBSD: drvctl.8,v 1.19 2019/08/06 10:45:14 mrg Exp $
 .\"
 .\" Copyright (c) 2004
 .\"    Matthias Drochner.  All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd September 11, 2016
+.Dd August 6, 2019
 .Dt DRVCTL 8
 .Os
 .Sh NAME
@@ -157,6 +157,24 @@
 .Bd -literal -offset indent
 # drvctl -r -a ata_hl atabus1
 .Ed
+.Pp
+To scan for devices on a USB hub
+.Pa uhub3 ,
+that have not been discovered by normal methods (or were detached
+with the
+.Fl d
+option for
+.Nm ) ,
+need to use the
+.Qq usbifif
+or
+.Qq usbdevif
+attributes, try one or both of these:
+.Bd -literal -offset indent
+# drvctl -r -a usbifif uhub3
+# drvctl -r -a usbdevif uhub3
+.Ed
+.Pp
 .Sh SEE ALSO
 .Xr proplib 3 ,
 .Xr drvctl 4 ,



Home | Main Index | Thread Index | Old Index