FTDI Community
General Category => Discussion - Software => Topic started by: dsandber on August 19, 2022, 09:47:06 AM
-
I installed the 1.5.0 driver and rebooted (is a reboot necessary?) on a Mac running OSX 12.4 (Monterey).
I don't see the driver listed when I do "kextstat" (should it be shown? as what?)
However, now when I iterate the com ports via API I see two different /dev/ files listed -- /dev/cu.usbserial-2
and /dev/cu.usbserial-TheSerialNumber.
This is due to a bug in the driver or installation, right? How do I uninstall the driver so the extra /dev/ entry goes away?
The reason I'm not content to use Apple's standard driver is that I want to lower the USB latency polling to 1ms so that I can have more transactions per second for the device I'm designing. Does this new driver support that without a re-sign being required?
Thanks!
-Dan
-
Hi,
You are correct that you need to use the FTDI driver for the latency issue. The thread below covers this subject:-
https://www.ftdicommunity.com/index.php?topic=547.msg2134#msg2134 (https://www.ftdicommunity.com/index.php?topic=547.msg2134#msg2134)
The last post from the thread has the info on latency you need.
On the double instance of the port, are you seeing a .cu and a .tty for the same device or is there a different thing appended onto the end of each entry?
Regards
FTDI Community
-
Thanks, I had seen that thread. The utility does work to reduce latency, though I see increased serial errors with it. The utility author apparently had a similar problem and that caused him to bypass the serial driver completely and interface with the FTDI API instead.
To answer your question, I am seeing these files when I insert ONE dongle:
cu.usbserial-2
cu.usbserial-THE_SERIAL
tty.usbserial-2
tty.usbserial-THE_SERIAL
When I do "kextstat | grep -v com.ap" it doesn't show any non-Apple drivers loaded. So I'm confused how the driver could not be loaded but yet installing it caused the /dev links to show up twice.
BTW, should this thread be moved to the Drivers category? It seems like I started it in the wrong place.
Thanks!
-
I figured out an ugly but effective way to uninstall the beta driver that caused me to have duplicate port entries.
I had to restart in recovery mode, disable SIP, then run a command to uninstall the system extension that the beta driver installs.
Fun.