Skip to content

Draft: info: add display device id API

Pekka Paalanen requested to merge pq/libdisplay-info:mr/device-id into main

Display servers need to be able to identify a monitor regardless of which port it happens to be connected to. This new API offers the key to do that.

Add new API to create a string as specified. New API is required because I want libdisplay-info to reserve the right to change what get_make(), get_model() and get_serial() may return (e.g. prefer DisplayID blob over EDID blob) without breaking configuration keys a user may have stored. When DisplayID becomes supported, the new function wants to maintain backward compatibility.

For the above reasons, the implementation does not rely on calling get_make() etc. but depends only on the low-level API.


This is a draft, because it is missing projects that want to use it.

I think Weston would use this if it had a monitor-based output configuration, but so far it has only connector-based output configuration, and I don't know when the former would be added.

Merge request reports

Loading