Closed Shoyur closed 7 months ago
I wish i could delete this issue, cause I have found the solution. At first, I have read somewhere that i need to be sure I installed the same driver on all ports, but it misled me cause in fact this file :
https://eblot.github.io/pyftdi/installation.html
says :
With FTDI devices with multiple channels, such as FT2232 (2 channels) and FT4232 (4 channels), you must install the driver for the composite parent, not for the individual interfaces.
So now everything works. Thank you.
Sorry not to have answered sooner.
It is important not to delete such a ticket as other users might bump into the same problem and look for the solution :-) Simply closing it (with the rationale, which you did) is the right way to do. Thanks.
Hi,
I plugged the FT4232h mini module in Windows 11, i used Zadig to switch the 4 interfaces drivers from FTDI to usblib0. Now i can use I2C on port 1/4 with pyftdi i2c = I2cController() i2c.configure('ftdi://0x0403:0x6011:1/1') and this works perfectly with a nice network of I2C devices but any other 3 ports gpio_encoders = GpioAsyncController() gpio_encoders.configure('ftdi:///2', direction=0b00011111) or whatever address i try to use, i always get an Exception with Error No such device [or] 4 USB devices match URL 'ftdi:///2' and Ftdi.show_devices() prints : Available interfaces: ftdi://ftdi:4232:FT7GOZHF/1 (FT4232H MiniModule) ftdi://ftdi:4232:FT7GOZHF/1 (FT4232H MiniModule) ftdi://ftdi:4232:FT7GOZHF/1 (FT4232H MiniModule) ftdi://ftdi:4232:FT7GOZHF/1 (FT4232H MiniModule)
i really dont know why they all have the same address..
Please help me. Thank you.
Edit: I add my pip list in case it helps -> Package Version customtkinter 5.2.2 darkdetect 0.8.0 future 1.0.0 iso8601 2.1.0 packaging 24.0 pillow 10.2.0 pip 24.0 pyftdi 0.55.0 pyserial 3.5 pyusb 1.2.1 PyYAML 6.0.1 usb 0.0.83.dev0
And today i did the whole thing again on different pc, with Windows10 64pro and its the same. And i didnt touch the eeprom at all. And before i changed to all libusb0 drivers, i could see in FT_PROG utility the 4 different interfaces 1 to 4. And in both PC, i can see in device managers, the 4 lines in libusb devices, interface0 to interface3.