A macOS specific command to view details about devices connected to the USB bus (the same details are presented in System Report):
system_profiler SPUSBDataType