The following shows a typical run through installing and setting things up on Linux.

Install libusb

Run the following:

sudo apt-get install libusb-1.0

and answer Y to the prompt. This should install libusb.

Setup udev rules

Use a text editor to create and edit the file /etc/udev/rules.d/11-ftdi.rules and add the following contents.

# /etc/udev/rules.d/11-ftdi.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", GROUP="plugdev", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6011", GROUP="plugdev", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6010", GROUP="plugdev", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6014", GROUP="plugdev", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6015", GROUP="plugdev", MODE="0666"

Here we use nano, so run:

sudo nano /etc/udev/rules.d/11-ftdi.rules

like this:

add the contents from above:

and then press CTRL-X and Y to save and exit.

The settings will take effect the next time you plug in the FT232H.

The settings will take effect the next time you plug in the FT232H.

Install pyftdi

To install pyftdi and its dependencies, run:

pip3 install pyftdi

Install Blinka

To install Blinka and its dependencies, run:

pip3 install adafruit-blinka

Set environment variable

We need to manually signal to Blinka that we have a FT232H attached. To do this, we set the environment variable BLINKA_FT232H. The value doesn't matter, just use 1:

export BLINKA_FT232H=1
Don't forget this step. Things won't work unless BLINKA_FT232H is set.

Run the sanity check.

Now move on to the Sanity Check section and run the commands there to make sure everything is installed correctly.

This guide was first published on Sep 29, 2019. It was last updated on Sep 29, 2019.

This page (Linux) was last updated on Sep 23, 2019.

Text editor powered by tinymce.