Question

I'm wondering if someone knows a way to manage USB serial port names in OSX? For example, whenever I connect a specific device serial number I always want it's serial /dev/device1

I know in linux you can do this by /etc/udev/rules.d/49-persistent-usb.rules and adding a device rule like SUBSYSTEM=="tty", ATTRS{serial}=="1234567", SYMLINK+="device1"

What is the Mac equivalent? Thanks in advance.

...maybe this is as easy as just a normal symbolic link for /dev/tty.usb > /dev/device1

Was it helpful?

Solution

its as easy as:

$sudo ln -sf /dev/oldname /dev/newname

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top