Lost MIDI notes when using Launchpad X, Norns shield, and Elektron Digitone

Sorry if this turns out to be an easy to solve problem, but I am not sure how to proceed from here …

My current setup is a Launchpad X and Elektron Digitone both connected to a norns shield via USB.
Initially I started with developing a sequencer script, but soon realized that sooner or later some of the sequenced MIDI notes where dropped somewhere between norns shield and the Digitone.

I used prints to debug the code and could ensure that the notes where send on the norns side but they did not always arrive at the Digitone. This became even more obvious when single notes hang until infinity because the “note of” event was last somehow.

First I thought it is my fault and the script is not up to the standards and therefore used established scripts where such a bug should have been detected by the community. So I used “Monitor” to receive notes played on the Launchpad and send them to the Digitone. The same behavior occurred … Since the keys in the “Monitor” script were still reacting to the notes played on the launchpad, I was quite sure that the notes are lost between norns and Digitone.

To ensure that the Digitone is working properly I connected the Launchpad and the Digitone to Ableton both via USB. Here all notes were passed forward to Digitone and no drop outs were observed.

Next, I replaced the Launchpad with a KBoard in the norns setup, again everything is working fine. All notes are sent and received.

My question: What is going on here?

I am trying to figure it out for over a week, but I am stuck … What are your suggestions?
Has anyone experienced something similar? I hoped to use norns as the main sequencer for my live setup but currently I am not sure how to go on.

Thank you for your help, I really appreciate this community …

Based on your description I’m left wondering if the Launchpad X is somehow doing something which triggers the problem.

Unfortunately I don’t have a Launchpad X I could test with but I have been connecting a Digitone to norns directly via USB and have not yet experienced hung notes or dropped MIDI output.

I do have a few questions which may help identify the source of the problem (wherever it is):

  • Is the Launchpad transmitting on multiple MIDI channels or just one?
  • Is the Digitone set to respond to the same channel?
  • Do hung notes occur when many keys on the Launchpad are pressed at the same time?
  • Do any of the keys / buttons on the Launchpad transmit MIDI system exclusive data when pressed?
  • Is there any evidence that MIDI data other than note off events go missing? Have any note on or controller change events gone missing?
  • Have you tried a different USB cable between the Launchpad and norns/shield? (Seems crazy but there have been more than one problem reported that turned out to be a bad cable)
  • If you have a powered USB hub handy does the problem persist if the Launchpad is connected to the hub and the hub connected to the pi/shield?
  • Is it possible to turn off aftertouch on the Launchpad? If turned off does the problem persist?
  • Which monitor script are you using? (If it is this one: https://github.com/neauoire/monitor/blob/master/monitor.lua I think I see some bugs, particularly if the channel or transpose controls are touched while a note is sounding)

The norns MIDI code has not changed in quite some time, while that doesn’t rule out a bug, it does leave me thinking that if there was a problem it is likely that it would have been reported.

Thank you so much for your help! I will try to go through all of your questions:

the norns only receives “note on” and “note off” messages from the launchpad. all messages are send on channel one. I already disabled aftertouch, because I thought maybe there is a message overflow.

changing the channel does not solve the problem. I will add an example script in the end to illustrate the routing between both devices.

In the beginning the scripts normally work fine and after some time the problem starts. But there is no connection between multiple notes played at once. the same happens if the midi notes come from a “sequencer” and the launchpad is only connected …

as far as I know they only send midi note messages (norns is as well only receiving notes)

If the bug occurs also “note on” messages are lost/ the digitone is not reacting to them. I have not tested other types of midi messages.

Good idea. this is the only USB-C to USB A cable that I own, will take some time to test this possibility. but on the other hand when I replaced norns with ableton on a macbook, everything was working …

I have to test this

I already turned aftertouch off and the problem persists

This is the smallest script I can think of and it still produces the described bug …

-- scriptname: launchpad x & digitone

lp = midi.connect(1)
digitone = midi.connect(2)

lp.event = function (data)
  msg = midi.to_msg(data)
  if (msg.type == "note_on") then digitone:note_on(msg.note, msg.vel, 2) end
  if (msg.type == "note_off") then digitone:note_off(msg.note, msg.vel, 2) end
end

function init()
  -- initialization
end
1 Like

I recommend this free mac app for more detailed answers to some of these question:

thanks for the link, but i am not completely sure how to use the mac app in the described scenario? could you elaborate on your thoughts?

Apologies for chiming in in such a cryptic way.

I’d plug in the launchpad x to your macbook running midi monitor, select that port (or ports?) only and monitor what it actually emits when pressing buttons, e.g. sysex (make sure to not filter any message types in the app). there could be some exotic stuff going on.

good luck with troubleshooting!

Thanks for all the information. It definitely sounds like you’ve already thought through a bunch of the potential sources of problem.

Are you at all comfortable with using ssh to connect to your device vis a terminal shell?

If so it would be valuable to try the following:

  • Boot your device with neither Launchpad nor Digitone connected
  • Open maiden in a web browser so that we can see any output in the REPL
  • ssh we@norns.local (default password is sleep)
  • leave this terminal shell open
  • Connect the Launchpad and Digitone
  • in the terminal run dmesg and paste the last approximately 24 lines here (this just shows the Linux kernel output around the usb devices just attached)
  • Using your simple script above try to trigger the problem, as soon as you detect something was dropped run dmesg again - paste any new output you see here.
  • Check the maiden REPL for errors/output and paste here.

Hopefully this will capture some additional clues.

UPDATE: When notes on the Digitone hang does all MIDI data flow appear to stop or are a few notes just hanging?

I assume that either the norns stops sending the messages or the digitone stops receiving them. either way, the notes that already have been received hang, then for a while no new notes are received and then received again. the notes hang until I retrigger them, so the not off message stops them from being played.

I will try my best and go through the procedure you explained. But I am not a regular terminal user …

Outside of potential USB / Linux kernel problems I’m starting to wonder if this is occurring because the Launchpad is sending messages using MIDI “running status”. My understanding of the USB class compliant MIDI device spec is that running status is disallowed.

The current norns software does not handle running status because it shouldn’t have to but incidentally I’m putting some final touches on code that adds support.

…software such as Ableton most likely supports running status because non-class compliant MIDI interfaces (which require a driver to be installed) have no such restriction.

When using the “snoize: MIDI Monitor” I can confirm that the launchpad is only sending note events on channel 1.
I am not sure if these are of the running status type, since snoize does not show this information. I will continue with the terminal debugging instructions.

[  852.090541] usb 1-1.1.3: USB disconnect, device number 13
[  992.414742] usb 1-1.1.3: new high-speed USB device number 14 using dwc_otg
[  992.545793] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[  992.545801] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  992.545805] usb 1-1.1.3: Product: Elektron Digitone
[  992.545808] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[  992.545812] usb 1-1.1.3: SerialNumber: 000000000001
[  998.685245] usb 1-1.2: new full-speed USB device number 15 using dwc_otg
[  998.834454] usb 1-1.2: New USB device found, idVendor=1235, idProduct=0103
[  998.834463] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  998.834466] usb 1-1.2: Product: Launchpad X
[  998.834470] usb 1-1.2: Manufacturer: Focusrite - Novation
[  998.834473] usb 1-1.2: SerialNumber: AXYBE7M9802700
[  998.848987] usb-storage 1-1.2:1.2: USB Mass Storage device detected
[  998.859232] scsi host0: usb-storage 1-1.2:1.2
[  999.927492] scsi 0:0:0:0: Direct-Access     Novation Onboarding Drive 0.01 PQ: 0 ANSI: 2
[  999.929121] sd 0:0:0:0: [sda] 384 512-byte logical blocks: (197 kB/192 KiB)
[  999.929600] sd 0:0:0:0: [sda] Write Protect is on
[  999.929606] sd 0:0:0:0: [sda] Mode Sense: 03 00 80 00
[  999.930086] sd 0:0:0:0: [sda] No Caching mode page found
[  999.930091] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  999.956016]  sda: sda1
[  999.958968] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1011.834551] usb 1-1.1.3: USB disconnect, device number 14
[ 1012.226326] usb 1-1.1.3: new high-speed USB device number 16 using dwc_otg
[ 1012.357368] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1012.357376] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1012.357380] usb 1-1.1.3: Product: Elektron Digitone
[ 1012.357383] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1012.357387] usb 1-1.1.3: SerialNumber: 000000000001
[ 1025.146542] usb 1-1.1.3: USB disconnect, device number 16
[ 1025.447391] usb 1-1.1.3: new high-speed USB device number 17 using dwc_otg
[ 1025.578219] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1025.578227] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1025.578231] usb 1-1.1.3: Product: Elektron Digitone
[ 1025.578234] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1025.578238] usb 1-1.1.3: SerialNumber: 000000000001
[ 1035.130554] usb 1-1.1.3: USB disconnect, device number 17
[ 1035.438192] usb 1-1.1.3: new high-speed USB device number 18 using dwc_otg
[ 1035.569198] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1035.569219] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1035.569223] usb 1-1.1.3: Product: Elektron Digitone
[ 1035.569227] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1035.569230] usb 1-1.1.3: SerialNumber: 000000000001
[  852.090541] usb 1-1.1.3: USB disconnect, device number 13
[  992.414742] usb 1-1.1.3: new high-speed USB device number 14 using dwc_otg
[  992.545793] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[  992.545801] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  992.545805] usb 1-1.1.3: Product: Elektron Digitone
[  992.545808] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[  992.545812] usb 1-1.1.3: SerialNumber: 000000000001
[  998.685245] usb 1-1.2: new full-speed USB device number 15 using dwc_otg
[  998.834454] usb 1-1.2: New USB device found, idVendor=1235, idProduct=0103
[  998.834463] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  998.834466] usb 1-1.2: Product: Launchpad X
[  998.834470] usb 1-1.2: Manufacturer: Focusrite - Novation
[  998.834473] usb 1-1.2: SerialNumber: AXYBE7M9802700
[  998.848987] usb-storage 1-1.2:1.2: USB Mass Storage device detected
[  998.859232] scsi host0: usb-storage 1-1.2:1.2
[  999.927492] scsi 0:0:0:0: Direct-Access     Novation Onboarding Drive 0.01 PQ: 0 ANSI: 2
[  999.929121] sd 0:0:0:0: [sda] 384 512-byte logical blocks: (197 kB/192 KiB)
[  999.929600] sd 0:0:0:0: [sda] Write Protect is on
[  999.929606] sd 0:0:0:0: [sda] Mode Sense: 03 00 80 00
[  999.930086] sd 0:0:0:0: [sda] No Caching mode page found
[  999.930091] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  999.956016]  sda: sda1
[  999.958968] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1011.834551] usb 1-1.1.3: USB disconnect, device number 14
[ 1012.226326] usb 1-1.1.3: new high-speed USB device number 16 using dwc_otg
[ 1012.357368] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1012.357376] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1012.357380] usb 1-1.1.3: Product: Elektron Digitone
[ 1012.357383] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1012.357387] usb 1-1.1.3: SerialNumber: 000000000001
[ 1025.146542] usb 1-1.1.3: USB disconnect, device number 16
[ 1025.447391] usb 1-1.1.3: new high-speed USB device number 17 using dwc_otg
[ 1025.578219] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1025.578227] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1025.578231] usb 1-1.1.3: Product: Elektron Digitone
[ 1025.578234] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1025.578238] usb 1-1.1.3: SerialNumber: 000000000001
[ 1035.130554] usb 1-1.1.3: USB disconnect, device number 17
[ 1035.438192] usb 1-1.1.3: new high-speed USB device number 18 using dwc_otg
[ 1035.569198] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1035.569219] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1035.569223] usb 1-1.1.3: Product: Elektron Digitone
[ 1035.569227] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1035.569230] usb 1-1.1.3: SerialNumber: 000000000001
[ 1048.186545] usb 1-1.1.3: USB disconnect, device number 18
[ 1048.529508] usb 1-1.1.3: new high-speed USB device number 19 using dwc_otg
[ 1048.660563] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1048.660571] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1048.660575] usb 1-1.1.3: Product: Elektron Digitone
[ 1048.660578] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1048.660582] usb 1-1.1.3: SerialNumber: 000000000001
[ 1052.026544] usb 1-1.1.3: USB disconnect, device number 19
[ 1052.319566] usb 1-1.1.3: new high-speed USB device number 20 using dwc_otg
[ 1052.450547] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1052.450555] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1052.450559] usb 1-1.1.3: Product: Elektron Digitone
[ 1052.450562] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1052.450566] usb 1-1.1.3: SerialNumber: 000000000001
[ 1068.154541] usb 1-1.1.3: USB disconnect, device number 20
[ 1068.525504] usb 1-1.1.3: new high-speed USB device number 21 using dwc_otg
[ 1068.656731] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1068.656739] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1068.656743] usb 1-1.1.3: Product: Elektron Digitone
[ 1068.656746] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1068.656750] usb 1-1.1.3: SerialNumber: 000000000001
[ 1084.538543] usb 1-1.1.3: USB disconnect, device number 21
[ 1084.836329] usb 1-1.1.3: new high-speed USB device number 22 using dwc_otg
[ 1084.967632] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1084.967639] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1084.967643] usb 1-1.1.3: Product: Elektron Digitone
[ 1084.967647] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1084.967650] usb 1-1.1.3: SerialNumber: 000000000001
[ 1091.450554] usb 1-1.1.3: USB disconnect, device number 22
[ 1091.762757] usb 1-1.1.3: new high-speed USB device number 23 using dwc_otg
[ 1091.893704] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1091.893712] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1091.893716] usb 1-1.1.3: Product: Elektron Digitone
[ 1091.893719] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1091.893723] usb 1-1.1.3: SerialNumber: 000000000001
[ 1104.506575] usb 1-1.1.3: USB disconnect, device number 23
[ 1104.806556] usb 1-1.1.3: new high-speed USB device number 24 using dwc_otg
[ 1104.947805] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1104.947813] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1104.947817] usb 1-1.1.3: Product: Elektron Digitone
[ 1104.947821] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1104.947824] usb 1-1.1.3: SerialNumber: 000000000001
[ 1136.250546] usb 1-1.1.3: USB disconnect, device number 24
[ 1136.663852] usb 1-1.1.3: new high-speed USB device number 25 using dwc_otg
[ 1136.804915] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1136.804924] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1136.804927] usb 1-1.1.3: Product: Elektron Digitone
[ 1136.804931] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1136.804934] usb 1-1.1.3: SerialNumber: 000000000001
[ 1171.322543] usb 1-1.1.3: USB disconnect, device number 25
[ 1171.623146] usb 1-1.1.3: new high-speed USB device number 26 using dwc_otg
[ 1171.754061] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1171.754070] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1171.754073] usb 1-1.1.3: Product: Elektron Digitone
[ 1171.754077] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1171.754080] usb 1-1.1.3: SerialNumber: 000000000001
[ 1178.234548] usb 1-1.1.3: USB disconnect, device number 26
[ 1178.531354] usb 1-1.1.3: new high-speed USB device number 27 using dwc_otg
[ 1178.662127] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1178.662136] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1178.662139] usb 1-1.1.3: Product: Elektron Digitone
[ 1178.662143] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1178.662146] usb 1-1.1.3: SerialNumber: 000000000001
[ 1182.074562] usb 1-1.1.3: USB disconnect, device number 27
[ 1182.370505] usb 1-1.1.3: new high-speed USB device number 28 using dwc_otg
[ 1182.511475] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1182.511483] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1182.511486] usb 1-1.1.3: Product: Elektron Digitone
[ 1182.511490] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1182.511494] usb 1-1.1.3: SerialNumber: 000000000001
[ 1188.986617] usb 1-1.1.3: USB disconnect, device number 28
[ 1189.308754] usb 1-1.1.3: new high-speed USB device number 29 using dwc_otg
[ 1189.439553] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1189.439561] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1189.439565] usb 1-1.1.3: Product: Elektron Digitone
[ 1189.439568] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1189.439572] usb 1-1.1.3: SerialNumber: 000000000001
[ 1192.826657] usb 1-1.1.3: USB disconnect, device number 29
[ 1193.137883] usb 1-1.1.3: new high-speed USB device number 30 using dwc_otg
[ 1193.268935] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1193.268943] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1193.268947] usb 1-1.1.3: Product: Elektron Digitone
[ 1193.268950] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1193.268961] usb 1-1.1.3: SerialNumber: 000000000001
[ 1196.666691] usb 1-1.1.3: USB disconnect, device number 30
[ 1196.967047] usb 1-1.1.3: new high-speed USB device number 31 using dwc_otg
[ 1197.098391] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1197.098399] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1197.098403] usb 1-1.1.3: Product: Elektron Digitone
[ 1197.098407] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1197.098589] usb 1-1.1.3: SerialNumber: 000000000001
[ 1206.650713] usb 1-1.1.3: USB disconnect, device number 31
[ 1206.964949] usb 1-1.1.3: new high-speed USB device number 32 using dwc_otg
[ 1207.095771] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1207.095779] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1207.095783] usb 1-1.1.3: Product: Elektron Digitone
[ 1207.095788] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1207.095791] usb 1-1.1.3: SerialNumber: 000000000001
[ 1226.106543] usb 1-1.1.3: USB disconnect, device number 32
[ 1226.411333] usb 1-1.1.3: new high-speed USB device number 33 using dwc_otg
[ 1226.542646] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1226.542654] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1226.542658] usb 1-1.1.3: Product: Elektron Digitone
[ 1226.542662] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1226.542666] usb 1-1.1.3: SerialNumber: 000000000001
[ 1282.938542] usb 1-1.1.3: USB disconnect, device number 33
[ 1283.273463] usb 1-1.1.3: new high-speed USB device number 34 using dwc_otg
[ 1283.414762] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1283.414770] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1283.414774] usb 1-1.1.3: Product: Elektron Digitone
[ 1283.414778] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1283.414781] usb 1-1.1.3: SerialNumber: 000000000001
[ 1286.778539] usb 1-1.1.3: USB disconnect, device number 34
[ 1287.083066] usb 1-1.1.3: new high-speed USB device number 35 using dwc_otg
[ 1287.214127] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1287.214135] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1287.214139] usb 1-1.1.3: Product: Elektron Digitone
[ 1287.214142] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1287.214146] usb 1-1.1.3: SerialNumber: 000000000001
[ 1293.690551] usb 1-1.1.3: USB disconnect, device number 35
[ 1293.992347] usb 1-1.1.3: new high-speed USB device number 36 using dwc_otg
[ 1294.123555] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1294.123564] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1294.123568] usb 1-1.1.3: Product: Elektron Digitone
[ 1294.123571] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1294.123575] usb 1-1.1.3: SerialNumber: 000000000001
[ 1303.674548] usb 1-1.1.3: USB disconnect, device number 36
[ 1304.001382] usb 1-1.1.3: new high-speed USB device number 37 using dwc_otg
[ 1304.132385] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1304.132393] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1304.132397] usb 1-1.1.3: Product: Elektron Digitone
[ 1304.132400] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1304.132404] usb 1-1.1.3: SerialNumber: 000000000001
[ 1323.130536] usb 1-1.1.3: USB disconnect, device number 37
[ 1323.439723] usb 1-1.1.3: new high-speed USB device number 38 using dwc_otg
[ 1323.570552] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1323.570568] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1323.570572] usb 1-1.1.3: Product: Elektron Digitone
[ 1323.570575] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1323.570579] usb 1-1.1.3: SerialNumber: 000000000001
[ 1336.186537] usb 1-1.1.3: USB disconnect, device number 38
[ 1336.478744] usb 1-1.1.3: new high-speed USB device number 39 using dwc_otg
[ 1336.610021] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1336.610030] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1336.610033] usb 1-1.1.3: Product: Elektron Digitone
[ 1336.610041] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1336.610045] usb 1-1.1.3: SerialNumber: 000000000001
[ 1364.858543] usb 1-1.1.3: USB disconnect, device number 39
[ 1365.156927] usb 1-1.1.3: new high-speed USB device number 40 using dwc_otg
[ 1365.297766] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1365.297774] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1365.297778] usb 1-1.1.3: Product: Elektron Digitone
[ 1365.297781] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1365.297786] usb 1-1.1.3: SerialNumber: 000000000001
[ 1387.386542] usb 1-1.1.3: USB disconnect, device number 40
[ 1387.685777] usb 1-1.1.3: new high-speed USB device number 41 using dwc_otg
[ 1387.816697] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1387.816705] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1387.816709] usb 1-1.1.3: Product: Elektron Digitone
[ 1387.816713] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1387.816716] usb 1-1.1.3: SerialNumber: 000000000001
[ 1394.298544] usb 1-1.1.3: USB disconnect, device number 41
[ 1394.595460] usb 1-1.1.3: new high-speed USB device number 42 using dwc_otg
[ 1394.726708] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1394.726716] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1394.726720] usb 1-1.1.3: Product: Elektron Digitone
[ 1394.726723] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1394.726727] usb 1-1.1.3: SerialNumber: 000000000001
[ 1398.138538] usb 1-1.1.3: USB disconnect, device number 42
[ 1398.435301] usb 1-1.1.3: new high-speed USB device number 43 using dwc_otg
[ 1398.566204] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1398.566212] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1398.566216] usb 1-1.1.3: Product: Elektron Digitone
[ 1398.566219] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1398.566223] usb 1-1.1.3: SerialNumber: 000000000001
[ 1405.050542] usb 1-1.1.3: USB disconnect, device number 43
[ 1405.345004] usb 1-1.1.3: new high-speed USB device number 44 using dwc_otg
[ 1405.476875] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1405.476883] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1405.476886] usb 1-1.1.3: Product: Elektron Digitone
[ 1405.476890] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1405.476893] usb 1-1.1.3: SerialNumber: 000000000001
[ 1408.890538] usb 1-1.1.3: USB disconnect, device number 44
[ 1409.184855] usb 1-1.1.3: new high-speed USB device number 45 using dwc_otg
[ 1409.315652] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1409.315660] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1409.315664] usb 1-1.1.3: Product: Elektron Digitone
[ 1409.315667] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1409.315671] usb 1-1.1.3: SerialNumber: 000000000001
[ 1415.802548] usb 1-1.1.3: USB disconnect, device number 45
[ 1416.094591] usb 1-1.1.3: new high-speed USB device number 46 using dwc_otg
[ 1416.226354] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1416.226363] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1416.226366] usb 1-1.1.3: Product: Elektron Digitone
[ 1416.226370] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1416.226373] usb 1-1.1.3: SerialNumber: 000000000001
[ 1428.858536] usb 1-1.1.3: USB disconnect, device number 46
[ 1429.154137] usb 1-1.1.3: new high-speed USB device number 47 using dwc_otg
[ 1429.285811] usb 1-1.1.3: New USB device found, idVendor=1935, idProduct=0015
[ 1429.285819] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1429.285823] usb 1-1.1.3: Product: Elektron Digitone
[ 1429.285827] usb 1-1.1.3: Manufacturer: Elektron Music Machines
[ 1429.285830] usb 1-1.1.3: SerialNumber: 000000000001

no errors messages in maiden …

Okay something wacky is going on with the Digitone - those periodic disconnects look awfully suspicious. I think it makes sense for me to try and recreate the problem on my end.

Which version of the Digitone firmware are you running?

this was mentioned in passing but: what about power consumption?

(either digi or the other thing being current starved?)

a current-metering USB dongle can be handy

Current consumption was a thought hence the powered hub comment. If there were power draw issues I would have expected to see something like that from the kernel.

I have access to a Digitone here and my recollection is that there are multiple modes for the USB device port. At quick glance it appeared that one or both devices (Launchpad and Digitone) were also providing storage endpoints as well…

I’m not sure it is relevant to your case but I’ve had problems in the past with missing note off messages with the original launchpad and the launchpad mini when using them with my own c code on linux. Also I sometimes get stuck leds with them in ableton live on windows, especially when using max4live, and the same on bitwig in linux.

I am on the newest firmware (1.30A), but I already tested the setup with firmware 1.21 because I was also expecting something to go on with the firmware. but I was able to recreate the same effect with both versions.

so you would recommend using a powered hub between norns and the launchpad X? I already run the launchpad in its darkest LED mode, but will try the hub scenario.

The strange thing is that on the launchpad side everything is working fine. all interactions are received correctly by norns. even if the digitone is unresponsive, the launchpad button presses are received.

in another project I am using the launchpad as a grid and was able to transfer for example mlr to work with it. here again no problem at all. not lost interactions, no lost led updates …

Oh this is super interesting as I have been having issues with launchpad mini and midigrid. I had been suspecting my code but had started to suspect something in the midi stack… sounds like this could be a hardware issue?

what makes me wonder is that I couldn’t reproduce the problem with kboard and digitone and on the other hand launchpad with norns work fine together as well.

seems to me that each device on its own is working fine but not in combination, which quite frankly is somehow odd to me …

since I own a digitakt, I will try to reproduce the same bug with a launchpad digitakt setup