# man > usb-devices(1)

[usb-devices(1)](https://www.chedong.com/phpMan.php/man/usb-devices/1/markdown)                           Linux USB Utilities                          [usb-devices(1)](https://www.chedong.com/phpMan.php/man/usb-devices/1/markdown)



## NAME
       usb-devices - print USB device details

## SYNOPSIS
### usb-devices


## DESCRIPTION
       **usb-devices**  is a shell script that can be used to display details of USB buses in the system
       and the devices connected to them.

       The output of the script is similar to the _usb/devices_ file available either under  _/proc/bus_
       (if  usbfs  is mounted), or under _/sys/kernel/debug_ (if debugfs is mounted there). The script
       is primarily intended to be used if the file is not available.

       In contrast to the _usb/devices_ file, this script only lists _active_ interfaces  (those  marked
       with a "*" in the _usb/devices_ file) and their endpoints.

       Be  advised that there can be differences in the way information is sorted, as well as in the
       format of the output.


## RETURN VALUE
       If sysfs is not mounted, a non-zero exit code is returned.


## FILES
       **/sys/bus/usb/devices/usb***
              The part of the sysfs tree the script walks through to assemble the  printed  informa‐
              tion.

### /proc/bus/usb/devices
              Location  where  the  _usb/devices_  file can normally be found for Linux kernels before
              2.6.31, if usbfs is mounted.

### /sys/kernel/debug/usb/devices
              Location where the _usb/devices_ file can normally be found for Linux kernel 2.6.31  and
              later, if debugfs is mounted.


## SEE ALSO
       [**lsusb**(8)](https://www.chedong.com/phpMan.php/man/lsusb/8/markdown), [**usbview**(8)](https://www.chedong.com/phpMan.php/man/usbview/8/markdown).


## AUTHORS
       Greg Kroah-Hartman <<greg@kroah.com>>

       Randy Dunlap <<rdunlap@xenotime.net>>

       Frans Pop <<elendil@planet.nl>>



usbutils-014                                23 June 2009                              [usb-devices(1)](https://www.chedong.com/phpMan.php/man/usb-devices/1/markdown)
