symlinking devices in /dev
Posted: Fri Feb 08, 2019 1:54 pm
I am trying to create a virtual device in /dev that can be found by Indigo, or an Indigo plugin. It is possible to create virtual device servers on other hosts using ser2net or pyserial and then create virtual devices in /dev that connect to the remote service. This can be done using socat or MultiCom and possibly other methods. However, the virtual devices these tools create have \ generic names like ttys001 and the indigo.serialPorts Device description class does not see them. What I want to do is:
At this point I have a lot of questions and no direction... But, here are my questions/thoughts:
- sudo ln -s /dev/ttys001 /dev/cu/usbmodem12345
At this point I have a lot of questions and no direction... But, here are my questions/thoughts:
- In Mojave, is there a work-around for symlinking devices?
- Could/Should indigo.serialPort be modified, or modifiable by a plugin, to look for other patterns?
- Should there be an option to specify a device in a combination pulldown/text field?
- Should developers just start offering an extra text filled for the full path name to a device? Which would not even have to be in /dev.
- Is the best answer to this question not even on this list?