OSX list USB devices (lsusb equivalent)

Mac OSX, Mobile development

mobile, OSX, quickies

Linux users have the lsusb command to list all their usb devices.
The Mac OSX command line equivalent is
system_profiler SPUSBDataType

For a visual alternative in Lion, the steps are:

  • click the apple in the top left corner
  • choose About This Mac
  • click on the More Info… button to access the System Information application
  • click on the System Report… button
  • under Hardware group, there’s the USB option that we were searching for

I needed this information to access my HTC phone with Android that I had connected via USB.