1usb-devices(1)                Linux USB Utilities               usb-devices(1)
2
3
4

NAME

6       usb-devices - print USB device details
7

SYNOPSIS

9       usb-devices
10
11

DESCRIPTION

13       usb-devices  is  a  shell script that can be used to display details of
14       USB buses in the system and the devices connected to them.
15
16       The output of the script is similar to the usb/devices  file  available
17       either  under /proc/bus (if usbfs is mounted), or under /sys/kernel/de‐
18       bug (if debugfs is mounted there). The script is primarily intended  to
19       be used if the file is not available.
20
21       In  contrast to the usb/devices file, this script only lists active in‐
22       terfaces (those marked with a "*" in the usb/devices  file)  and  their
23       endpoints.
24
25       Be  advised  that  there  can  be differences in the way information is
26       sorted, as well as in the format of the output.
27
28

RETURN VALUE

30       If sysfs is not mounted, a non-zero exit code is returned.
31
32

FILES

34       /sys/bus/usb/devices/usb*
35              The part of the sysfs tree the script walks through to  assemble
36              the printed information.
37
38       /proc/bus/usb/devices
39              Location  where  the  usb/devices file can normally be found for
40              Linux kernels before 2.6.31, if usbfs is mounted.
41
42       /sys/kernel/debug/usb/devices
43              Location where the usb/devices file can normally  be  found  for
44              Linux kernel 2.6.31 and later, if debugfs is mounted.
45
46

SEE ALSO

48       lsusb(8), usbview(8).
49
50

AUTHORS

52       Greg Kroah-Hartman <greg@kroah.com>
53
54       Randy Dunlap <rdunlap@xenotime.net>
55
56       Frans Pop <elendil@planet.nl>
57
58
59
60usbutils-015                     23 June 2009                   usb-devices(1)
Impressum