macOS High Sierra (10.13) FTDI Driver Bug Workaround

Posted on
Sun Aug 05, 2018 9:07 pm
gtreece offline
Posts: 169
Joined: Sep 26, 2011

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

jay (support) wrote:
Yes, we'll install the beta at some point and test. However, the only Mac I was able to confirm the bugs on is not supported by Mojave. So, bottom line is that we may no longer have the ability to duplicate the bugs even if they persists in Mojave. Anyone who's testing Mojave would give us valuable insight into these bugs.


Jay, I have Mojave dev beta on a couple laptops, but neither are related to my Indigo setup. Is there still some testing I could do for you that would help out? The beta is running smooth enough now that I may put it on my general use Mini soon, but that is also not related to my Indigo setup at all. But I could periodically shut down my Indigo server and move hardware around for tests, if it would help.

Greg

Posted on
Mon Aug 06, 2018 12:03 pm
jay (support) offline
Site Admin
User avatar
Posts: 14894
Joined: Mar 19, 2008
Location: Austin, Texas

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

sgtwicki wrote:
Can you confirm which PowerLinc you're using? You mention a 2412U and a 2414U. The latter doesn't use the FTDI driver so if it doesn't work that would be a different issue.

My bad; that was a typo.
My Mojave system has a 2412U, a W800RF32 and an iButton 1-wire adapter connected. All 3 USB devices were completely non-functional (again) after the 10.13.6 update. No amount of reseating or restarting or USB hub nonsense has any effect.
Deleting the AppleUSBFTDI driver is the only solution I've found.


I just reread your reply and I'm confused: you say your Mojave system but later you say 10.13.6. So, my question is have you experienced the issue with the Mojave beta?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Aug 06, 2018 12:06 pm
jay (support) offline
Site Admin
User avatar
Posts: 14894
Joined: Mar 19, 2008
Location: Austin, Texas

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

gtreece wrote:
Jay, I have Mojave dev beta on a couple laptops, but neither are related to my Indigo setup. Is there still some testing I could do for you that would help out? The beta is running smooth enough now that I may put it on my general use Mini soon, but that is also not related to my Indigo setup at all. But I could periodically shut down my Indigo server and move hardware around for tests, if it would help.


Thanks for the offer. What we'd need to know is 1) if either one currently has the driver issue when running 10.13.x, and then 2) if the same issue occurs after you upgrade that system to Mojave. That's a non-trivial amount of work so you may not want to undertake the testing (and I totally understand).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Aug 06, 2018 3:55 pm
sgtwicki offline
Posts: 37
Joined: Oct 21, 2009

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

I just reread your reply and I'm confused: you say your Mojave system but later you say 10.13.6. So, my question is have you experienced the issue with the Mojave beta?


Grr! I keep doing that. It was remote desktop to my Mojave system, and I accidentally clicked on the "About this Mac" for my local machine instead of the remote one. :oops:
My Indigo server is running MacOS version 10.14 Beta (18A347e).
When I was running High Sierra, only the 2412U would stop responding after a random amount of time. The W800RF32 and 1-wire adapter would still continue to function. A simple restart fixed it. Once I deleted the AppleUSBFTDI.kext the problem never popped up..
On my Mojave system, it's a different story. All 3 of my USB serial devices completely fail using the Apple driver. If I delete AppleUSBFTDI.kext everything works great (and hasn't randomly disconnected either).

Posted on
Mon Aug 06, 2018 5:07 pm
jay (support) offline
Site Admin
User avatar
Posts: 14894
Joined: Mar 19, 2008
Location: Austin, Texas

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

sgtwicki wrote:
Grr! I keep doing that. It was remote desktop to my Mojave system, and I accidentally clicked on the "About this Mac" for my local machine instead of the remote one. :oops:
My Indigo server is running MacOS version 10.14 Beta (18A347e).
When I was running High Sierra, only the 2412U would stop responding after a random amount of time. The W800RF32 and 1-wire adapter would still continue to function. A simple restart fixed it. Once I deleted the AppleUSBFTDI.kext the problem never popped up..
On my Mojave system, it's a different story. All 3 of my USB serial devices completely fail using the Apple driver. If I delete AppleUSBFTDI.kext everything works great (and hasn't randomly disconnected either).


Dang - sounds like maybe it's actually getting worse. Sigh.

Thanks for the report. One final question: what is the exact model of your Indigo Server Mac?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Aug 06, 2018 5:22 pm
sgtwicki offline
Posts: 37
Joined: Oct 21, 2009

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

Mac Pro (early 2009). Firmware upgraded to MacPro5,1
Motherboard USB ports and generic USB 3.0 PCIe ports have same results.
Is there anything else I can do to help troubleshoot?

Posted on
Tue Aug 07, 2018 9:08 am
jay (support) offline
Site Admin
User avatar
Posts: 14894
Joined: Mar 19, 2008
Location: Austin, Texas

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

sgtwicki wrote:
Mac Pro (early 2009). Firmware upgraded to MacPro5,1
Motherboard USB ports and generic USB 3.0 PCIe ports have same results.
Is there anything else I can do to help troubleshoot?


Odd, Apple claims that only the 2010+ Mac Pros can run Mojave...

[EDIT] Never mind, I see you hacked the firmware... ;)

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 08, 2018 6:58 pm
sgtwicki offline
Posts: 37
Joined: Oct 21, 2009

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

Not that I expected any change, but I just installed the 10.14 Beta (18A353d) update and all my serial ports went stupid again.

Serial errors.png
Serial errors.png (205.44 KiB) Viewed 785 times

Posted on
Wed Aug 08, 2018 7:02 pm
lanbrown offline
Posts: 725
Joined: Sep 26, 2017

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

Did you provide a bug report with Apple?

Posted on
Thu Aug 16, 2018 2:28 pm
jay (support) offline
Site Admin
User avatar
Posts: 14894
Joined: Mar 19, 2008
Location: Austin, Texas

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

Hey guys, can someone confirm that the current Mac mini (2014) doesn't have the driver issue but the version before that (2011 I think) does? I'm trying to confirm so we can get one to continue testing OS releases for the bug.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Aug 17, 2018 10:50 am
rgspb offline
Posts: 131
Joined: Apr 24, 2009
Location: Florida

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

I'm using a Mid 2011 Mac Mini. 2.3 GHz i5, 16GB RAM, running High Sierra (updated) and haven't had to install anything extra to get Indigo to work. Using a 2412U interface. Is that what you needed?

Posted on
Sun Aug 26, 2018 9:52 pm
dduff617 offline
Posts: 417
Joined: Jul 05, 2006

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

I'm way behind the herd here, I suspect. Upgrading my server from Sierra to High Sierra (HS). I'm contributing these notes in hope someone else might benefit from some of the confusion I went through trying to work around the serial driver bug problem.

Here are a couple of finer points that tripped me up for a while trying to get through the upgrade:

1. After first installing HS update, I opened Indigo briefly and took a peek and it seemed the both the interfaces were working. I thought I had "dodged a bullet" on the whole serial driver thing. My advice: don't get your hopes up at this point.

2. After working within HS for a little while, including the inevitable barrage of upgrades that you get prompted for, I installed an Apple system update and that seems to have wiped out my serial driver, I realized later.

3. I dug up the blog-post instructions, I had saved and set about executing the fix. In my first time attempting to execute the instructions, my machine was running very, very slow. Anyway, I attempted to follow the instructions precisely. I thing somehow with the slowness of my machine, very UI laggy response, spinning beachballs, etc. I think I managed to miss seeing the warning that you get when running the downloaded FTDI installers.

4. Strangely (and this is really the key point that cost me a lot of time) the FTDI installer WILL COMPLETE and REPORT SUCCESS even if you don't respond to the security prompt that (I think) is supposed to guide you to System Preferences>Security & Privacy to over-ride the warning. Also, at this point you can check the directories for the drivers in the correct places - that is the FTDI drivers being where they are supposed to be and the Apple drivers not being where they aren't supposed to be, but this is (apparently) NOT SUFFICIENT to make things work properly. (see my comment #6, specifically).

5. For me at least, after the first time that I apparently "missed" the prompt to over-ride the security prohibition on installing the new drivers, I never received any such requests subsequently. Even when I completely attempted to re-execute the instructions from scratch, deleting everything and starting over. I don't understand this, but I re-tried several times so I'm quite sure that I was not seeing any further "warnings" about the system prohibitions, yet each time the FTDI install process would complete and report that it succeeded.

6. I eventually realized (by luck or really just bumbling around) that if i went to System Preferences>Security & Privacy and observed that I could actually see a button there waiting to be pressed (even though there was no accompanying notification) to allow the FTDI driver to be installed. Finally on my third attempt to execute the instructions, I stumbled across this, pressed it, and then got back on track. I presume (but don't know exactly) that pressing this button at this point somehow "blesses" the extension (which is already present in /Library/Extensions/) and allows the system to load it. Conversely, without this step, all the files can be in the right place, but things still won't work.

Posted on
Mon Aug 27, 2018 8:58 am
jay (support) offline
Site Admin
User avatar
Posts: 14894
Joined: Mar 19, 2008
Location: Austin, Texas

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

Just FYI, step #2 in the blog post mentions that you can go to that pref to enable later if it times out (or you miss it in some other way)... ;)

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Aug 30, 2018 6:49 pm
sgtwicki offline
Posts: 37
Joined: Oct 21, 2009

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

Just upgraded to the latest Mojave beta, and I decided to try playing around before I applied the workaround. I tried just rebooting a couple of times. I tried unplugging the USB serial devices then plugging them back in. Nothing worked at first.
Finally I tried disabling the interfaces for both my 2412U & W800RF32 and also disabling the DigiTemp plugin. I then unplugged them all, plugged them all back in, then re-enabled them. All 3 serial devices now work with Indigo.
I'll keep an eye on them to see if the 2412U disconnects randomly like it did with High Sierra.

Posted on
Fri Aug 31, 2018 8:54 am
jay (support) offline
Site Admin
User avatar
Posts: 14894
Joined: Mar 19, 2008
Location: Austin, Texas

Re: macOS High Sierra (10.13) FTDI Driver Bug Workaround

sgtwicki wrote:
Just upgraded to the latest Mojave beta, and I decided to try playing around before I applied the workaround. I tried just rebooting a couple of times. I tried unplugging the USB serial devices then plugging them back in. Nothing worked at first.
Finally I tried disabling the interfaces for both my 2412U & W800RF32 and also disabling the DigiTemp plugin. I then unplugged them all, plugged them all back in, then re-enabled them. All 3 serial devices now work with Indigo.
I'll keep an eye on them to see if the 2412U disconnects randomly like it did with High Sierra.


Did you try rebooting again after your last tests? I ask because there are actually 2 bugs: one is that the FTDI driver included with HS (and maybe with Mojave) is broken. If you had applied the fix to HS and then upgraded to Mojave, then you'd still have the FTDI driver that you installed using their installer - the one that works. This will cause the FTDI devices to work correctly once you unplug/replug after a reboot. And subsequent unplug/replugs will also work.

The second bug is the load order bug after a reboot. At boot time, if you have an FTDI device plugged in, Apple's built-in driver will claim the device before the FTDI driver that you installed does. So your devices will be broken until you unplug/replug them, which will cause the good FTDI driver to claim them and they'll then work.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 6 of 8 1 ... 3, 4, 5, 6, 7, 8

Who is online

Users browsing this forum: No registered users and 1 guest