<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 4:22 PM, HP-mini <span dir="ltr">&lt;<a href="mailto:blm-ubunet@slingshot.co.nz" target="_blank">blm-ubunet@slingshot.co.nz</a>&gt;</span> wrote:<br>

<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>On Mon, 2013-05-27 at 17:21 -0400, Dave Matthews wrote:<br>


&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, May 27, 2013 at 3:52 PM, HP-mini &lt;<a href="mailto:blm-ubunet@slingshot.co.nz" target="_blank">blm-ubunet@slingshot.co.nz</a>&gt;<br>
&gt; wrote:<br>
&gt;         On Mon, 2013-05-27 at 14:08 -0400, Dave Matthews wrote:<br>
&gt;         &gt; Let try this with a subject.<br>
&gt;         &gt;<br>
&gt;         &gt; Also - the machine upgraded from MythTV 0.24 to 0.25 when<br>
&gt;         the Ubuntu<br>
&gt;         &gt; upgrade happened.<br>
&gt;<br>
&gt;<br>
&gt;         &gt; This is the parameter that was in place for years on the old<br>
&gt;         &gt; installation.  The CA0106 is a soundblaster PCI card.<br>
&gt;          Something has<br>
&gt;         &gt; changed in 12.04.  How should I adjust the parameter so<br>
&gt;         Mythtv gets<br>
&gt;         &gt; the right sound input device?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         Have you tried re-scanning audio devices in FE setup?<br>
&gt;         (I&#39;m guessing that this scans input devices as well)<br>
&gt;         Try doing that scan with FE started with logging into<br>
&gt;         terminal..<br>
&gt;<br>
</div>I still believe that after any upgrade you should rescan the audio<br>
devices in FE setup &amp; pick an appropriate one..<br>
The debug output is helpful to someone..<br>
<br>
No audio input device is configured here..<br>
<br>
Just to clarify; Your audio problem is with recording from external<br>
source ?<br></blockquote><div> </div><div>The rescan gave me a list of device names to try.  I had already looked at it.  The audio is coming from an external device (Dish Network Sat receiver).</div><div> </div><div> </div>

<div> </div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div><br>
<br>
&gt;         Can try a test with varied listed &quot;arecord -L&quot; devices<br>
&gt;          arecord -D hw:CARD=CA0106 -r 48000 -f S16_LE -c 2 -d 5 -t wav<br>
&gt;         test.wav<br>
<br>
&gt;<br>
</div><div>&gt; The rescan picks up the card as multiple devices.  I tried them<br>
&gt; yesterday by adding ,DEV=n to the input device name yesterday with no<br>
&gt; change.  The scan has lots of invalid argument messages.<br>
&gt;<br>
&gt;<br>
</div>I was not suggesting to edit the returned devices..<br></blockquote><div>I wasn&#39;t editing.  This was going through the list of possible options for the audio device line in teh backend setup.</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">


<br>
Do you use the soundcard for audio output (as well) ?<br></blockquote><div>Yes, it was working.</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">


<div><div><br>
&gt; Snip of FE setup<br>
&gt; htpc@htpc:/usr/bin$ mythfrontend<br>
&gt; - clipped<br>
&gt; 2013-05-27 16:58:23.296609 I  MythCoreContext: Connecting to backend<br>
&gt; server: <a href="http://192.168.1.6:6543" target="_blank">192.168.1.6:6543</a> (try 1 of 1)<br>
&gt; 2013-05-27 16:58:23.297619 I  Using protocol version 72<br>
&gt; 2013-05-27 16:58:23.339962 I  Bonjour: Service registration complete:<br>
&gt; name &#39;Mythfrontend on htpc&#39; type &#39;_mythfrontend._tcp.&#39; domain:<br>
&gt; &#39;local.&#39;<br>
&gt; 2013-05-27 16:58:38.404682 E  ALSA: snd_pcm_info_get_card: Operation<br>
&gt; not permitted<br>
&gt; 2013-05-27 16:58:38.705783 I  Pulse: PulseAudio suspend OK<br>
&gt; 2013-05-27 16:58:38.862827 E  ALSA: snd_pcm_info_get_card: Operation<br>
&gt; not permitted<br>
&gt; ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
&gt; 2013-05-27 16:58:39.153130 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dmix:CARD=CX8801,DEV=0&quot;): No such file or directory<br>
&gt; ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; 2013-05-27 16:58:39.243846 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dmix:CARD=NVidia,DEV=2&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:39.251421 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=0&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:39.259085 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=1&quot;): Invalid argument<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; 2013-05-27 16:58:39.266721 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=2&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:39.274741 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=3&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:39.283644 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CX8801,DEV=0&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:39.291096 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=NVidia,DEV=0&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:39.298564 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=NVidia,DEV=1&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:39.305576 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=NVidia,DEV=2&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:39.565937 E  ALSA:<br>
&gt; snd_pcm_open(&quot;hw:CARD=CX8801,DEV=0&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:39.654881 E  ALSA:<br>
&gt; snd_pcm_open(&quot;hw:CARD=NVidia,DEV=2&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:39.913919 E  ALSA:<br>
&gt; snd_pcm_open(&quot;plughw:CARD=CX8801,DEV=0&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:40.004756 E  ALSA:<br>
&gt; snd_pcm_open(&quot;plughw:CARD=NVidia,DEV=2&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:40.013547 E  ALSA: snd_pcm_info_get_card: Operation<br>
&gt; not permitted<br>
&gt; 2013-05-27 16:58:40.604895 E  ALSA:<br>
&gt; snd_pcm_open(&quot;sysdefault:CARD=CX8801&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:41.010641 I  Pulse: PulseAudio resume OK<br>
&gt; 2013-05-27 16:58:47.019054 I  Pulse: PulseAudio suspend OK<br>
&gt; 2013-05-27 16:58:47.175943 E  ALSA: snd_pcm_info_get_card: Operation<br>
&gt; not permitted<br>
&gt; ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
&gt; 2013-05-27 16:58:47.563550 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dmix:CARD=CX8801,DEV=0&quot;): No such file or directory<br>
&gt; ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; 2013-05-27 16:58:47.733510 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dmix:CARD=NVidia,DEV=2&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:47.747357 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=0&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:47.761113 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=1&quot;): Invalid argument<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
&gt; supports only capture stream<br>
&gt; 2013-05-27 16:58:47.777301 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=2&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:47.791246 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CA0106,DEV=3&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:47.804729 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=CX8801,DEV=0&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:47.819927 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=NVidia,DEV=0&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:47.833686 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=NVidia,DEV=1&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:47.849303 E  ALSA:<br>
&gt; snd_pcm_open(&quot;dsnoop:CARD=NVidia,DEV=2&quot;): Invalid argument<br>
&gt; 2013-05-27 16:58:48.124812 E  ALSA:<br>
&gt; snd_pcm_open(&quot;hw:CARD=CX8801,DEV=0&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:48.220098 E  ALSA:<br>
&gt; snd_pcm_open(&quot;hw:CARD=NVidia,DEV=2&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:48.486852 E  ALSA:<br>
&gt; snd_pcm_open(&quot;plughw:CARD=CX8801,DEV=0&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:48.576768 E  ALSA:<br>
&gt; snd_pcm_open(&quot;plughw:CARD=NVidia,DEV=2&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:48.585301 E  ALSA: snd_pcm_info_get_card: Operation<br>
&gt; not permitted<br>
&gt; 2013-05-27 16:58:49.178353 E  ALSA:<br>
&gt; snd_pcm_open(&quot;sysdefault:CARD=CX8801&quot;): No such file or directory<br>
&gt; 2013-05-27 16:58:49.522759 I  Pulse: PulseAudio resume OK<br>
&gt; 2013-05-27 16:58:56.054864 I  Received remote &#39;Clear Cache&#39; request<br>
&gt; 2013-05-27 16:58:59.469800 I  Bonjour: De-registering service<br>
&gt; &#39;_mythfrontend._tcp.&#39; on &#39;Mythfrontend on htpc&#39;<br>
&gt; 2013-05-27 16:58:59.470311 I  RAOP Device: Cleaning up.<br>
&gt; 2013-05-27 16:58:59.470342 I  AirPay: Cleaning up.<br>
&gt; 2013-05-27 16:58:59.470371 I  Pulse: Cleaning up PulseHandler<br>
&gt; 2013-05-27 16:58:59.470640 I  Deleting UPnP client...<br>
&gt; 2013-05-27 16:59:00.302544 I  Waiting for threads to exit.<br>
&gt; htpc@htpc:/usr/bin$<br>
&gt;<br>
&gt;<br>
</div></div>Not sure what to make of that..<br>
Those dmix &amp; dsnoop devices must be automatically generated for audio<br>
devices with hardware mixers..<br></blockquote><div> </div><div>I think that I have come to the conclusion that Ubuntu&#39;s method of sticking pulse in front of alsa is the problem and that tools like alsa-mixer and gnome-alsamixer are ignored and the pulse default is used.</div>

<div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><p>
<br>
Is your mythtv user a member of the audio group?</p><p> </p></blockquote><div>I didn&#39;t check it but would assume such due too being able to play old recordings. </div><div> </div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

<div>
&gt;<br>
&gt; The record test didn&#39;&#39;t do what I expected.  I tried it for all of<br>
&gt; fthe DEV numbers.  None of the recordings gave me sound but a couple<br>
&gt; gave I/O errors.  When I used the Ubuntu sound sttings tool and click<br>
&gt; on certain input us for the cared I hear the sound in the speakesr.<br>
<br>
</div>Sorry I assumed it was obvious that &quot;arecord ...file.wav&quot; was going to<br>
attempt to record from some device to a file.<br></blockquote><div> </div><div>It was obvious.  </div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">


<br>
Did you try to play the recorded wav file (not mythtv) with aplay?<br></blockquote><div> </div><div>I used VLC because I had it.   </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">


<div><div><br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>I think I know how to make Ubuntu do what I want it to do now.  It was a matter of figuring out what they were doing with pulse as the default sound system.  I didn&#39;t have time to fix it last night.</div>
<div class="gmail_extra"><br>Dave</div></div>