Mac使用brew安装lsusb命令

2021-12-02 11:32 阅读 275 次 Mac使用brew安装lsusb命令已关闭评论

1.更新brew

brew update

2.安装lsusb

brew install lsusb

示例:

[[email protected]:22:44]~$ brew install lsusb
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/lsusb-1.0.big_sur.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lsusb-1.0.big_sur.bottle.tar.gz
🍺 /usr/local/Cellar/lsusb/1.0: 4 files, 12.8KB
==> Running `brew cleanup lsusb`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
[[email protected]:23:06]~$ lsusb
Bus 020 Device 002: ID 2717:501e 2717 Mi Smart Mouse's Dongle Serial: 0123456789AB
Bus 020 Device 001: ID 0a12:0001 Cambridge Silicon Radio Ltd. CSR8510 A10
Bus 020 Device 003: ID 1a2c:4094 1a2c USB Keyboard
Bus 000 Device 001: ID 1d6b:ISPT Linux Foundation USB 3.0 Bus
[[email protected]:23:39]~$

版权声明:本文著作权归原作者所有,欢迎分享,谢谢支持!
转载请保留注明:Mac使用brew安装lsusb命令 | DXL学习
分类:Mac 标签:

评论已关闭!