Unable to connect USB Midi device to Linux machines
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 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" 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
I am at this point at a loss regarding how to proceed. Am I out of luck getting it to work on Linux? Any advice will be appreciated! |
Hello, Chippitsaur & welcome to LQ.
You're connecting it all right, but the kernel doesn't have a driver for you. Not only that, but midi was a popular thing in the 1990s and I haven't really heard of it much since. We had 16 bit sound cards in the old ISA bus which ran at a max of something like 7.86MHz(?) officially, although most suppliers doubled that speed. I'm no audio buff, but there's packages for playing retro games that might get you midi. If it's a generic item they might even support it. The trick here is to put your usb id '0a67:119d' on a web search along with some keywords. Try searching for Code:
+0a67:119d +linux Lesson is to check linux compatibility before spending your hard-earned cash. |
Quote:
Microsoft has dropped native MIDI support and support for MIDI on PCI soundcards with Windows Vista. Therefore you must use USB-MIDI-converters instead of native MIDI ports with Windows Vista and later. :( The Linux kernel provides native MIDI support and support for MIDI on PCI soundcards to date. Mentioned USB-MIDI-converter seems to be a piece of this annoying "Windows only e-waste". On the other hand, given vendor & device Id belongs to a USB device supported by the Linux kernel 2.6.0 6.3: https://linux-hardware.org/?id=usb:0a67-119d In a few cases, very old drivers are moved to "staging drivers" in recent kernels. These staging drivers are normally not included in distro kernels. In a few cases, very old drivers are dropped in recent kernels. A possible solution is to use a PCI soundcard with MIDI port instead. If used mainboard has a free PCI slot it is not a problem. If used mainboard only provides PCIe slots it becomes a little bit difficult due to mechanical reasons. Electronically it is simple because PCIe x1 to PCI slot adapters are available. Mechanically soundcard with PCIe x1 to PCI slot adapter must be mounted in a way that MIDI port at soundcard is accessible:
|
Thank you both for your responses and advice, especially the tip for searching for USB IDs. I'd not considered that.
A thing I might not have made especially clear in my first post (my apologies) is that the device ONLY has a USB interface, no legacy MIDI. I do incidentally happen to have an old sound card I could use with a native MIDI interface but it wouldn't be helpful considering this drum brain is strictly a USB device. Quote:
In the event that it is, presumably it would then be possible to compile a modified kernel to reintroduce the support, or perhaps add it as a kernel module? I'll admit extremely naive understanding of how this process works for adding custom driver support to the kernel, but surely this is feasible? Quote:
|
An update:
No luck, unfortunately, on the 5.11.x kernel machine. Are there any other things I could/should attempt, or is this a fool's errand at this point? |
Quote:
|
Quote:
Personally, I think not, but it's your effort, your decision, and I don't know how much you value a midi keyboard in 2024. |
Post dmesg output after connecting the drumset with the kernel 5.11 machine both for connections with USB 2.0 & USB 3.0 port.
|
Apologies, I didn't include the dmesg output for the other computer because it was the same. I should've mentioned that. Similarly this older laptop predates the ubiquity of USB 3.0 and so is 2.0 only.
I tried it earlier with a 4.19 kernel as well, with the same results. |
All times are GMT -5. The time now is 05:48 AM. |