My Linux system is Debian (sid) and the kernel version is 2.6.20.
I'm using FT245RL chip.
Bus 007 Device 013: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
I tried a sample program (Simple) which is in the D2XX driver.
I had added following two lines:
#include <stdlib.h> //for malloc
#include <string.h> //for memset
And I changed following line;
int iNumDevs = 0; => DWORD iNumDevs = 0;
I succeeded compile of the source without any warning.
However the result was;
Number of devices is 1
I ran this program by root, there were no problem..
By the way. There is another library for FTDI chip.