4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac の homebrew で lsusb を入れる

Posted at

プルリが close され本家には merge されてないんで tap で入れる。

brew install jlhonora/lsusb/lsusb
$ lsusb
Bus 020 Device 002: ID 05ac:0259 Apple Inc. Apple Internal Keyboard / Trackpad 
Bus 020 Device 004: ID 0a5c:4500 Broadcom Corp. BRCM20702 Hub 
Bus 020 Device 009: ID 05ac:8289 Apple Inc. Bluetooth USB Host Controller 
Bus 020 Device 031: ID 05e3:0610 Genesys Logic, Inc. USB2.0 Hub 
Bus 020 Device 013: ID 0483:374b STMicroelectronics STM32 STLink  Serial: 066FFF55565...
Bus 020 Device 012: ID 0483:374b STMicroelectronics STM32 STLink  Serial: 066DFF57525...
Bus 000 Device 001: ID 1d6b:ILPT Linux Foundation USB 3.0 Bus 

なお lsusb 入れなくとも、CUI からツリー構造で見たい場合は

$ system_profiler SPUSBDataType

でも見れる。出力がちょっと冗長だけど。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?