Command: usb

List all USB devices connected to your Mac.

Usage

Usage: m usb [OPTION]

Description: List USB devices connected to the system.

Options:
  --help       Show this help message

Description

This command provides a detailed, tree-like view of the USB device hierarchy by using the ioreg -p IOUSB command. It shows hubs and connected devices, providing technical details for each.

Example

m usb

Sample Output:

+-o Root  <class IORegistryEntry, id 0x100000100, retain 22>
  +-o AppleUSBVHCIBoot@1d000000  <class AppleUSBVHCIBoot, id 0x1000002b8, registered, matched, active, busy 0 (0 ms), retain 8>
  +-o AppleUSBVHCIBoot@1a000000  <class AppleUSBVHCIBoot, id 0x1000002b9, registered, matched, active, busy 0 (0 ms), retain 8>
  +-o AppleUSBXHCI@1d100000  <class AppleUSBXHCI, id 0x1000002f2, registered, matched, active, busy 0 (0 ms), retain 19>
    +-o USB 2.0 Hub@1d110000  <class IOUSBHostDevice, id 0x100000f0e, registered, matched, active, busy 0 (0 ms), retain 14>
      +-o Apple Internal Keyboard / Trackpad@1d112000  <class IOUSBHostDevice, id 0x100000f13, registered, matched, active, busy 0 (0 ms), retain 16>