MAN page from Fedora 15 usbutils-001-3.fc15.x86_64.rpm
Section: Linux USB Utilities (1)
Updated: 23 June 2009Index
usb-devices - print USB device details
is a (bash) shell script that can be used to display details of USBbuses in the system and the devices connected to them.
The output of the script is similar to the usb/devices fileavailable either under /proc/bus (if usbfs is mounted), or under/sys/kernel/debug (if debugfs is mounted there). The script isprimairily intended to be used if the file is not available.
In contrast to the usb/devices file, this script only listsactive interfaces (those marked with a "*" in the usb/devicesfile) 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.
If sysfs is not mounted, a non-zero exit code is returned.
- The part of the sysfs tree the script walks through to assemble theprinted information.
- Location where the usb/devices file can normally be found forLinux kernels before 2.6.31, if usbfs is mounted.
- Location where the usb/devices file can normally be found forLinux kernel 2.6.31 and later, if debugfs is mounted.
Greg Kroah-Hartman <gregAATTkroah.com>Randy Dunlap <rdunlapAATTxenotime.net>Frans Pop <elendilAATTplanet.nl>
- RETURN VALUE
- SEE ALSO
This document was created byman2html,using the manual pages.