Dear FTDI community,
I worked on a project in a Windows 10 environment. I identify the four ports by their serialnumbers, e.g. GM5K3KQXA, GM5K3KQXB, GM5K3KQXC, GM5K3KQXD.
Now I migrated to a Raspberry, and the very same commands do not return the full serial number, but omit the A,B,C,D.
Does anyone have an explanation for this, and maybe an easy way out?
Thanks,
Johannes
This is what serial.tools.list_ports.comports() returns (after formatting):
DEBUG:programming.uartProgramming:Found the following ports with FT232R parts:
DEBUG:programming.uartProgramming:{
"device": "/dev/ttyUSB4",
"name": "ttyUSB4",
"description": "USB <-> Serial Converter",
"hwid": "USB VID:PID=0403:6011 SER=GM5K3KQX LOCATION=1-1.3:1.3",
"vid": 1027,
"pid": 24593,
"serial_number": "GM5K3KQX",
"location": "1-1.3:1.3",
"manufacturer": "FTDI",
"product": "USB <-> Serial Converter",
"interface": null,
"usb_device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3",
"device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.3/ttyUSB4",
"subsystem": "usb-serial",
"usb_interface_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.3"
}
DEBUG:programming.uartProgramming:Found SN: GM5K3KQX
DEBUG:programming.uartProgramming:{
"device": "/dev/ttyUSB3",
"name": "ttyUSB3",
"description": "USB <-> Serial Converter",
"hwid": "USB VID:PID=0403:6011 SER=GM5K3KQX LOCATION=1-1.3:1.2",
"vid": 1027,
"pid": 24593,
"serial_number": "GM5K3KQX",
"location": "1-1.3:1.2",
"manufacturer": "FTDI",
"product": "USB <-> Serial Converter",
"interface": null,
"usb_device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3",
"device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.2/ttyUSB3",
"subsystem": "usb-serial",
"usb_interface_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.2"
}
DEBUG:programming.uartProgramming:Found SN: GM5K3KQX
DEBUG:programming.uartProgramming:{
"device": "/dev/ttyUSB2",
"name": "ttyUSB2",
"description": "USB <-> Serial Converter",
"hwid": "USB VID:PID=0403:6011 SER=GM5K3KQX LOCATION=1-1.3:1.1",
"vid": 1027,
"pid": 24593,
"serial_number": "GM5K3KQX",
"location": "1-1.3:1.1",
"manufacturer": "FTDI",
"product": "USB <-> Serial Converter",
"interface": null,
"usb_device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3",
"device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/ttyUSB2",
"subsystem": "usb-serial",
"usb_interface_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1"
}
DEBUG:programming.uartProgramming:Found SN: GM5K3KQX
DEBUG:programming.uartProgramming:{
"device": "/dev/ttyUSB1",
"name": "ttyUSB1",
"description": "USB <-> Serial Converter",
"hwid": "USB VID:PID=0403:6011 SER=GM5K3KQX LOCATION=1-1.3:1.0",
"vid": 1027,
"pid": 24593,
"serial_number": "GM5K3KQX",
"location": "1-1.3:1.0",
"manufacturer": "FTDI",
"product": "USB <-> Serial Converter",
"interface": null,
"usb_device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3",
"device_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/ttyUSB1",
"subsystem": "usb-serial",
"usb_interface_path": "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0"
}