<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"><<a href="mailto:blm-ubunet@slingshot.co.nz" target="_blank">blm-ubunet@slingshot.co.nz</a>></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>
><br>
><br>
><br>
><br>
> On Mon, May 27, 2013 at 3:52 PM, HP-mini <<a href="mailto:blm-ubunet@slingshot.co.nz" target="_blank">blm-ubunet@slingshot.co.nz</a>><br>
> wrote:<br>
> On Mon, 2013-05-27 at 14:08 -0400, Dave Matthews wrote:<br>
> > Let try this with a subject.<br>
> ><br>
> > Also - the machine upgraded from MythTV 0.24 to 0.25 when<br>
> the Ubuntu<br>
> > upgrade happened.<br>
><br>
><br>
> > This is the parameter that was in place for years on the old<br>
> > installation. The CA0106 is a soundblaster PCI card.<br>
> Something has<br>
> > changed in 12.04. How should I adjust the parameter so<br>
> Mythtv gets<br>
> > the right sound input device?<br>
><br>
><br>
><br>
> Have you tried re-scanning audio devices in FE setup?<br>
> (I'm guessing that this scans input devices as well)<br>
> Try doing that scan with FE started with logging into<br>
> terminal..<br>
><br>
</div>I still believe that after any upgrade you should rescan the audio<br>
devices in FE setup & 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>
> Can try a test with varied listed "arecord -L" devices<br>
> arecord -D hw:CARD=CA0106 -r 48000 -f S16_LE -c 2 -d 5 -t wav<br>
> test.wav<br>
<br>
><br>
</div><div>> The rescan picks up the card as multiple devices. I tried them<br>
> yesterday by adding ,DEV=n to the input device name yesterday with no<br>
> change. The scan has lots of invalid argument messages.<br>
><br>
><br>
</div>I was not suggesting to edit the returned devices..<br></blockquote><div>I wasn'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>
> Snip of FE setup<br>
> htpc@htpc:/usr/bin$ mythfrontend<br>
> - clipped<br>
> 2013-05-27 16:58:23.296609 I MythCoreContext: Connecting to backend<br>
> server: <a href="http://192.168.1.6:6543" target="_blank">192.168.1.6:6543</a> (try 1 of 1)<br>
> 2013-05-27 16:58:23.297619 I Using protocol version 72<br>
> 2013-05-27 16:58:23.339962 I Bonjour: Service registration complete:<br>
> name 'Mythfrontend on htpc' type '_mythfrontend._tcp.' domain:<br>
> 'local.'<br>
> 2013-05-27 16:58:38.404682 E ALSA: snd_pcm_info_get_card: Operation<br>
> not permitted<br>
> 2013-05-27 16:58:38.705783 I Pulse: PulseAudio suspend OK<br>
> 2013-05-27 16:58:38.862827 E ALSA: snd_pcm_info_get_card: Operation<br>
> not permitted<br>
> ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
> 2013-05-27 16:58:39.153130 E ALSA:<br>
> snd_pcm_open("dmix:CARD=CX8801,DEV=0"): No such file or directory<br>
> ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> 2013-05-27 16:58:39.243846 E ALSA:<br>
> snd_pcm_open("dmix:CARD=NVidia,DEV=2"): No such file or directory<br>
> 2013-05-27 16:58:39.251421 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=0"): Invalid argument<br>
> 2013-05-27 16:58:39.259085 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=1"): Invalid argument<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> 2013-05-27 16:58:39.266721 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=2"): Invalid argument<br>
> 2013-05-27 16:58:39.274741 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=3"): Invalid argument<br>
> 2013-05-27 16:58:39.283644 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CX8801,DEV=0"): Invalid argument<br>
> 2013-05-27 16:58:39.291096 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=NVidia,DEV=0"): Invalid argument<br>
> 2013-05-27 16:58:39.298564 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=NVidia,DEV=1"): Invalid argument<br>
> 2013-05-27 16:58:39.305576 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=NVidia,DEV=2"): Invalid argument<br>
> 2013-05-27 16:58:39.565937 E ALSA:<br>
> snd_pcm_open("hw:CARD=CX8801,DEV=0"): No such file or directory<br>
> 2013-05-27 16:58:39.654881 E ALSA:<br>
> snd_pcm_open("hw:CARD=NVidia,DEV=2"): No such file or directory<br>
> 2013-05-27 16:58:39.913919 E ALSA:<br>
> snd_pcm_open("plughw:CARD=CX8801,DEV=0"): No such file or directory<br>
> 2013-05-27 16:58:40.004756 E ALSA:<br>
> snd_pcm_open("plughw:CARD=NVidia,DEV=2"): No such file or directory<br>
> 2013-05-27 16:58:40.013547 E ALSA: snd_pcm_info_get_card: Operation<br>
> not permitted<br>
> 2013-05-27 16:58:40.604895 E ALSA:<br>
> snd_pcm_open("sysdefault:CARD=CX8801"): No such file or directory<br>
> 2013-05-27 16:58:41.010641 I Pulse: PulseAudio resume OK<br>
> 2013-05-27 16:58:47.019054 I Pulse: PulseAudio suspend OK<br>
> 2013-05-27 16:58:47.175943 E ALSA: snd_pcm_info_get_card: Operation<br>
> not permitted<br>
> ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
> 2013-05-27 16:58:47.563550 E ALSA:<br>
> snd_pcm_open("dmix:CARD=CX8801,DEV=0"): No such file or directory<br>
> ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> 2013-05-27 16:58:47.733510 E ALSA:<br>
> snd_pcm_open("dmix:CARD=NVidia,DEV=2"): No such file or directory<br>
> 2013-05-27 16:58:47.747357 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=0"): Invalid argument<br>
> 2013-05-27 16:58:47.761113 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=1"): Invalid argument<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> ALSA lib pcm_dsnoop.c:551:(snd_pcm_dsnoop_open) The dsnoop plugin<br>
> supports only capture stream<br>
> 2013-05-27 16:58:47.777301 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=2"): Invalid argument<br>
> 2013-05-27 16:58:47.791246 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CA0106,DEV=3"): Invalid argument<br>
> 2013-05-27 16:58:47.804729 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=CX8801,DEV=0"): Invalid argument<br>
> 2013-05-27 16:58:47.819927 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=NVidia,DEV=0"): Invalid argument<br>
> 2013-05-27 16:58:47.833686 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=NVidia,DEV=1"): Invalid argument<br>
> 2013-05-27 16:58:47.849303 E ALSA:<br>
> snd_pcm_open("dsnoop:CARD=NVidia,DEV=2"): Invalid argument<br>
> 2013-05-27 16:58:48.124812 E ALSA:<br>
> snd_pcm_open("hw:CARD=CX8801,DEV=0"): No such file or directory<br>
> 2013-05-27 16:58:48.220098 E ALSA:<br>
> snd_pcm_open("hw:CARD=NVidia,DEV=2"): No such file or directory<br>
> 2013-05-27 16:58:48.486852 E ALSA:<br>
> snd_pcm_open("plughw:CARD=CX8801,DEV=0"): No such file or directory<br>
> 2013-05-27 16:58:48.576768 E ALSA:<br>
> snd_pcm_open("plughw:CARD=NVidia,DEV=2"): No such file or directory<br>
> 2013-05-27 16:58:48.585301 E ALSA: snd_pcm_info_get_card: Operation<br>
> not permitted<br>
> 2013-05-27 16:58:49.178353 E ALSA:<br>
> snd_pcm_open("sysdefault:CARD=CX8801"): No such file or directory<br>
> 2013-05-27 16:58:49.522759 I Pulse: PulseAudio resume OK<br>
> 2013-05-27 16:58:56.054864 I Received remote 'Clear Cache' request<br>
> 2013-05-27 16:58:59.469800 I Bonjour: De-registering service<br>
> '_mythfrontend._tcp.' on 'Mythfrontend on htpc'<br>
> 2013-05-27 16:58:59.470311 I RAOP Device: Cleaning up.<br>
> 2013-05-27 16:58:59.470342 I AirPay: Cleaning up.<br>
> 2013-05-27 16:58:59.470371 I Pulse: Cleaning up PulseHandler<br>
> 2013-05-27 16:58:59.470640 I Deleting UPnP client...<br>
> 2013-05-27 16:59:00.302544 I Waiting for threads to exit.<br>
> htpc@htpc:/usr/bin$<br>
><br>
><br>
</div></div>Not sure what to make of that..<br>
Those dmix & 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'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'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>
><br>
> The record test didn''t do what I expected. I tried it for all of<br>
> fthe DEV numbers. None of the recordings gave me sound but a couple<br>
> gave I/O errors. When I used the Ubuntu sound sttings tool and click<br>
> on certain input us for the cared I hear the sound in the speakesr.<br>
<br>
</div>Sorry I assumed it was obvious that "arecord ...file.wav" 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't have time to fix it last night.</div>
<div class="gmail_extra"><br>Dave</div></div>