jay (support) wrote:We're doing a POSIX system call to give us available serial ports, then filtering out bluetooth and any iOS related ones.
I think tty.* is a close approximation to what POSIX is giving us.
Well, this is interesting. I was able to create a device in /dev by turning off SIP, starting scout, which created /dev/ttys002 and then doing
sudo mv /dev/ttys002 /dev/ cu.usbmodem14101
Next, I plugged a UZB1 into the Mac, and it was automatically assigned /dev/cu.usbmodem14201
Then I did
- Code: Select all
$ ls -l /dev/cu*
crw-rw-rw- 1 root wheel 18, 3 Feb 9 14:17 /dev/cu.Bluetooth-Incoming-Port
crw-rw-rw- 1 root wheel 18, 1 Feb 9 14:17 /dev/cu.RichardsMacBook-Bluetoo
crw-rw-rw- 1 root wheel 18, 5 Feb 9 14:17 /dev/cu.RicksiPhoneX-WirelessiA
crw-rw-rw- 2 root wheel 16, 2 Feb 9 17:48 /dev/cu.usbmodem14101
crw-rw-rw- 1 root wheel 18, 9 Feb 9 17:42 /dev/cu.usbmodem14201
Seems Ok. But, when I try to configure the Z-Wave controller what I see is
- Screen Shot 2019-02-09 at 17.52.58 .png (156.2 KiB) Viewed 2311 times
So, it would appear whatever call you are using is not looking at /dev Also odd it showed a Bluetooth device?
EDIT: With SIP off, I was able to get socat to create ttys003 and symlink it to cu.usbmodem14101
lrwxr-xr-x 1 root wheel 0 Feb 9 18:44 /dev/cu.usbmodem14101 -> /dev/ttys003
EDIT 2: And then magically it stopped working until I disabled SIP again.
But, Indigo still does not recognize this.