After plugging the USB to the port of my machine, if I do
lsusb I see the device I am looking for:
Bus 001 Device 004: ID 04f2:b573 Some Manufacturer
If I list the devices under
/dev/, I can see lots of device paths, such as
/dev/ttyUSB0... etc. For what I understand, one of these paths will be my USB device, or be where my USB device is connected to.
How do I know which one is the one with the ID
This question is similar to mine, however (referring to the accepted answer) I don't know what exactly is
$ID_SERIAL, or how to I set it to be equal to the Id I'm looking for, or even what is the correct path (since his example shows multiple device paths, such as
Also, the second answer assumes that I know the device is connected to
/dev/ttyUSB0, which I don't know beforehand (testing it on this specific path gives me no device, by the way).