lsusb.py(1)

πŸ“¦
version 020 Β· 2 versions
  • 020 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixos 26.05, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 017 Β· ubuntu noble
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixos 26.05, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ lsusb.py ✨

okay bestie, gather round, because this little cutie lives in your Linux USB Utilities corner of the manual and it is literally about to tell you everything your USB ports are up to πŸ¦‹


πŸ’– NAME πŸ’–

lsusb.py β€” list USB devices πŸ’…


🌸 SYNOPSIS 🌸

lsusb.py [ options ]

πŸŽ€ DESCRIPTION πŸŽ€

so lsusb.py is a utility for displaying information about USB buses in the system and the devices connected to them, no cap. it uses the usb.ids file to associate a human-readable name to the vendor and product IDs, so instead of staring at a mystery hex number like it's a cryptic text from a guy you're ignoring, you get an actual name. iconic behavior honestly πŸ‘‘

and like, in comparison with lsusb(8), this program can display additional information such as the interface speed of a device, and details of a device's interfaces β€” including the driver bound to them and Linux devices provided by the driver β€” plus the details of device and interface endpoints. she's giving ✨*thorough*✨. main character energy fr fr πŸ’œ


🫢 OPTIONS 🫢

  • -h, --help β€” Displays options supported by lsusb(1). yes bestie, ask her, she'll tell you πŸ₯°
  • -i, --interfaces β€” Display information about the interfaces of each device, excluding hubs. hubs get left out of this one, sorry babes πŸ’€
  • -I, --hub-interfaces β€” Display information about the interfaces of each device, including hubs., excluding hubs. and yeah, that is exactly what it says, "including hubs., excluding hubs." β€” the manpage said what it said and I am not about to edit her. we respect the text πŸ™ˆ
  • -u, --hide-empty-hubs β€” Suppress information about hubs that have no devices connected. nothing plugged in? not our problem, not on our screen πŸ’…
  • -U, --hide-hubs β€” Suppress information about hubs, even if they have devices connected. bold. brave. hub erasure 😭
  • -c, --color β€” Use color 🌈
  • -C, --no-color β€” Don't use color. (for the minimalists, we love you anyway) πŸŽ€
  • -e, --endpoints β€” Include information about device (and interface, with -i) endpoints. yes she said with -i β€” team up, girlies 🫢
  • -f, --usbids-path β€” Overrides the path of the usb.ids file. you want your own ids file? go off, you get to choose 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

lspci(8), lsusb(8), usbview(8).

(the whole friend group, obsessed with them all πŸ’–)


🌟 AUTHOR 🌟

Thomas Sailer, <sailer@ife.ee.ethz.ch>, Sam Morris <sam@robots.org.uk>.

legends, genuinely. thank you for your service 🫑✨


and that's the whole page, bestie!! this one came from the usbutils girlies and it's dated 03 January 2024 β€” so go forth, run lsusb.py, and let her tell you what's plugged in πŸ’…πŸŒΈπŸ’œ

πŸ“¦ where this page comes from