Using a midi keyboard with Linux [SOLVED]

No, I’m no musician, but a mate (a Linux man) asked me to get an old midi keyboard working on Ubuntu or Peppermint.
Keyboard: Evolution Mk 261 (actually the final success was with another, cheap keyboard. The Evolution k/b is yet to function)
Trawling the web provided a range of answers but the easiest route seems to be installing QjackCtl and QSynth and there is a good tutorial on
https://scottlinux.com/2012/04/22/connect-midi-keyboard-for-playback-in-linux/
All went well until running Qsynth, at which point I had an error:
Qsynth1: Failed to create the audio driver (jack). Cannot continue without it.
… and sure enough, it couldn’t. I attach the full listing of messages.
Do any of our readers have any experience of this software?

Keith

Is this a USB MIDI keyboard or does it have a proper MIDI connector into a MIDI interface?

It has a single DIN output socket and I believe the previous owner plugged it straight into his XP PC via the 15-pin D socket of an add-on audio board.

Ah, so it’s actually MIDI. Btw, MIDI doesn’t carry audio, it merely controls it in the computer (just like a mouse or QWERTY keyboard would).

First step is to see whether the MIDI interface card is recognised. How is it connected? PCI I’m guessing? If so, please attach/pastebin the following:

lspci

PCI it is - file attached.
There are four lines referring to multimedia. I can remove the board to check if you like.

Sorry: wrong PC!!!
I’ll re-send the file in a moment…

Here it is…

Sorry, any chance you can use a txt file or pastebin? I can’t open ODT at work…

Edit: That was to your previous post, but I can’t open the new one at all from work (stupid webfilter) >:(

Reply #6 should be TXT file this time - sorry for the confusion.

OK. How does pastebin work?

Pastebin is just a website where you can upload text, and it generates a weblink which you can share. Might work with images too (not sure about this one). It stores the text for 24 hours or something like that.

OK. Try this Dropbox link:
https://www.dropbox.com/s/gmth91ksb1r1q0u/lspci?dl=0

[EDIT] this is probably the line of interest:
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller (rev 01)

Dropbox blocked too :frowning:

Won’t be that one, that is the one that’s on the motherboard (doesn’t support MIDI as far as I am aware)

Well, I’m not entirely sure of this pastebin link, but: http://pastebin.com/sWdtZgj6

I can see no mention of it in that output :-\

With the MIDI keyboard attached, what’s the output from:

cat /proc/asound/cards

and

aplay -l

Sorry for the delay. Here are the outputs with the keyboard attached (and switched on!):
keith@D505 ~ $ cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with STAC9750,51 at irq 5
keith@D505 ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

I’m not seeing it there at all either…

Can you turn off the keyboard, wait 10 seconds, turn it back on, then post the output from:

dmesg | tail -n 30

I am using the “Midi out” DIN socket on the keyboard with a DIN-to-USB cable that came with it, but there is also a small, eight-pin socket labelled “computer”. Perhaps there’s a clue.
Here is the output:
keith@D505 ~ $ dmesg | tail -n 30
[ 31.888773] yenta_cardbus 0000:01:01.0: pcmcia: parent PCI bridge window: [io 0xe000-0xefff]
[ 31.888778] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xe000-0xefff: excluding 0xe000-0xe0ff 0xe400-0xe4ff 0xecc0-0xecff
[ 31.891416] yenta_cardbus 0000:01:01.0: pcmcia: parent PCI bridge window: [mem 0xfc000000-0xfdffffff]
[ 31.891421] pcmcia_socket pcmcia_socket0: cs: memory probe 0xfc000000-0xfdffffff: excluding 0xfc000000-0xfc1fffff 0xfce00000-0xfcffffff
[ 31.891438] yenta_cardbus 0000:01:01.0: pcmcia: parent PCI bridge window: [mem 0x44000000-0x47ffffff pref]
[ 31.891443] pcmcia_socket pcmcia_socket0: cs: memory probe 0x44000000-0x47ffffff: excluding 0x44000000-0x47ffffff
[ 31.921403] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 32.296888] Bluetooth: Core ver 2.16
[ 32.296953] NET: Registered protocol family 31
[ 32.296956] Bluetooth: HCI device and connection manager initialized
[ 32.296960] Bluetooth: HCI socket layer initialized
[ 32.296964] Bluetooth: L2CAP socket layer initialized
[ 32.297349] Bluetooth: SCO socket layer initialized
[ 32.341053] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 32.341057] Bluetooth: BNEP filters: protocol multicast
[ 32.356046] Bluetooth: RFCOMM TTY layer initialized
[ 32.356062] Bluetooth: RFCOMM socket layer initialized
[ 32.356065] Bluetooth: RFCOMM ver 1.11
[ 32.371236] snd_intel8x0 0000:00:1f.5: PCI INT B → Link[LNKB] → GSI 5 (level, low) → IRQ 5
[ 32.371272] snd_intel8x0 0000:00:1f.5: setting latency timer to 64
[ 32.442254] type=1400 audit(1423154348.762:10): apparmor=“STATUS” operation=“profile_load” name=“/usr/lib/cups/backend/cups-pdf” pid=800 comm=“apparmor_parser”
[ 32.448903] type=1400 audit(1423154348.770:11): apparmor=“STATUS” operation=“profile_load” name=“/usr/sbin/cupsd” pid=800 comm=“apparmor_parser”
[ 33.168413] init: failsafe main process (854) killed by TERM signal
[ 33.196045] intel8x0_measure_ac97_clock: measured 55393 usecs (2669 samples)
[ 33.196051] intel8x0: clocking to 48000
[ 33.554006] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 33.554914] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 36.260814] lib80211_crypt: registered algorithm ‘CCMP’
[ 46.544035] eth1: no IPv6 routers present
[ 1782.408083] usb 2-1: new full-speed USB device number 2 using uhci_hcd

Ahh … I thought you said you were attaching it directly to the sound card.

With it connected, what’s the output from:

lsusb

The keyboard was originally used with a desktop which did have an audio board, but the only cable we found was the present DIN-to-USB one (and it bears the name of the keyboard manufacturer). My mate needs to use it with his Linux laptop, so I am trying it out on my Peppermint 3 laptop.
Here’s the output with the keyboard on:
keith@D505 ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0763:1010 Midiman MidiSport 1x1