Adapter using libftdi doesn't work properly on startup (PI4, Buster)
Posted: Tue May 18, 2021 8:50 am
Hi,
i have a strange problem with QLC 4.12.3 on a PI4 using Buster.
I have set up the PI to autostart QLC with a project, which works fine.
What i encounter is:
After startup, the fixtures flicker when engaged. Looking what could cause this brought up the following:
The USB2DMX Adapter seems to be not used correctly by the Enttec plugin, in dmesg i can see entries like:
[ 82.033491] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.067502] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.100998] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.134633] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.168639] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
Having QLC+ set to "Hotplug enabled", i now unplug the USB2DMX from the PI and plug it back:
[ 82.236647] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.325387] usb 1-1.4: USB disconnect, device number 3
[ 86.253621] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[ 86.400716] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 86.400736] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 86.400752] usb 1-1.4: Product: JMS USB2DMX OPTO V1.0
[ 86.400767] usb 1-1.4: Manufacturer: JMS
[ 86.400782] usb 1-1.4: SerialNumber: 141500832
[ 86.408202] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[ 86.408360] usb 1-1.4: Detected FT232RL
[ 86.415482] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 86.496769] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
After this, all fixtures work like expected.
I want to install that Raspberry in a location where a power outage should not cause any problems, but with that behaviour of QLC+ i definitely have a problem.
Any idea? Besides using a "USB interruption relay"?
Best regards
Carsten
i have a strange problem with QLC 4.12.3 on a PI4 using Buster.
I have set up the PI to autostart QLC with a project, which works fine.
What i encounter is:
After startup, the fixtures flicker when engaged. Looking what could cause this brought up the following:
The USB2DMX Adapter seems to be not used correctly by the Enttec plugin, in dmesg i can see entries like:
[ 82.033491] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.067502] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.100998] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.134633] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.168639] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
Having QLC+ set to "Hotplug enabled", i now unplug the USB2DMX from the PI and plug it back:
[ 82.236647] usb 1-1.4: usbfs: process 682 (EnttecDMXUSBOpe) did not claim interface 0 before use
[ 82.325387] usb 1-1.4: USB disconnect, device number 3
[ 86.253621] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[ 86.400716] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 86.400736] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 86.400752] usb 1-1.4: Product: JMS USB2DMX OPTO V1.0
[ 86.400767] usb 1-1.4: Manufacturer: JMS
[ 86.400782] usb 1-1.4: SerialNumber: 141500832
[ 86.408202] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[ 86.408360] usb 1-1.4: Detected FT232RL
[ 86.415482] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 86.496769] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
After this, all fixtures work like expected.
I want to install that Raspberry in a location where a power outage should not cause any problems, but with that behaviour of QLC+ i definitely have a problem.
Any idea? Besides using a "USB interruption relay"?
Best regards
Carsten