I have an FTDI USB adapter for loading software onto Arduino's, but it comes with a slight problem. 90% of the time when I unplug the USB cable, the device is not removed as a USB device. It remains listed under System Information > USB > USB 3.0 Bus. This does not seem like a problem at first, but the USB port is not usable anymore. So I use the other USB port on my MacBook. Same thing happens and so both USB ports are useless. After a reboot, I can start over.
Not a big problem, but I really hate to reboot every hour or so. Is there a better way to "remove" / eject the device?
Best Answer
I've found the Apple FTDI driver behaves more predictably than the one from FTDI.
Use
kextstat | grep FTDI
to see which driver you have. On my MBP I hadcom.FTDI.driver.FTDIUSBSerialDriver (2.3) ...
which exhibited the (unwanted) behavior described by the OP.I removed that driver with
sudo kextunload -b com.FTDI.driver.FTDIUSBSerialDriver
.Next time the FTDI dongle was installed, the apple FTDI driver was loaded automatically.
kextstat|grep FTDI
reportscom.apple.driver.AppleUSBFTDI (5.0.0) ...
Now I can remove and replace the dongle and it continues to be recognized by the Arduino IDE.Hope this helps.