Is there an lsusb equivalent for OS X

This question seems to be everywhere on Google, but the answers all point to the use of System Profiler. This is good, but with System Profiler you get just that:

DasKeyboard: Product ID: 0x1919 Vendor ID: 0x04d9 (Holtek Semiconductor, Inc.) Version: 1.06 Speed: Up to 1.5 Mb/sec Location ID: 0x1d114000 / 11 Current Available (mA): 500 Current Required (mA): 100 USB2.0 Hub: Product ID: 0x0608 Vendor ID: 0x05e3 (Genesys Logic, Inc.) Version: 32.98 Speed: Up to 480 Mb/sec Location ID: 0x1d113000 / 10 Current Available (mA): 500 Current Required (mA): 100 Microsoft Basic Optical Mouse v2.0 : Product ID: 0x00cb Vendor ID: 0x045e (Microsoft Corporation) Version: 1.99 Speed: Up to 1.5 Mb/sec Manufacturer: Microsoft Location ID: 0x1d113200 / 12 Current Available (mA): 500 Current Required (mA): 100 

It's great if all you need is the contents of the device descriptor group, but lsusb gives you much more information about interfaces and endpoints, interface associations, component devices ... where can you find this information in OS X? Should there be a tool that does this?

+76
darwin usb macos lsusb
Jun 12 '13 at 5:18
source share
9 answers

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

 brew install lsusb 
+105
Sep 06 '13 at 19:29
source share
β€” -

I usually run this command to list the USB devices in Mac OS X along with detailed information about them:

 ioreg -p IOUSB -l -w 0 
+64
Apr 21 '15 at 16:38
source share

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

 brew install mikhailai/misc/usbutils 

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

+11
Jul 29 '18 at 10:29
source share

On mac osx, you can use the following command:

 system_profiler SPUSBDataType 
+9
Apr 20 '15 at 5:26
source share

If you are a MacPorts user, you can simply install usbutils

 sudo port install usbutils 

If you do not, this may be a good opportunity to install it; it has ports for several other useful Linux tools.

+6
May 16 '16 at 21:52
source share

How about ioreg ? The conclusion is much more detailed than the profiler, but it is a little tight.

Source: https://lists.macosforge.org/pipermail/macports-users/2008-July/011115.html

+4
Jul 02 '14 at 6:09
source share
 system_profiler SPUSBDataType 

this is your macos team

+1
Oct 21 '18 at 12:03
source share

At least 10.10.5, the system_profiler SPUSBDataType output is NOT dynamically updated when a new USB device is connected, but ioreg -p IOUSB -l -w 0 .

0
Dec 23 '15 at 16:17
source share

On Mac OS X, the Xcode USB development kit includes the USB Proper.app application. This is located at / Developer / Applications / Utilities /. USB Prober lets you examine device and interface descriptors.

0
Mar 02 '18 at 4:38
source share



All Articles