-
Notifications
You must be signed in to change notification settings - Fork 242
Description
I have two FT232H FTDI boards connected to a USB hub connected to a Ubuntu PC. They are both from adafruit. Configurations for the two interfaces are attached.
error.txt
interface_a.txt
interface_b.txt
When I use GpioMpsseController and configure interface A (FT232H01A), providing its unique url "ftdi://ftdi:232h:FT232H01A/1", direction=0xFF00, frequency=1e6 and then configure B with its serial I get a usb.core.USBError: [Errno 5] Input/Output Error (see attached log).
However, if I configure interface B and then A it all works as expected.
The dmesg log in the correct instance is as follows (3.4 is interface A and 4.1 is interface B):
[ 1310.652349] usb 3-3.4.1: usbfs: interface 0 claimed by ftdi_sio while 'pytest' sets config #1
[ 1310.653222] ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
[ 1310.653242] ftdi_sio 3-3.4.1:1.0: device disconnected
[ 1310.694280] usb 3-3.3.4: usbfs: interface 0 claimed by ftdi_sio while 'pytest' sets config #1
[ 1310.696259] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
[ 1310.696289] ftdi_sio 3-3.3.4:1.0: device disconnected
[ 1311.446194] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 1311.446215] ftdi_sio 3-3.4.3:1.0: device disconnected
[ 1311.448007] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 1311.448030] ftdi_sio 3-3.4.3:1.1: device disconnected
And when it fails it appears to have a missing entry for USB 3-3.4.1 (interface B):
[ 3313.929099] usb 3-3.3.4: usbfs: interface 0 claimed by ftdi_sio while 'pytest' sets config #1
[ 3313.929862] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 3313.929880] ftdi_sio 3-3.3.4:1.0: device disconnected
[ 3314.066160] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
[ 3314.066169] ftdi_sio 3-3.4.3:1.0: device disconnected
[ 3314.066269] ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3
[ 3314.066275] ftdi_sio 3-3.4.3:1.1: device disconnected