[mythtv-users] (no subject)

Dave Matthews n36078 at gmail.com
Tue May 28 15:16:45 UTC 2013


On Tue, May 28, 2013 at 10:36 AM, Andrew Stadt <acstadt at stadt.ca> wrote:

> On 27/05/2013 1:17 PM, Dave Matthews wrote:
>
>> 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.
>>
>> May 27 10:31:42 htpc mythbackend[3160]: I TVRecEvent tv_rec.cpp:3989
>> (TuningNewRecorder) TVRec(1): rec->GetPathname():
>> '/var/lib/mythtv/recordings/**1110_20130527103200.nuv'
>> May 27 10:31:44 htpc mythbackend[3160]: E TVRecEvent
>> audioinputalsa.cpp:336 (AlsaBad) *AudioInALSA(default:CARD=**CA0106):
>> pcm open failed:* Invalid argument
>> 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
>> May 27 10:31:44 htpc mythbackend[3160]: E TVRecEvent
>> NuppelVideoRecorder.cpp:700 (Initialize) NVR(/dev/video0): Failed to init
>> audio input device
>> 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
>> May 27 10:31:44 htpc mythbackend[3160]: I Scheduler scheduler.cpp:2033
>> (HandleReschedule) Reschedule requested for id 0.
>> May 27 10:31:44 htpc mythbackend[3160]: E NVRAudio audioinputalsa.cpp:336
>> (AlsaBad) AudioInALSA(default:CARD=**CA0106): pcm open failed: Invalid
>> argument
>> 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
>> 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
>>
>> 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?
>>
>> 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.
>>
>> Dave
>>
>
> Just a shot in the dark here, is it possible the device name got changed
> in the upgrade?  What does 'aplay -L' show for available audio devices and
> are the permissions on the audio devices are correct?
>
> HTH,
>
> Andrew.
>
>
>
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'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'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.

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130528/d7cb8e5a/attachment.html>


More information about the mythtv-users mailing list