Related question: USB connect/disconnect notificationWhen the device is plugged/unplugged, I get instant notification, that's great. But to make it (almost) perfect, I also want to get device filename like /dev/ttyUSB0, and, even better, all symlinks to it.But, I can't find how to get this information from udev, or from lsusb, or somehow else. The only ID of the device I have is a device path like /devices/pci0000:00/0000:00:1d.0/usb5/5-1. How to get device filename from it?
How to get device filename from lsusb output or by device path
linux;usb;devices;udev