Is there a way to get the '/dev/cu.*' port name from a USB device's serial number?
I'm using the following command to get the serial number:
system_profiler SPUSBDataType | grep "Serial Number"
I'm having a problem where the port name in '/dev/cu.*' keeps changing whenever I plug/unplug a USB and I'm trying to map via the serial number.