is there a utility like 'lsblk' but for serial ports?

e.g. which lists all ports, which USB device they belong to (if any), as well as other available information

i keep losing track which /dev/ttyUSBx is which with a bunch of embedded dev boards connected

I suppose the most elegant way to handle this is to make udev aliases (using rules based on vendorID etc) instead of using /dev/ttyUSBx directly


this is what I ended up with:

with these rules, udev will create symlinks under /dev/serial named after the device and the specific port when plugging it in

BUT it's quite difficult to even distinguish some devices, sometimes this can be done based on either product name or serial number, if the vendor was so helpful to set them

Sign in to participate in the conversation
unidentified instance [

A private instance for discussion of:

  • Free and Open Source Software/Hardware
  • Privacy tech, P2P networks, and cryptocurrency development
  • Reverse engineering

  • Anti-authoritarianism and decentralization


(instance image by мøтħer ¢røω)