How to check the USB devices connected to Linux by using Terminal All In One

发布时间 2023-03-31 16:35:16作者: xgqfrms

How to check the USB devices connected to Linux by using Terminal All In One

Raspberry Pi 3 B

$ lsusb
Bus 001 Device 004: ID 2e8a:0005  
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

macOS

  1. system reports / system informations

image

  1. command line
$  lsusb
zsh: command not found: lsusb

$ ioreg -p IOUSB
+-o Root  <class IORegistryEntry, id 0x100000100, retain 25>
  +-o AppleUSBVHCIBCE Root Hub Simulation@80000000  <class AppleUSBRootHubDevice, id 0x10000050b, re$
  | +-o Apple T2 Controller@80100000  <class AppleUSBDevice, id 0x10000050d, registered, matched, ac$
  | +-o Headset@80200000  <class AppleUSBDevice, id 0x100000515, registered, matched, active, busy 0$
  +-o AppleUSBXHCI Root Hub Simulation@00000000  <class AppleUSBRootHubDevice, id 0x10000052b, regis$
  | +-o USB3.0 Hub@00200000  <class AppleUSBDevice, id 0x10000052d, registered, matched, active, bus$
  +-o AppleUSBXHCI Root Hub Simulation@14000000  <class AppleUSBRootHubDevice, id 0x100000544, regis$
    +-o USB2.0 Hub@14400000  <class AppleUSBDevice, id 0x100000546, registered, matched, active, bus$
    | +-o USB DEVICE@14420000  <class AppleUSBDevice, id 0x10005610c, registered, matched, active, b$
    +-o USB Receiver@14300000  <class AppleUSBDevice, id 0x100000557, registered, matched, active, b$
    +-o USB 2.0 BILLBOARD             @14100000  <class AppleUSBDevice, id 0x10000056e, registered, $
➜  ~ 

image

(? 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 ?️,侵权必究⚠️!