Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent of lsusb for OS X

People also ask

How can I see what USB devices are connected to my Mac?

You can view icons for hard disks, external disks, CDs, DVDs, iPhone, iPad, iPod touch, and connected servers in the Finder sidebar or on your desktop. In the Finder on your Mac, choose Finder > Preferences. Click General, then select the items you want to see on the desktop.

What does Lsusb mean?

lsusb is a utility for displaying information about USB buses in the system and the devices connected to them. To make use of all the features of this program, you need to have a Linux kernel which supports the /proc/bus/usb interface (e.g., Linux kernel 2.3. 15 or newer).

How install Lsusb Linux?

How to install lsusb. lsusb is available in distribution official repository so, we can easily install through distribution package manager. For Debian/Ubuntu , use apt-get command or apt command to install lsusb. For RHEL/CentOS , use YUM command to install lsusb.

What does Lsusb show?

The lsusb command in Linux is used to display the information about USB buses and the devices connected to them. The properties displayed are speed, BUS, class, type details, etc.


I got tired of forgetting the system_profiler SPUSBDataType syntax, so I made an lsusb alternative. You can find it here , or install it with homebrew:

brew install lsusb

I typically run this command to list USB devices on Mac OS X, along with details about them:

ioreg -p IOUSB -l -w 0

Homebrew users: you can get lsusb by installing usbutils formula from my tap:

brew install mikhailai/misc/usbutils

It installs the REAL lsusb based on Linux sources (version 007).


In mac osx , you can use the following command:

system_profiler SPUSBDataType

If you are a user of MacPorts, you may simply install usbutils

sudo port install usbutils

If you are not, this might be a good opportunity to install it, it has ports for several other useful linux tools.


system_profiler SPUSBDataType

it your need command on macos