[pulseaudio-discuss] Better naming for HDMI/DisplayPort
David Henningsson
david.henningsson at canonical.com
Mon Mar 23 23:42:49 PDT 2015
On 2015-03-23 18:47, Arun Raghavan wrote:
> On 23 March 2015 at 23:15, Tanu Kaskinen <tanu.kaskinen at linux.intel.com> wrote:
>> On Wed, 2015-03-18 at 21:02 +0100, David Henningsson wrote:
>>> I came across this link [1], where they test a Thunderbolt connection
>>> and finds it to show up as "HDMI/Displayport 2". Maybe
>>> "HDMI/DisplayPort/Thunderbolt 2" is too long, so we should perhaps come
>>> up with something better. E g, how about "Video Link 2"?
>>
>> Is it terribly hard to actually get the link type, so that we could
>> accurately say whether it's HDMI, DisplayPort or Thunderbolt? If yes,
>> then "Video Link" sounds pretty good to me.
>
> From dmidecode on my Thinkpad x240:
>
> Handle 0x0018, DMI type 8, 9 bytes
> Port Connector Information
> Internal Reference Designator: Not Available
> Internal Connector Type: None
> External Reference Designator: Mini DisplayPort
> External Connector Type: Other
> Port Type: Video Port
>
> I wonder if this could be one avenue to pull this information.
I doubt it; not only does dmidecode require root permissions, but also
there's the problem of matching in case there is more than one port.
To solve the first problem, maybe the kernel driver could make use of
the DMI information and create jack kctls with a suitable name, or
expose the info some other way...that said, maybe it is better to get
the same info from the video driver.
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
More information about the pulseaudio-discuss
mailing list