| 75 | === Workaround for 4.20 kernel or prior === |
| 76 | Because support for controlling the FTDI GPIOs was introduced in Kernel 4.20, a program (ftx_prog) can be used to control GPIO via the EEPROM on the FTDI chip on earlier kernels. |
| 77 | |
| 78 | This is an open source program located here: https://github.com/richardeoin/ftx-prog |
| 79 | |
| 80 | It has been precompiled for Newport Bionic Ubuntu using the 4.14 kernel. The file can be downloaded at the attachments section at the bottom of this page. |
| 81 | |
| 82 | The following commands are used to control the GPIO: |
| 83 | {{{ |
| 84 | sudo ./ftx_prog --cbus 3 Keep_Awake #prevent suspend mode |
| 85 | sudo ./ftx_prog --load-vcp true #force the loading of the virtual com port |
| 86 | sudo ./ftx_prog --cbus 0 Drive_1 #drive GPIO 0 high to enable modem |
| 87 | sudo ./ftx_prog --dump #print FTDI EEPROM Configuration |
| 88 | }}} |
| 89 | |
| 90 | |