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