1
Discussion - Drivers / FT_GetDeviceDescriptor returns failure in Linux but not Windows
« on: September 18, 2020, 02:17:42 PM »
Greetings everyone,
When using the Linux FTD3xx library (version 0.5.21) in Linux (Ubuntu 20.04 LTS), FT_GetDeviceDescriptor(ftHandle, &devDescriptor) returns a status of 4 (FT_IO_ERROR). The function used to create the handle FT_Create(0, FT_OPEN_BY_INDEX, &ftHandle) returns 0 (FT_OK). There is only one device detected by the devices (making the FT_Create unambiguous). Despite returning an error, the function descriptor produces a vid and pid. If the error is ignored, subsequent functions will also produce the same error. The same code works in Windows.
Here is the information about the device:
Device[0]
Flags: 0x4 [USB 3] | Type: 600 | ID: 0x0403601E | ftHandle=0x53572e3b45534a2e
SerialNumber=000000000001
Description=FIFO Bridge (Windows)
Description=FTDI SuperSpeed-FIFO Bridge (Linux)
Thank you
When using the Linux FTD3xx library (version 0.5.21) in Linux (Ubuntu 20.04 LTS), FT_GetDeviceDescriptor(ftHandle, &devDescriptor) returns a status of 4 (FT_IO_ERROR). The function used to create the handle FT_Create(0, FT_OPEN_BY_INDEX, &ftHandle) returns 0 (FT_OK). There is only one device detected by the devices (making the FT_Create unambiguous). Despite returning an error, the function descriptor produces a vid and pid. If the error is ignored, subsequent functions will also produce the same error. The same code works in Windows.
Here is the information about the device:
Device[0]
Flags: 0x4 [USB 3] | Type: 600 | ID: 0x0403601E | ftHandle=0x53572e3b45534a2e
SerialNumber=000000000001
Description=FIFO Bridge (Windows)
Description=FTDI SuperSpeed-FIFO Bridge (Linux)
Thank you