<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 10:36 AM, Andrew Stadt <span dir="ltr">&lt;<a href="mailto:acstadt@stadt.ca" target="_blank">acstadt@stadt.ca</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">On 27/05/2013 1:17 PM, Dave Matthews 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">
I am running MythTV 0.25 on Ubuntu. The machine had a failed upgrade to 12.04 from 11.something and would not boot. A fresh install of 12.04 was done to a new drive and the database and recording directories brought over from the old drive. OTA recoding works fine. I also use a V4L analog input for a feed out of my satellite receiver. I get video recorded but not audio. Troubleshooting I find this in the mythtvbackend.log file.<br>

<br>
May 27 10:31:42 htpc mythbackend[3160]: I TVRecEvent tv_rec.cpp:3989 (TuningNewRecorder) TVRec(1): rec-&gt;GetPathname(): &#39;/var/lib/mythtv/recordings/<u></u>1110_20130527103200.nuv&#39;<br>
May 27 10:31:44 htpc mythbackend[3160]: E TVRecEvent audioinputalsa.cpp:336 (AlsaBad) *AudioInALSA(default:CARD=<u></u>CA0106): pcm open failed:* Invalid argument<br>
May 27 10:31:44 htpc mythbackend[3160]: E TVRecEvent NuppelVideoRecorder.cpp:772 (AudioInit) NVR(/dev/video0): Failed to open audio device ALSA:default:CARD=CA0106<br>
May 27 10:31:44 htpc mythbackend[3160]: E TVRecEvent NuppelVideoRecorder.cpp:700 (Initialize) NVR(/dev/video0): Failed to init audio input device<br>
May 27 10:31:44 htpc mythbackend[3160]: N Scheduler autoexpire.cpp:263 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min<br>
May 27 10:31:44 htpc mythbackend[3160]: I Scheduler scheduler.cpp:2033 (HandleReschedule) Reschedule requested for id 0.<br>
May 27 10:31:44 htpc mythbackend[3160]: E NVRAudio audioinputalsa.cpp:336 (AlsaBad) AudioInALSA(default:CARD=<u></u>CA0106): pcm open failed: Invalid argument<br>
May 27 10:31:44 htpc mythbackend[3160]: E NVRAudio NuppelVideoRecorder.cpp:2380 (doAudioThread) NVR(/dev/video0): Failed to open audio device ALSA:default:CARD=CA0106<br>
May 27 10:31:44 htpc mythbackend[3160]: I Scheduler scheduler.cpp:2093 (HandleReschedule) Scheduled 2 items in 0.2 = 0.00 match + 0.21 place<br>
<br>
This is the parameter that was in place for years on the old installation.  The CA0106 is a soundblaster PCI card. Something has changed in 12.04.  How should I adjust the parameter so Mythtv gets the right sound input device?<div class="im">
<br>
Alternatively - where can I get the 0.25 sources so that I figure out what is being called?  Google found 0.26 and 0.27pre but not the 0.25.<br>
<br></div>
Dave<br>
</blockquote><p>
<br>
Just a shot in the dark here, is it possible the device name got changed in the upgrade?  What does &#39;aplay -L&#39; show for available audio devices and are the permissions on the audio devices are correct?<br>
<br>
HTH,<br>
<br>
Andrew.</p><p> </p></blockquote><div>I think I have it figured out.  Ubuntu switched to Pulseaudio being the default and that is what is causing the grief.   They have a device picker that was conflicting with gnome-alsamixer.  I didn&#39;t realize that I was turning things on and off in alsa with their GUI tool that I was using to look at the sound system.  Would it have been so difficult to get the state of the sound system at app startup and indicate which devices were set as default?  I found this by ripping the soundblaster out of the machine and trying to set up with the internal card (simplify the system to troubleshoot).  The plan for tonight is to put the soundblaster back in and use the Ubuntu Sound Settings tool to pick the correct input and output devices.  Then I will set up MythTV to use either the default alsa devices or to use pulse.  If that doesn&#39;t work I will download Debian and dump Ubuntu.  It used to work so well until they decided to go off into never never land and try to emulate Apple.</div>
<div><br>Dave</div></div><br></div></div>