<div dir="ltr"><div><div><div>I apologize in advance for what seems like a trivial and often asked 
question. But I can't seem to figure out even the tools to diagnose my 
problem.  I've been reading web pages and alsa and jackd documentation for two weeks, with no luck.<br>
<br>
I'm trying to configure my ubuntu 14.04 system to use my Akai EWI USB midi controller.  I am trying to use <a href="http://tedfelix.com/linux/linux-midi.html" target="_blank">Ted's Linux MIDI Guide</a> to configure things.  But before I get midi working I need to test that 
jackd can route audio to alsa, and I can't get audio ouput from jackd.<br>
<br>
I have verified that alsa works with pulseaudio, when pa is running.  I 
disabled pa and then made sure that pa did not autospawn (autospawn = no
 in /etc/pulseaudio/client.conf.)<br>
<br>
I also verified that my hardware device is hw:0.  It's the only HW 
device in my machine. The EWI is not currently plugged in, and it's a 
MIDI device anyway.<br>
<br>
When I run qjackctl and start the server I get this:<br><div class="">

<p style="margin:0px;text-indent:0px"><span style="color:rgb(153,153,153)">19:04:28.770 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).</span></p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: Starting jack server...</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: JACK server starting in realtime mode with priority 10</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: Acquired audio card Audio0</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: creating alsa driver ... hw:0|hw:0|128|2|44100|0|0|nomon|swmeter|-|32bit</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 2 periods</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: ALSA: final selected sample format for capture: 32bit integer little-endian</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: ALSA: use 2 periods for capture</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: ALSA: final selected sample format for playback: 32bit integer little-endian</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: ALSA: use 2 periods for playback</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:capture_1'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: New client 'system' with PID 0</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:capture_2'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_1'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_2'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_3'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_4'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_5'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_6'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_7'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:28 2015: graph reorder: new port 'system:playback_8'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:30 2015: Saving settings to "/home/poppa/.config/jack/conf.xml" ...</p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(153,153,204)">19:04:31.000 JACK connection change.</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(153,153,51)">19:04:31.031 Server configuration saved to "/home/poppa/.jackdrc".</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(153,153,153)">19:04:31.032 Statistics reset.</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(153,153,153)">19:04:31.038 Client activated.</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(204,153,102)">19:04:31.043 JACK connection graph change.</span></p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:30 2015: New client 'qjackctl' with PID 27579<br></p></div><div class=""><br></div><div class="">(It complained initially that the server was not running, but that's because it wasn't.)<br><br></div>export JACK_PLAY_CONNECT_TO=system:playback_%d 
<br>jack.play test.wav<div class="">
</div><br>I have played this .wav file before with aplay, so I know it 
plays, but no sound comes out of my speakers.  I think jack thinks it's 
playing, since qjackctl tells me this when I run jack.play:<br>

<p style="margin:0px;text-indent:0px"><span style="color:rgb(204,153,102)">19:04:31.043 JACK connection graph change.</span></p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:04:30 2015: New client 'qjackctl' with PID 27579</p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(204,153,102)">19:07:09.840 JACK connection graph change.</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(153,153,204)">19:07:09.955 JACK connection change.</span></p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:07:09 2015: New client 'jack.play-27607' with PID 27607</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:07:09 2015: Connecting 'jack.play-27607:out_1' to 'system:playback_1'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:07:09 2015: Connecting 'jack.play-27607:out_2' to 'system:playback_2'</p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(204,153,102)">19:07:10.772 JACK connection graph change.</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(153,153,204)">19:07:10.959 JACK connection change.</span></p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:07:10 2015: Disconnecting 'jack.play-27607:out_1' from 'system:playback_1'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:07:10 2015: Disconnecting 'jack.play-27607:out_2' from 'system:playback_2'</p>
<p style="margin:0px;text-indent:0px">Sat Mar  7 19:07:10 2015: Client 'jack.play-27607' with PID 27607 is out</p><br></div>I know it's some simple configuration error I have made.  I have no .asoundrc nor an<br></div>/etc/asound.conf file, so I have the default configuration.  I also have the most common<br></div>kind of sound card in the world, so it can't be that hard to configure it.<br><div><div><div>
<br>
Can anybody give me a clue?  Thanks.<br>
<br>
P.S.<br>
FWIW, alsa is working fine, so I don't think that's the problem.  But catting /proc/asound/cards gives me:<br>
<div class="">
        <div class="">Code:</div>
        <pre class="" style="height:60px">poppa@ossian:~/.config$ cat /proc/asound/cards
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfdff4000 irq 16</pre></div>

Also, alsamixer tells me the levels are fine and not muted.<br><br></div><div>P.P.S.  The EWI works with alsa and fluidsynth alone, but there seems to be a noticable latency between fingering notes and hearing the notes.  I'm hoping jack will fix some or all of that.<br><br></div><div><br></div></div></div></div>