Sometimes I'm using more than on /dev/ttyx device. The first one is usually ontty0, the second one tty1 and so on.How can I tell which port they are on.lsusb lists the device but I do not know the port number.
lsusb -t -vGives device numbers and ports but the plain lsusb gives device namealong with device number.The two should give you all the information you require :-)Note: lsusb -v will give you far more information but it's a case ofsorting out which bits are relevant
I'm using a Make makefile that wants to know what USB port to use.Sometimes it is /dev/tttyUSB0, other times it is /dev/ttyUSB1. How can Itell the Make makefile which one to use?