I'm working on Raspberry Pi 2. I'm trying to give permanent names(symlink) to each 4 different usb serial ports independent of devices like '/dev/ttyMyPort0' for first, '/dev/ttyMyPort1' for second, '/dev/ttyMyPort2' for third and '/dev/ttyMyPort3' for fourth when they are active.
I tried to get it through the Udev rules, but I wasn't successful. I still get ttyUSB0 when I plugged DIGITUS USB 2.0 serial adapter to every port. Anybody know the solution? I'm working on raspberry for the first time and my first question on the forum.
If you want, I'll edit the post again for the necessary explanations. Thank you in advance for your help and attention.
Code: Select all
[b]lsusb[/b] Bus 001 Device 009: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub