xref: /netbsd-src/usr.sbin/usbdevs/usbdevs.8 (revision b66056e8a06208f12b17016a3b0b4911f1160385)
1*b66056e8Smlelstv.\" $NetBSD: usbdevs.8,v 1.10 2016/06/26 07:10:24 mlelstv Exp $
2caf9aabbSaugustss.\"
3caf9aabbSaugustss.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
4deb00272Saugustss.\" All rights reserved.
5deb00272Saugustss.\"
6caf9aabbSaugustss.\" This code is derived from software contributed to The NetBSD Foundation
7caf9aabbSaugustss.\" by Lennart Augustsson.
8deb00272Saugustss.\"
9deb00272Saugustss.\" Redistribution and use in source and binary forms, with or without
10deb00272Saugustss.\" modification, are permitted provided that the following conditions
11deb00272Saugustss.\" are met:
12deb00272Saugustss.\" 1. Redistributions of source code must retain the above copyright
13deb00272Saugustss.\"    notice, this list of conditions and the following disclaimer.
14deb00272Saugustss.\" 2. Redistributions in binary form must reproduce the above copyright
15deb00272Saugustss.\"    notice, this list of conditions and the following disclaimer in the
16deb00272Saugustss.\"    documentation and/or other materials provided with the distribution.
17deb00272Saugustss.\"
18deb00272Saugustss.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19deb00272Saugustss.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20deb00272Saugustss.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21deb00272Saugustss.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22deb00272Saugustss.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23deb00272Saugustss.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24deb00272Saugustss.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25deb00272Saugustss.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26deb00272Saugustss.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27deb00272Saugustss.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28deb00272Saugustss.\" POSSIBILITY OF SUCH DAMAGE.
29deb00272Saugustss.\"
30c908dc3bStnn.Dd August 15, 2011
31deb00272Saugustss.Dt USBDEVS 8
32deb00272Saugustss.Os
33deb00272Saugustss.Sh NAME
34deb00272Saugustss.Nm usbdevs
35deb00272Saugustss.Nd show USB devices connected to the system
36deb00272Saugustss.Sh SYNOPSIS
37deb00272Saugustss.Nm
388579c851Swiz.Op Fl dv
39deb00272Saugustss.Op Fl a Ar addr
40cf835b8aSaugustss.Op Fl f Ar dev
41deb00272Saugustss.Sh DESCRIPTION
42deb00272Saugustss.Nm
43deb00272Saugustssprints a listing of all USB devices connected to the system
44deb00272Saugustsswith some information about each device.
45deb00272SaugustssThe indentation of each line indicates its distance from the root.
46deb00272Saugustss.Pp
47deb00272SaugustssThe options are as follows:
48b0c56364Sbjh21.Bl -tag -width Fl
49deb00272Saugustss.It Fl a Ar addr
50c908dc3bStnnOnly print information about the device at the given address.
5126ebe429Saugustss.It Fl d
5226ebe429SaugustssShow the device drivers associated with each device.
53cf835b8aSaugustss.It Fl f Ar dev
54c908dc3bStnnOnly print information for the given USB controller.
55deb00272Saugustss.It Fl v
56*b66056e8SmlelstvBe verbose, more information is given if used twice.
57deb00272Saugustss.El
58b0c56364Sbjh21.Sh FILES
59b0c56364Sbjh21.Bl -tag -width Pa
60b0c56364Sbjh21.It Pa /dev/usb[0-9]
61b0c56364Sbjh21Default USB controllers.
62b0c56364Sbjh21.El
63deb00272Saugustss.Sh SEE ALSO
64deb00272Saugustss.Xr usb 4
65deb00272Saugustss.Sh HISTORY
66deb00272SaugustssThe
67deb00272Saugustss.Nm
68deb00272Saugustsscommand appeared in
69deb00272Saugustss.Nx 1.4 .
70