root@miner1:~# ls -la /dev/serial/by-path/
total 0
drwxr-xr-x 2 root root 240 Mar 2 14:39 .
drwxr-xr-x 4 root root 80 Mar 2 14:39 ..
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.1:1.0 -> ../../ttyACM0
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.2:1.0 -> ../../ttyACM1
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.3:1.0 -> ../../ttyACM2
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.4:1.0 -> ../../ttyACM3
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.5:1.0 -> ../../ttyACM4
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.6:1.0 -> ../../ttyACM5
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.7.1:1.0 -> ../../ttyACM6
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.7.2:1.0 -> ../../ttyACM7
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.7.3:1.0 -> ../../ttyACM8
lrwxrwxrwx 1 root root 13 Mar 2 14:39 pci-0000:00:02.1-usb-0:5.7.4:1.0 -> ../../ttyACM9
root@miner1:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/10p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
|__ Port 5: Dev 2, If 0, Class=Hub, Driver=hub/7p, 480M
|__ Port 1: Dev 3, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 1: Dev 3, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 2: Dev 4, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 2: Dev 4, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 3: Dev 5, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 3: Dev 5, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 4: Dev 6, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 4: Dev 6, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 5: Dev 7, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 5: Dev 7, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 6: Dev 8, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 6: Dev 8, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 7: Dev 9, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 10, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 1: Dev 10, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 2: Dev 11, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 2: Dev 11, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 3: Dev 12, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 3: Dev 12, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 4: Dev 13, If 0, Class=Communications, Driver=cdc_acm, 12M
|__ Port 4: Dev 13, If 1, Class=CDC Data, Driver=cdc_acm, 12M
Anyone know an easier way to tie my BUS and DEV numbers to my tty numbers?