[pulseaudio-discuss] [PATCH 0/3] Read HDMI ELD info and set a port property

David Henningsson david.henningsson at canonical.com
Fri Feb 15 04:42:12 PST 2013


So, I decided that I spent enough time complaini...I mean, reviewing, other people's
patches and I should probably go write something myself instead.

So here's some code to at least read the ELD info. It currently reads the
monitor name only and sets device.product.name on the port.

There's a bummer though. On the one machine I've tested this, the ELD is not
immediately available, so hotplugging doesn't work. It also looks like there's no
event being sent out from the kernel when ELD has become available, so we probably
need to add some kind of timer - but I'm not sure exactly what time ranges should
work for all machines. Pierre, do you know?

David Henningsson (3):
  alsa-util: Add a function to read ELD info
  alsa-mixer: Add possibility to configure ELD device
  alsa-card: Make ELD monitor name a port property

 src/modules/alsa/alsa-mixer.c                   |    3 ++
 src/modules/alsa/alsa-mixer.h                   |    1 +
 src/modules/alsa/alsa-util.c                    |   55 +++++++++++++++++++++++
 src/modules/alsa/alsa-util.h                    |    7 +++
 src/modules/alsa/mixer/paths/hdmi-output-0.conf |    1 +
 src/modules/alsa/mixer/paths/hdmi-output-1.conf |    1 +
 src/modules/alsa/mixer/paths/hdmi-output-2.conf |    1 +
 src/modules/alsa/mixer/paths/hdmi-output-3.conf |    1 +
 src/modules/alsa/module-alsa-card.c             |   33 ++++++++++++++
 9 files changed, 103 insertions(+)

-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list