Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FDTI only one of seven devices are showing up as an output. #1955

Open
ping-mee opened this issue Mar 30, 2024 · 4 comments
Open

FDTI only one of seven devices are showing up as an output. #1955

ping-mee opened this issue Mar 30, 2024 · 4 comments

Comments

@ping-mee
Copy link

I run OLA on a Raspberry Pi 4. I have connected seven FDTI interfaces to it (3 directly via USB and 4 over a USB hub). They all show up in /dev/.

@peternewman
Copy link
Member

Please can we have the olad -l 4 logs @ping-mee :
https://www.openlighting.org/ola/get-help/ola-faq/#How_do_I_get_olad_-l_4_logs

I suspect it might be down to a lack of unique serial numbers off the top of my head.

@ping-mee
Copy link
Author

@peternewman you were right

plugins/ftdidmx/FtdiWidget.cpp:133: Found 6 FTDI devices with PID: 24577.
common/io/SelectPoller.cpp:233: ss process time was 0.000197
plugins/ftdidmx/FtdiWidget.cpp:189: Found FTDI device. Vendor: 'FTDI', Name: 'FT232R USB UART', Serial: 'A50285BI'
plugins/ftdidmx/FtdiWidget.cpp:189: Found FTDI device. Vendor: 'FTDI', Name: 'FT232R USB UART', Serial: 'A50285BI'
plugins/ftdidmx/FtdiWidget.cpp:189: Found FTDI device. Vendor: 'FTDI', Name: 'FT232R USB UART', Serial: 'A50285BI'
plugins/ftdidmx/FtdiWidget.cpp:189: Found FTDI device. Vendor: 'FTDI', Name: 'FT232R USB UART', Serial: 'A50285BI'
plugins/ftdidmx/FtdiWidget.cpp:189: Found FTDI device. Vendor: 'FTDI', Name: 'FT232R USB UART', Serial: 'A50285BI'
plugins/ftdidmx/FtdiWidget.cpp:189: Found FTDI device. Vendor: 'FTDI', Name: 'FT232R USB UART', Serial: 'A50285BI'
plugins/ftdidmx/FtdiWidget.cpp:205: Freeing list
plugins/ftdidmx/FtdiWidget.cpp:133: Found 0 FTDI devices with PID: 24593.
plugins/ftdidmx/FtdiWidget.cpp:205: Freeing list
plugins/ftdidmx/FtdiDmxDevice.cpp:60: Widget FT232R USB UART has 1 interfaces.
plugins/ftdidmx/FtdiWidget.cpp:229: Setting interface to: 1
plugins/ftdidmx/FtdiWidget.cpp:251: Opening FTDI device FT232R USB UART, serial: A50285BI, interface: 1
common/thread/Thread.cpp:200: Thread , policy SCHED_OTHER, priority 0
plugins/ftdidmx/FtdiDmxDevice.cpp:75: Successfully added 1/1 interfaces.
olad/plugin_api/DeviceManager.cpp:105: Installed device: FT232R USB UART with serial number : A50285BI :13-A50285BI
olad/plugin_api/PortManager.cpp:119: Patched 13-A50285BI-O-1 to universe 0
plugins/ftdidmx/FtdiDmxDevice.cpp:60: Widget FT232R USB UART has 1 interfaces.
plugins/ftdidmx/FtdiDmxThread.cpp:175: Granularity for FTDI thread is GOOD
plugins/ftdidmx/FtdiWidget.cpp:229: Setting interface to: 1
plugins/ftdidmx/FtdiWidget.cpp:251: Opening FTDI device FT232R USB UART, serial: A50285BI, interface: 1
plugins/ftdidmx/FtdiWidget.cpp:257: FT232R USB UART with serial number : A50285BI  unable to claim usb device. Make sure the default FTDI driver is not in use
plugins/ftdidmx/FtdiWidget.cpp:386: Error Opening widget
plugins/ftdidmx/FtdiDmxDevice.cpp:70: Failed to add interface: 1
plugins/ftdidmx/FtdiDmxDevice.cpp:78: Removing widget since no ports were added.
plugins/ftdidmx/FtdiDmxPlugin.cpp:57: Failed to start FTDI device FT232R USB UART with serial number : A50285BI
plugins/ftdidmx/FtdiDmxDevice.cpp:60: Widget FT232R USB UART has 1 interfaces.
plugins/ftdidmx/FtdiWidget.cpp:229: Setting interface to: 1
plugins/ftdidmx/FtdiWidget.cpp:251: Opening FTDI device FT232R USB UART, serial: A50285BI, interface: 1
plugins/ftdidmx/FtdiWidget.cpp:257: FT232R USB UART with serial number : A50285BI  unable to claim usb device. Make sure the default FTDI driver is not in use
plugins/ftdidmx/FtdiWidget.cpp:386: Error Opening widget
plugins/ftdidmx/FtdiDmxDevice.cpp:70: Failed to add interface: 1
plugins/ftdidmx/FtdiDmxDevice.cpp:78: Removing widget since no ports were added.
plugins/ftdidmx/FtdiDmxPlugin.cpp:57: Failed to start FTDI device FT232R USB UART with serial number : A50285BI
plugins/ftdidmx/FtdiDmxDevice.cpp:60: Widget FT232R USB UART has 1 interfaces.
plugins/ftdidmx/FtdiWidget.cpp:229: Setting interface to: 1
plugins/ftdidmx/FtdiWidget.cpp:251: Opening FTDI device FT232R USB UART, serial: A50285BI, interface: 1
plugins/ftdidmx/FtdiWidget.cpp:257: FT232R USB UART with serial number : A50285BI  unable to claim usb device. Make sure the default FTDI driver is not in use
plugins/ftdidmx/FtdiWidget.cpp:386: Error Opening widget
plugins/ftdidmx/FtdiDmxDevice.cpp:70: Failed to add interface: 1
plugins/ftdidmx/FtdiDmxDevice.cpp:78: Removing widget since no ports were added.
plugins/ftdidmx/FtdiDmxPlugin.cpp:57: Failed to start FTDI device FT232R USB UART with serial number : A50285BI
plugins/ftdidmx/FtdiDmxDevice.cpp:60: Widget FT232R USB UART has 1 interfaces.
plugins/ftdidmx/FtdiWidget.cpp:229: Setting interface to: 1
plugins/ftdidmx/FtdiWidget.cpp:251: Opening FTDI device FT232R USB UART, serial: A50285BI, interface: 1
plugins/ftdidmx/FtdiWidget.cpp:257: FT232R USB UART with serial number : A50285BI  unable to claim usb device. Make sure the default FTDI driver is not in use
plugins/ftdidmx/FtdiWidget.cpp:386: Error Opening widget
plugins/ftdidmx/FtdiDmxDevice.cpp:70: Failed to add interface: 1
plugins/ftdidmx/FtdiDmxDevice.cpp:78: Removing widget since no ports were added.
plugins/ftdidmx/FtdiDmxPlugin.cpp:57: Failed to start FTDI device FT232R USB UART with serial number : A50285BI
plugins/ftdidmx/FtdiDmxDevice.cpp:60: Widget FT232R USB UART has 1 interfaces.
plugins/ftdidmx/FtdiWidget.cpp:229: Setting interface to: 1
plugins/ftdidmx/FtdiWidget.cpp:251: Opening FTDI device FT232R USB UART, serial: A50285BI, interface: 1
plugins/ftdidmx/FtdiWidget.cpp:257: FT232R USB UART with serial number : A50285BI  unable to claim usb device. Make sure the default FTDI driver is not in use
plugins/ftdidmx/FtdiWidget.cpp:386: Error Opening widget
plugins/ftdidmx/FtdiDmxDevice.cpp:70: Failed to add interface: 1
plugins/ftdidmx/FtdiDmxDevice.cpp:78: Removing widget since no ports were added.
plugins/ftdidmx/FtdiDmxPlugin.cpp:57: Failed to start FTDI device FT232R USB UART with serial number : A50285BI
olad/PluginManager.cpp:200: Started FTDI USB DMX

How can fix this? Can I change the serial numbers or just give them aliases?

@peternewman
Copy link
Member

It looks like you may be able to do it with FT Prog:
https://www.alauda.ro/2013/11/changing-ftdi-descriptors/

However if they've all got the same serial number they're probably cloned rather than genuine FTDI chips so I don't know if the tool will still work with them or it might even try and brick them!
http://hackaday.com/2014/10/22/watch-that-windows-update-ftdi-drivers-are-killing-fake-chips/
https://hackaday.com/2016/02/01/ftdi-drivers-break-fake-chips-again/

@ping-mee
Copy link
Author

@peternewman So I tried using FT Prog, but because these chips are emulators of the real FTDI chips, it doesnt work. I saw that the OpenDMX module uses the /dev/ path instead of a serial number. Is it possible to use more then 3 devices in the module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants