The file libcinnamon-desktop/pnp.ids is an HTML file, most probably the result of a downloading script with an outdated URL. Hence, unless the pnp_ids meson option with a path is specified, libcinnamon-desktop will attempt to use a broken file.
This opens a slightly bigger discussion: considering that
pnp.ids is provided by hwdata which is widely available in Linux (and not only) distros (see https://repology.org/project/hwdata/versions)
libcinnamon-desktop/gnome-pnp-ids.c has some sort of fallback list of vendors to use in case it is not found in pnp.ids: I see few that are not even in recent pnp.ids
my ideas are the following:
- require a system version of
pnp.ids, either by mandating the use of the pnp_ids meson option or having a list of predefined locations (e.g. /usr/share/hwdata/pnp.ids) where to look for
- drop the own
pnp.ids file from the sources, along with the logic to install it and use it from the own datadir
- trim (or even drop) the own list of vendors in
gnome-pnp-ids.c
What do you think?
The file
libcinnamon-desktop/pnp.idsis an HTML file, most probably the result of a downloading script with an outdated URL. Hence, unless thepnp_idsmeson option with a path is specified, libcinnamon-desktop will attempt to use a broken file.This opens a slightly bigger discussion: considering that
pnp.idsis provided by hwdata which is widely available in Linux (and not only) distros (see https://repology.org/project/hwdata/versions)libcinnamon-desktop/gnome-pnp-ids.chas some sort of fallback list of vendors to use in case it is not found inpnp.ids: I see few that are not even in recentpnp.idsmy ideas are the following:
pnp.ids, either by mandating the use of thepnp_idsmeson option or having a list of predefined locations (e.g./usr/share/hwdata/pnp.ids) where to look forpnp.idsfile from the sources, along with the logic to install it and use it from the own datadirgnome-pnp-ids.cWhat do you think?