I have just verified both: bionic (15.04.1+18.04.20180413-0ubuntu1.2) and cosmic (15.04.1+18.04.20180413-0ubuntu3) u-s-d packages.
In both cases it calculates the diagonal correctly or puts the model name if the real dimensions are not available.
However, there is a problem I didn't see coming: hwdata is not installed by default on bionic & cosmic, so the PNP codes are not resolved to vendor names, e.g. u-s-d returned DEL for Dell and GSM for LG Electronics.
What are your thoughts on this Seb? Is it worth pulling in hwdata as dependency of u-s-d?
It's clearly safer than changing the implementation to use systemd's hwdb.
I have just verified both: bionic (15.04. 1+18.04. 20180413- 0ubuntu1. 2) and cosmic (15.04. 1+18.04. 20180413- 0ubuntu3) u-s-d packages.
In both cases it calculates the diagonal correctly or puts the model name if the real dimensions are not available.
However, there is a problem I didn't see coming: hwdata is not installed by default on bionic & cosmic, so the PNP codes are not resolved to vendor names, e.g. u-s-d returned DEL for Dell and GSM for LG Electronics.
What are your thoughts on this Seb? Is it worth pulling in hwdata as dependency of u-s-d?
It's clearly safer than changing the implementation to use systemd's hwdb.