Lsusb
From DikapediaV2
lsusb - list USB devices
(This was on Ubuntu 22.04)
USB unplugged from system:
$ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0a5c:5842 Broadcom Corp. 58200 Bus 001 Device 002: ID 0c45:6a1d Microdia Integrated_Webcam_FHD Bus 001 Device 005: ID 8087:0033 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
USB plugged into system:
$ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0a5c:5842 Broadcom Corp. 58200 Bus 001 Device 002: ID 0c45:6a1d Microdia Integrated_Webcam_FHD Bus 001 Device 005: ID 8087:0033 Intel Corp. Bus 001 Device 007: ID 0781:5575 SanDisk Corp. Cruzer Glide <------------ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- For information about USB, refer to this link: https://www.beyondlogic.org/usbnutshell/usb1.shtml