Using El Capitan 10.11 I could not connect to Ardunio UNO -- The Arduino IDE (v1.7.9) would compile my code then hang on communication with the board. At the same time a kernel task would spin out of control hanging machine so it appeared to be some problem with the serial driver.
Tonight I put together some of the ideas in this thread (with some other things on the web) and got my Arduino working again on El Capitan. Here's what I did:
- Disable SIP using csrutil as discussed above (and elsewhere) so I could disable Apples FTDI driver
- Disable Apple's FTDI serial driver following instruction in Section 7 of the FTDI Chip driver installation guide located here.
- Install the OSX 64-bit FTDI serial driver (version 2.3) from FTDI chip website here
To disable the Apple FTDI serial driver do the following:
cd /System/Library/Extensions/IOUSBFamily.kext/Contents/Plugins
sudo mv AppleUSBFTDI.kext AppleUSBFTDI.disabled
sudo touch /System/Library/Extensions
Notes:
- If you haven't disabled SIP the mv command above will fail
- This worked fine on my OS X 10.10.5 system, but on my newer 10.11 system I found AppleUSBFTDI.kext in /System/Library/Extensions/ rather than in IOUSBFamily.kext
- If you are the paranoid type go back in and re-enable SIP... I don't think I will :o
After replacing the FTDI driver I saw the serial /dev/tty.usbmodem1D11 appear when I plugged my Uno board into the USB port .
On my OSX 10.11 system I still had trouble with serial communication hanging until I added a cheap Belkin 3 to 1 USB adaptor (thanks for the idea PhilippeFromGpe ) that I had lying around.
With the board plugged into this external USB adaptor I noticed that serial port switched to /dev/tty.usbmodemFD141 and after selecting that port in the Ardunio IDE communication worked fine again and I can resume Arduino development on my El Capitan system. :) [/list][/list]