Version 1 (modified by jazz, 7 years ago) (diff) |
---|
2018-02-22
Mac OS X
- [緣由] 當使用 USB Hub 來接其他 Mac 筆電的外接裝置,偶爾都會沒反應,想使用類似 linux 底下的 lsusb 指令來查到底偵測到了沒
- [參考] https://stackoverflow.com/questions/17058134/is-there-an-equivalent-of-lsusb-for-os-x - https://github.com/jlhonora/lsusb
- [解法一]
brew update && brew tap jlhonora/lsusb && brew install lsusb
- [解法二]
system_profiler SPUSBDataType