Unable to connect USB Midi device to Linux machines
by Chippitsaur from LinuxQuestions.org on (#6KNGP)
I have been attempting to connect a set of Midi drums (an Alesis DM6) to my machine with no success. I am using the Midi controller's standard USB interface with a USB 2 type B to type A cable.
The device seems to get stuck in a loop connecting and disconnecting indefinitely.
Relevant dmesg output:
Code:[ 2160.282707] usb 1-3: new full-speed USB device number 4 using xhci_hcd
[ 2160.570701] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2160.570706] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2160.570708] usb 1-3: Product: e-Drum
[ 2160.570709] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2160.586368] usb 1-3: USB disconnect, device number 4
[ 2160.874399] usb 1-3: new full-speed USB device number 5 using xhci_hcd
[ 2161.162671] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2161.162676] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2161.162678] usb 1-3: Product: e-Drum
[ 2161.162679] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2161.178374] usb 1-3: USB disconnect, device number 5
[ 2161.466393] usb 1-3: new full-speed USB device number 6 using xhci_hcd
[ 2161.753720] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2161.753725] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2161.753726] usb 1-3: Product: e-Drum
[ 2161.753727] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2161.769552] usb 1-3: USB disconnect, device number 6
[ 2161.783057] mc: Linux media interface: v0.10
[ 2161.800132] usbcore: registered new interface driver snd-usb-audio
[ 2162.058603] usb 1-3: new full-speed USB device number 7 using xhci_hcd
[ 2162.346717] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2162.346722] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2162.346723] usb 1-3: Product: e-Drum
[ 2162.346724] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2162.366023] usb 1-3: Quirk or no altest; falling back to MIDI 1.0
[ 2162.366510] usb 1-3: USB disconnect, device number 7The disconnects/reconnects repeat indefinitely (with incrementing device numbers).
I see the following in /var/log/messages occasionally but not always interspersed just after the disconnects:
Code:mtp-probe[8320]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:02.1/0000:04:00.0/0000:05:0c.0/0000:0e:00.0/usb1/1-3"
mtp-probe[8320]: bus: 1, device: 8 was not an MTP deviceUnfortunately because the disconnects happen so rapidly I can never see the device appear in lsusb or similar.
Some details about my machine follow, however I fear they are not enormously relevant since I am able to reproduce the same behaviour on two other Linux-based devices I have (a Rock5b SBC and another Proxmox host on a Protectli SBC)
Code:$ uname -r
6.7.9-200.fc39.x86_64
$ lsb-release -a
LSB Version: n/a
Distributor ID: Fedora
Description: Fedora Linux 39 (KDE Plasma)
Release: 39
Codename: n/aAnd a few bits of additional information:
The device seems to get stuck in a loop connecting and disconnecting indefinitely.
Relevant dmesg output:
Code:[ 2160.282707] usb 1-3: new full-speed USB device number 4 using xhci_hcd
[ 2160.570701] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2160.570706] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2160.570708] usb 1-3: Product: e-Drum
[ 2160.570709] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2160.586368] usb 1-3: USB disconnect, device number 4
[ 2160.874399] usb 1-3: new full-speed USB device number 5 using xhci_hcd
[ 2161.162671] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2161.162676] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2161.162678] usb 1-3: Product: e-Drum
[ 2161.162679] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2161.178374] usb 1-3: USB disconnect, device number 5
[ 2161.466393] usb 1-3: new full-speed USB device number 6 using xhci_hcd
[ 2161.753720] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2161.753725] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2161.753726] usb 1-3: Product: e-Drum
[ 2161.753727] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2161.769552] usb 1-3: USB disconnect, device number 6
[ 2161.783057] mc: Linux media interface: v0.10
[ 2161.800132] usbcore: registered new interface driver snd-usb-audio
[ 2162.058603] usb 1-3: new full-speed USB device number 7 using xhci_hcd
[ 2162.346717] usb 1-3: New USB device found, idVendor=0a67, idProduct=119d, bcdDevice= 1.00
[ 2162.346722] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2162.346723] usb 1-3: Product: e-Drum
[ 2162.346724] usb 1-3: Manufacturer: Medeli Electronics Co., Ltd.
[ 2162.366023] usb 1-3: Quirk or no altest; falling back to MIDI 1.0
[ 2162.366510] usb 1-3: USB disconnect, device number 7The disconnects/reconnects repeat indefinitely (with incrementing device numbers).
I see the following in /var/log/messages occasionally but not always interspersed just after the disconnects:
Code:mtp-probe[8320]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:02.1/0000:04:00.0/0000:05:0c.0/0000:0e:00.0/usb1/1-3"
mtp-probe[8320]: bus: 1, device: 8 was not an MTP deviceUnfortunately because the disconnects happen so rapidly I can never see the device appear in lsusb or similar.
Some details about my machine follow, however I fear they are not enormously relevant since I am able to reproduce the same behaviour on two other Linux-based devices I have (a Rock5b SBC and another Proxmox host on a Protectli SBC)
Code:$ uname -r
6.7.9-200.fc39.x86_64
$ lsb-release -a
LSB Version: n/a
Distributor ID: Fedora
Description: Fedora Linux 39 (KDE Plasma)
Release: 39
Codename: n/aAnd a few bits of additional information:
- This hardware works fine on Windows.
- This hardware also connects and seems to work fine on a BSD device I have (a bare metal TrueNAS host).
- I have previously (from Windows) flashed this device with its latest manufacturer firmware.
- I have tried connecting it to USB3 and USB2 ports on my machine, both front panel and rear.