On 03/16/2012 04:03 PM, Andres Cimmarusti wrote:
Hello again, On Sat, Mar 3, 2012 at 9:43 PM, David Henningsson <david.henningsson@canonical.com> wrote:On 03/04/2012 12:36 AM, Andres Cimmarusti wrote:There is active work going on in this area. In fact, I just posted a patch to the PA mailinglist [1]. And yes, we already have it in Ubuntu 11.10 (to probe multiple hdmi devices for Intel and NVidia), and the main reason it took until now to upstream that patch, was the decision to switch jack detection method from input devices to kcontrols.Thank you for all the references you provided and your work in fixing this issue for all users. I just looked at the git repository for the source code of pulseaudio, but I see your patches have not been included yet. Do you have any estimate of when they will be merged? if so, do you think they'll be included in the next release (do you know when this will be?) ?I hope they'll be in PulseAudio 2.0, as they are currently waiting for review. For next release, see [2], but judging from the PulseAudio 1.0 release process - no, I don't know when this will be ;-)I'm considering reassigning this bug to pulseaudio in debian and asking them to include the appropriate patches. Which ones would actually be needed (say, to apply them to pulseaudio 1.1)? would your 6 patches announced on the mailing list in February be enough?If you want them to apply to PulseAudio 1.1, you can have a look at [1]. The patches currently posted apply to git head. You'll need all of the 06* patches (as well as Linux 3.3 for the kcontrols).It looks like your patches have been merged: http://cgit.freedesktop.org/pulseaudio/pulseaudio/log/
That is correct.
(but correct me if I'm wrong). However, I think Debian has decided to go with 3.2 kernel for the next stable release. This means no kcontrols. How is this being handled in Ubuntu 12.04 LTS, since it will also be based on kernel 3.2
For Ubuntu 12.04, I've backported the jack detection patches from 3.3 and applied them to the Ubuntu 12.04 LTS kernel.
A more light-weight version could be what I did in Ubuntu 11.04, where there was no jack detection, but I just exposed all four devices in PulseAudio and let the user choose manually, like this [4]. (I later renamed that file from "nvidia.conf" to "extra-hdmi.conf", and added the same file to be used for Intel chips.)Can this still be done in the scenario were Debian has pulseaudio 2.0 with your patches, but kernel 3.2? Sorry for the basic questions. I just found out that the release of pulseaudio 2.0 is imminentand I want to push for its adoption in Debian, but with a fix for this HDMI issue.
So, with PA 2.0 but without jack detection support in the kernel, you would essentially get three or four HDMI devices showing up in your GUI, and the user would have to try them all manually to check which one is the right one. So, better than changing PA configuration files, but not as elegant as with the jack detection (where the right one is selected automatically), of course.
-- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic