[ubuntu-studio-users] Keyboard is seen but won't connect

David Sumbler david at aeolia.co.uk
Tue Dec 27 15:06:03 UTC 2016


On Tue, 2016-12-27 at 15:01 +0100, Ralf Mardorf wrote:
> On Tue, 27 Dec 2016 13:40:15 +0000, David Sumbler wrote:
> > 
> > david at eros:~$ killall -9 jackd a2jmidid qjackctl
> > jackd: no process found
> > a2jmidid: no process found
> > qjackctl: no process found
> This kill command doesn't terminate what already might be running on
> your install ;).
> 
> > 
> > ERROR: a2j_alsa_connect_from: can't subscribe to 24:0 - Resource
> > temporarily unavailable
> > port skipped: CASIO USB-MIDI [24] (capture): CASIO USB-MIDI MIDI 1
> > ERROR: a2j_port_create: snd_seq_connect_to() for 24:0 failed with
> > error
> > -11
> > port skipped: CASIO USB-MIDI [24] (playback): CASIO USB-MIDI MIDI 1
> > no message buffer overruns
> > `default' server already active
> > Failed to open server
> I suspect something already grabbed the device, but a short test
> on my machine showed that it's unlikely an a2j vs a2jmidid issue.
> 
> Did you unplug the keyboard, reboot and then plugged in the keyboard?
> 
> Did you disable all audio related auto-starts?
> 
> Regards,
> Ralf

I just tried your first suggestion (reboot etc.) and then ran you
commands again.  Slightly different output, but the same result: the
keyboard appears in the ALSA tab but can't be connected to anything
else.

david at eros:~$ killall -9 jackd a2jmidid qjackctljackd: no process found
a2jmidid: no process found
qjackctl: no process found
david at eros:~$ jackd --sync -Xalsarawmidi -dalsa -r48000 -p256 &
a2jmidid -e & qjackctl
[1] 2416
[2] 2417
jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK MIDI <-> ALSA sequencer MIDI bridge, version 8
(7383d268c4bfe85df9f10df6351677659211d1ca) built on Thu Jan  1 01:00:00
1970
Copyright 2006,2007 Dmitry S. Baikov
Copyright 2007,2008,2009,2011,2012 Nedko Arnaudov

Bridge starting...
Using JACK server 'default'
Hardware ports will be exported.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
4294967295, skipping unlock
ERROR: a2j_jack_client_create: Cannot create jack client
ERROR: a2j_start: a2j_new() failed.
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|256|2|48000|0|0|nomon|swmeter|-
|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to
capture-only mode
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server


As for audio related auto-starts, do you mean items in /etc/rcS.d ?
 The only relevant item there is alsa-utils, which I assume I need.

David



More information about the ubuntu-studio-users mailing list