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

Était-ce utile?

La solution

its as easy as:

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top