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: FT4222 FT_OpenEx with FT_OPEN_BY_LOCATION  (Read 7658 times)

PAS

  • Newbie
  • *
  • Posts: 4
    • View Profile
FT4222 FT_OpenEx with FT_OPEN_BY_LOCATION
« on: December 12, 2020, 08:51:15 AM »

On Linux FT_GetDeviceInfoDetail (and other functions for getting info about connected devices) return LocID with some values, which can then be used in FT_OpenEx with FT_OPEN_BY_LOCATION.

On Windows 7/10 FT_GetDeviceInfoDetail always return LocID = 0. And FT_OpenEx can open device LocID=0, but not with LocID value from USBVIEW.

Is there way to open device by location on Windows 7/10?
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT4222 FT_OpenEx with FT_OPEN_BY_LOCATION
« Reply #1 on: December 14, 2020, 03:48:27 PM »

Hello,

I doubled checked this on my Windows 7 machine and the LocID is appearing correctly for the FT_GetDeviceInfoDetail API call (see attached image).

I have also attached an image of our USBView utility showing the location of the attached device (loc112).

The LocID is reported by the host machine, can you double check with USBView what location ID your device is reporting?


Best Regards,
FTDI Community
Logged

PAS

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FT4222 FT_OpenEx with FT_OPEN_BY_LOCATION
« Reply #2 on: December 25, 2020, 09:56:33 AM »

Thank you for reply.

Received email from support that problem may be with USB3.0 host.
Yes, disabled routing usb devices thru USB3.0 host fixed problem and now devices have legal LocID values.
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT4222 FT_OpenEx with FT_OPEN_BY_LOCATION
« Reply #3 on: January 05, 2021, 05:55:21 PM »

Hello,

Glad you have managed to resolve the issue.

Best Regards,
FTDI Community
Logged