The following shows a typical run through installing and setting things up on Linux.
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.
pip3 install pyftdi
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
Page last edited March 08, 2024
Text editor powered by tinymce.