{
    "mode": "man",
    "parameter": "usb-devices",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/usb-devices/1/json",
    "generated": "2026-06-17T11:04:35Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "usb-devices - print USB device details\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "usb-devices",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "usb-devices  is a shell script that can be used to display details of USB buses in the system\nand the devices connected to them.\n\nThe output of the script is similar to the usb/devices file available either under  /proc/bus\n(if  usbfs  is mounted), or under /sys/kernel/debug (if debugfs is mounted there). The script\nis primarily intended to be used if the file is not available.\n\nIn contrast to the usb/devices file, this script only lists active interfaces  (those  marked\nwith a \"*\" in the usb/devices file) and their endpoints.\n\nBe  advised that there can be differences in the way information is sorted, as well as in the\nformat of the output.\n\n",
            "subsections": []
        },
        "RETURN VALUE": {
            "content": "If sysfs is not mounted, a non-zero exit code is returned.\n\n",
            "subsections": []
        },
        "FILES": {
            "content": "/sys/bus/usb/devices/usb*\nThe part of the sysfs tree the script walks through to assemble the  printed  informa‐\ntion.\n",
            "subsections": [
                {
                    "name": "/proc/bus/usb/devices",
                    "content": "Location  where  the  usb/devices  file can normally be found for Linux kernels before\n2.6.31, if usbfs is mounted.\n"
                },
                {
                    "name": "/sys/kernel/debug/usb/devices",
                    "content": "Location where the usb/devices file can normally be found for Linux kernel 2.6.31  and\nlater, if debugfs is mounted.\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "lsusb(8), usbview(8).\n\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Greg Kroah-Hartman <greg@kroah.com>\n\nRandy Dunlap <rdunlap@xenotime.net>\n\nFrans Pop <elendil@planet.nl>\n\n\n\nusbutils-014                                23 June 2009                              usb-devices(1)",
            "subsections": []
        }
    },
    "summary": "usb-devices - print USB device details",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "lsusb",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/lsusb/8/json"
        },
        {
            "name": "usbview",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/usbview/8/json"
        }
    ]
}