I can confirm that the bug still exists. Late May download of 12.04 and install of MythTV from packages. Card was CA0106 but problem also happened with internal sound card and usb X-Fi. Symptom was no sound on recordings and bad parameter message in mythbackend.log.
Adding PULSE_INTERNAL=1 to startup script fixed it. -- You received this bug notification because you are a member of Mythbuntu Bug Team, which is subscribed to mythtv in Ubuntu. https://bugs.launchpad.net/bugs/633452 Title: MythTV Backend fails to record audio, due to PulseAudio Status in “mythtv” package in Ubuntu: Confirmed Bug description: Binary package hint: mythtv I have my MythTV backend set up to record audio directly from an ALSA device provided by my capture card. Most attempts to record produce the following errors in mythbackend.log: 2010-09-08 11:42:36.208 AudioInALSA(tuner) Error: pcm open failed: Device or resource busy 2010-09-08 11:42:36.401 NVR(/dev/tuner/video) Error: Failed to open audio device ALSA:tuner 2010-09-08 11:42:36.459 NVR(/dev/tuner/video) Error: Failed to init audio input device I have determined that this is due pulse's support for re-routing ALSA access to the pulseaudio daemon. This behavior doesn't make much sense for the MythTV backend, since pulseaudio is a user-level daemon by default and mythbackend is system-wide and should work even when no users are logged in. Therefore it's best to bypass pulseaudio in mythbackend. The environment variable PULSE_INTERNAL can do that. If mythbackend is started with PULSE_INTERNAL=1 in its environment, the problem goes away and it records sound successfully every time. What I'm doing right now is I edited /etc/init/mythtv-backend.conf and replaced exec /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log --user mythtv with script PULSE_INTERNAL=1 exec /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log --user mythtv end script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/633452/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mythbuntu-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~mythbuntu-bugs More help : https://help.launchpad.net/ListHelp

