Recent Changes - Search:

edit SideBar

MacOSMissingTTYPort

When connecting a Hail or Edison then the devices are plugged in to the USB port for programming.

If the device is connected, then you should see:

bash-3.2$ ls -ltr /dev/tty* | tail
crw-rw-rw-  1 root  wheel    4,   4 Feb 23 10:44 /dev/ttyp4
crw-rw-rw-  1 root  wheel    4,   3 Feb 23 10:44 /dev/ttyp3
crw-rw-rw-  1 root  wheel    4,   2 Feb 23 10:44 /dev/ttyp2
crw-rw-rw-  1 root  wheel    4,   1 Feb 23 10:44 /dev/ttyp1
crw-rw-rw-  1 root  wheel    4,   0 Feb 23 10:44 /dev/ttyp0
crw-rw-rw-  1 root  wheel   20,   0 Feb 23 10:44 /dev/tty.Bluetooth-Incoming-Port
crw-rw-rw-  1 root  wheel   20,   2 Feb 23 10:44 /dev/tty.usbserial-ANZ1R15T
crw--w----  1 cxh   tty     16, FTI  1 Feb 23 10:45 /dev/ttys001
crw-rw-rw-  1 root  wheel    2,   0 Feb 23 10:45 /dev/tty
crw--w----  1 cxh   tty     16,   0 Feb 23 10:45 /dev/ttys000
bash-3.2$

If ls -l /dev/tty* | tail is not showing the /dev/tty.ucbserial* port, then read on.

Apparently, recent versions of the com.FTDI driver seem to slowly kill the serial port. One solution is to remove that driver:

  1. Check that the FTDI driver is installed:
    bash-3.2$ kextstat | grep FTDI
      138    0 0xffffff7f82e4d000 0x8000     0x8000     com.FTDI.driver.FTDIUSBSerialDriver (2.2.18) 638ECCC3-375D-CD1A-C2EC-0DC14740FC9C <119 39 5 4 3 1>
  2. Unplug the USB ports
  3. Look for the driver file:
    bash-3.2$ find /System/Library/Extensions -name "*FTDI*"
    /System/Library/Extensions/AppleUSBFTDI.kext
    /System/Library/Extensions/AppleUSBFTDI.kext/Contents/MacOS/AppleUSBFTDI
    /System/Library/Extensions/EnergiaFTDIDrivers2.2.18.pkg
    /System/Library/Extensions/FTDI Installer.pmdoc
    /System/Library/Extensions/FTDIUSBSerialDriver.kext
  4. Unload the FTDIUSBSerialDriver.kext not sure about this command:
    kextunload /System/Library/Extensions/FTDIUSBSerialDriver.kext
  5. Check that it is unloaded
bash-3.2$ kextstat | grep FTDI
  1. Move the file elsewhere
    sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /root/
  2. Reboot

See also storm

Edit - History - Print - Recent Changes - Search
Page last modified on February 23, 2017, at 06:56 PM