kyomu.orgFinding morsels of satisfaction in meaninglessness for some number of years that is greater than zero.
Configuring the FTDI UART for use on Mojave
The FTDI drivers don’t appear to be required any more but the Apple driver (/System/Library/Extensions/AppleUSBFTDI.kext) doesn’t work out of the box with my particular device. Cribbing from these instructions:
- Obtain the product and vendor ID for the device by checking out the USB section of System Profiler
I put the Product and VendorID into one of the entries in Info.plist and restarted the driver with:
$ sudo kextunload /System/Library/Extensions/FTDIUSBSerialDriver.kext/ $ sudo kextload -b com.apple.driver.AppleUSBFTDI
The information in Systems Profiler was as follows: “` SheevaPlug JTAGKey FT2232D B:
Product ID: 0x9e8f Vendor ID: 0x9e88 Version: 5.00 Serial Number: FTY2MXT4 Speed: Up to 12Mb/sec Manufacturer: FTDI Location ID: 0x14200000 / 9 Current Available (mA): 500 Current Required (mA): 0 Extra Operating Current (mA): 0 ”`
The Product and Vendor IDs need to be converted from Hex to Decimal. Editing the configuration file at /System/Library/Extensions/AppleUSBFTDI.kext/Contents/Info.plist as to change one entry with those numbers. I changed it as follows:
[...] </dict> <key>AppleUSBEFTDI-FT2232HQ-1</key> <dict> <key>CFBundleIdentifier</key> <string>com.apple.driver.AppleUSBFTDI</string> <key>IOClass</key> <string>AppleUSBFTDI</string> <key>IOProviderClass</key> <string>IOUSBHostInterface</string> <key>bConfigurationValue</key> <integer>1</integer> <key>bInterfaceNumber</key> <integer>1</integer> <key>idProduct</key> <integer>40591</integer> <key>idVendor</key> <integer>40584</integer> </dict> [...]
Essentially, use the same configuration from the original article but now use the Apple usb driver.