A tool that detailed listing USB device for macOS, Linux, MSYS2 shells and consoles.
lsusb
.listusb
[^1].> bin/listusb -c
listusb, version 0.2.3.27, (C)Copyrighted 2023 Raphael Kim, w/ libusb v1.0.27
Bus 001, Port 002 [0BDA:9210] Realtek, RTL9210-VB
+ Serial number = 821027768393
+ bcdID = 0320, human readable = USB 3.2
+ config[ 0], interfaces = 1, ID = 0x01, max required power = 896 mA
- interface[0] : alt.settings = 2 : Mass storage device, Mass storage device
-> ep[0]=2:02 ( Bulk, Interrupt, ) EP:IN, 06300F000000
02 ( Bulk, Interrupt, ) EP:OUT, 06300F000000
-> ep[1]=4:02 ( Bulk, Interrupt, ) EP:IN, 06300F05000004240300
02 ( Bulk, Interrupt, ) EP:OUT, 06300F05000004240400
02 ( Bulk, Interrupt, ) EP:IN, 06300F05000004240200
02 ( Bulk, Interrupt, ) EP:OUT, 06300000000004240100
total 1 device found.
-c
or --color
.-s
or --simple
.-t
or --tree
..config
file to where is libusb-1.0.26, or latest[^1]: libusb-1.0.26 or later ( for macOS )
-arch x86_64 -arch arm64 -mmacosx-version-min=11.0
to