FTDI Community

General Category => Discussion - Drivers => Topic started by: wzongya on December 22, 2023, 03:16:38 AM

Title: Cannot get the correct devtype for FT4222 with libft4222 in linux docker image
Post by: wzongya on December 22, 2023, 03:16:38 AM
Hi,
    I want to get the device info for FT4222 with libft4222.so in linux docker image, and  with the source code in the pciture (getdeviceinfo.png).
    I chown the 0777 mode for the directory /dev/bus/usb, and have root privileges in linux docker image,but we get the unknown dev type. We get the correct dev type FT4222 with the same code in host not in docker.
   Could you tell me where is a problem? Do you have any idea how to fix it ?
Thank you.

   
Title: Re: Cannot get the correct devtype for FT4222 with libft4222 in linux docker image
Post by: FTDI Community on December 22, 2023, 09:41:18 AM
Hi,
We don't have any experience with "Linux Docker" although i note that they have a community page also.
https://www.docker.com/community/ (https://www.docker.com/community/)

Our D2xx driver as well as the libFT4222 files are available from our website   
https://ftdichip.com/drivers/ (https://ftdichip.com/drivers/)
https://ftdichip.com/wp-content/uploads/2022/06/libft4222-linux-1.4.4.170.tgz (https://ftdichip.com/wp-content/uploads/2022/06/libft4222-linux-1.4.4.170.tgz)

Regards
FTDI Community