Multiple USB midi ports not reliably appearing

Hi,

When I connect my Electra to my BomeBox midi router via USB, I sometimes get two virtual inputs and outputs showing up, and sometimes only get a single input and output. Any troubleshooting advice? The Bome has a lot of other USB midi devices on it and it’s been rock solid otherwise.

Hi @Dymaxion,

if you could try beta (New ElectraOne console / Testing needed - #10 by martin) with the BomeBox, it would be great. The beta has quite some changes in the USB stack. The goal was to make it more compatible with routers. Beta started working with iConnectivity gear. I would asume the changes could help compatibility with the BomeBox, too.

If you needed assistance, just let me know.

Thx!

Will give it a shot and report in on that thread if it works or not.

1 Like

BomeBox arrived. I made a few tests. I am getting the ports detected reliably - say 10 connects out of 10 attempts.

Electra connected to the host port via Axagon powered USB hub. Tried firmware 1.5 and 1.5.7. Both give the same result.

BomeBox running 1.4.1

Two things come to my mind:

  1. Could you send me the verbose log from the BomeBox - the messages from the moment when Electra is connected and the ports are not detected? something like:
808892 Discovered MIDI INPUT : Electra Controller [1],Electra Controller [2],Electra Controller [3]
808893 Discovered MIDI OUTPUT: Electra Controller [1],Electra Controller [2],Electra Controller [3]
808953 Opened MIDI INPUT 'BomeBox DIN'
808955 Opened MIDI INPUT 'Electra Controller [1]'
808957 Opened MIDI INPUT 'Electra Controller [2]'
808959 Opened MIDI INPUT 'Electra Controller [3]'
809005 Opened MIDI OUTPUT 'BomeBox DIN'
809006 Opened MIDI OUTPUT 'Electra Controller [1]'
809008 Opened MIDI OUTPUT 'Electra Controller [2]'
809009 Opened MIDI OUTPUT 'Electra Controller [3]'
2021-04-29 13:01:07: MIDI OUTPUT 'BomeBox DIN': 18215 bytes sent
2021-04-29 13:01:07: MIDI OUTPUT 'Electra Controller [1]': 18188 bytes sent
2021-04-29 13:01:07: MIDI OUTPUT 'Electra Controller [2]': 18215 bytes sent
2021-04-29 13:01:07: MIDI OUTPUT 'Electra Controller [3]': 27 bytes sent
  1. I assume you have a powered USB hub connected to your BomeBox. Do you have anothre hub to test with?

Thanks!

It doesn’t seem to show up in the verbose log at all on initial boot. Here’s the log from unplugging it and plugging it back in, post-boot:
235750 Vanished MIDI INPUT : Electra Controller
235750 Vanished MIDI OUTPUT : Electra Controller
238971 Discovered MIDI INPUT : Electra Controller
238971 Discovered MIDI OUTPUT: Electra Controller

The corresponding kernel log is:
[ 251.420000] usb 1-1.4.4.3.4: USB disconnect, device number 24
[ 254.220000] usb 1-1.4.4.3.4: new full-speed USB device number 29 using ehci-platform

Reading back up through the kernel logs on that boot, I see the following log entries right after device 24 shows up for the first time that might or might not be relevant:
[ 19.440000] usb 1-1.4.4.3.4: new full-speed USB device number 24 using ehci-platform
[ 19.440000] hid_holtekff: Unknown symbol hid_unregister_driver (err 0)
[ 19.440000] hid_holtekff: Unknown symbol __hid_register_driver (err 0)
[ 19.440000] hid_holtekff: Unknown symbol hid_connect (err 0)
[ 19.440000] hid_holtekff: Unknown symbol hid_open_report (err 0)
[ 19.440000] soundcore: exports duplicate symbol register_sound_dsp (owned by kernel)
[ 19.460000] ath: EEPROM regdomain: 0x0
[ 19.460000] ath: EEPROM indicates default country code should be used
[ 19.460000] ath: doing EEPROM country->regdmn map search
[ 19.460000] ath: country maps to regdmn code: 0x3a
[ 19.460000] ath: Country alpha2 being used: US
[ 19.460000] ath: Regpair used: 0x3a
[ 19.470000] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’
[ 19.480000] cfg80211: Calling CRDA for country: US
[ 19.480000] cfg80211: Regulatory domain changed to country: US
[ 19.480000] cfg80211: DFS Master region: FCC
[ 19.480000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 19.480000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 19.480000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 19.480000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 19.480000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 19.480000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 19.480000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 19.500000] hid_holtekff: Unknown symbol hid_unregister_driver (err 0)
[ 19.500000] hid_holtekff: Unknown symbol __hid_register_driver (err 0)
[ 19.500000] hid_holtekff: Unknown symbol hid_connect (err 0)
[ 19.500000] hid_holtekff: Unknown symbol hid_open_report (err 0)
[ 19.500000] soundcore: exports duplicate symbol register_sound_dsp (owned by kernel)
[ 19.500000] hid_holtekff: Unknown symbol hid_unregister_driver (err 0)
[ 19.500000] hid_holtekff: Unknown symbol __hid_register_driver (err 0)
[ 19.500000] hid_holtekff: Unknown symbol hid_connect (err 0)
[ 19.500000] hid_holtekff: Unknown symbol hid_open_report (err 0)
[ 19.500000] soundcore: exports duplicate symbol register_sound_dsp (owned by kernel)

(not the 802.11/ath stuff, obviously)

Right before I rebooted to get these logs, I plugged it and unplugged it and it showed up perfectly, with exactly the set of logs that you see. One thing that may or may not make a difference — I’m on firmware 1.5 beta2 (52191) on my Bome Box, which is a private build Florian sent me that re-enabled more than 16 USB midi devices after a regression in the last release build.

The device is on a powered hub — one of two chained Startech 60W industrial 10-port hubs. The behavior seems to be the same even if there’s only one hub and it’s the only thing plugged in. However, in testing that, I did discover that there seems to be some ordering issues. If I boot up with everything else other than the electra unplugged and then put everything else in, the electra shows up with all ports and everything else plays nicely. If I boot with everything plugged in, everything else except the electra shows up normally, but the electra only shows the single port, as above.

I do have another hub I can try it with if you think it’s worth it, but these have been rock solid otherwise, and the ordering stuff suggests that it’s not that.