Is midi expected to be reliable on 4.X

Generic issues not specifically related to a QLC+ area.
Post here only if you can't really find the reason of an issue
Post Reply
Sp4rKy
Posts: 46
Joined: Fri Oct 12, 2018 6:36 am
Real Name:

Hi !

I bought an APC mini (mk1) to connect to QLCPlus. The firsts tests I did were OK, but on a real file with 35 fixtures, and almost all of the 64 buttons assigned, all with custom feedbacks, it becomes really unreliable: Input/feedbck and profile are correctly (I think) configured

* When i start the show feedback is not send to buttons, I have to press them to light them up
* Very often, qlcplus just disconnect the APC (or the APC disconnect itself, not sure, but I can see it disappear and reapper in dmesg), in that case I can't do anything until i restart qlcplus completly

I'm, running Ubuntu 22.04.

Anyone already had such weird issues ?
User avatar
edogawa
Posts: 572
Joined: Thu May 07, 2015 10:34 am
Real Name: Edgar Aichinger

Faulty cable?

I've worked with up to 3 NanoKontrol2s via USB2.0 hub plus a BF2000 simultaneously without connection glitches. Not in Ubuntu but still Linux/ALSA MIDI...
User avatar
sbenejam
Posts: 550
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I used two NanoKontrol2 in Ubuntu 22.04 and it works well. Possibly it's a faulty cable or connector.
janosvitok
Posts: 1274
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

Power issues may be another explanation (although that would show in logs). What USB devices do you have connected? Can you try powered hub?

Jano
Sp4rKy
Posts: 46
Joined: Fri Oct 12, 2018 6:36 am
Real Name:

Thanks for your answers, faulty cable was my first guess as well, but I tried 3 differents cables with same result. Also, it does not happen randomly but when I start the show.
I don't think it can be power issue, only have my dmx interface and the console plugged, and computer is not used on battery.

If it was a power issue, I'd expect midi feedback messages to be sent by qlcplus (at least before disconnect), but do not see any with midisnoop
Sp4rKy
Posts: 46
Joined: Fri Oct 12, 2018 6:36 am
Real Name:

Also, my dmesg is flooded with `urb status -32`when it disconnects if I activate usb hotplug in QLC+. Most of the search i did relates to midi device issue.
If I deactivate hotplug in qlc+ (and restart it) .

Guess it's not related to qlcplus directly but to linux itself, looking at https://forum.odroid.com/viewtopic.php?p=340012 for ex. But i got the very same issue without anything else plugged in usb . Will give windows a try ^^
Sp4rKy
Posts: 46
Joined: Fri Oct 12, 2018 6:36 am
Real Name:

So, finally reinstalled windows and everything works correctly, so definitively a bug with how linux manages usb 1 devices
Post Reply