FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: FT_GetDeviceDescriptor returns failure in Linux but not Windows  (Read 118 times)

randomEngineer

  • Newbie
  • *
  • Posts: 1
    • View Profile
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
Logged

FTDI Community

  • Administrator
  • Sr. Member
  • *****
  • Posts: 478
    • View Profile
Re: FT_GetDeviceDescriptor returns failure in Linux but not Windows
« Reply #1 on: September 23, 2020, 04:41:01 PM »

Hello,

You are already in contact with our support team on this issue via email.
Please post any resolution here to help other customers

Best Regards,
FTDI Community
Logged