In addition to system_profiler SPUSBDataType (suggested by @kjs), you can also use ioreg -p IOUSB: $ ioreg -p IOUSB +-o Root <class IORegistryEntry, id 0x100000100, retain 10> +-o EHCI Root Hub Simulation@1A,7 <class IOUSBRootHubDevice, id 0x100000227,$ | +-o HubDevice@fa100000 <class IOUSBHubDevice, id 0x10000027a, registered, $ | | +-o Apple Internal Keyboard / Trackpad@fa120000 <class IOUSBDevi