Created attachment 560872 [details] Ebuild that applies the patch and also uses hwids kinfocenter does not show the USB devices correctly and also has an old usb.ids.It only shows some of the devices below the hosts.
Created attachment 560874 [details, diff] Patch for correcting the usb listing and also uses the usb.ids from the hwids package
This patch was upstreamed but the change to use the usb.ids only applies to gentoo.
Thanks! Maybe this should be rather configurable at build time... (In reply to Alexandre Ferreira from comment #2) > This patch was upstreamed Where did that happen?
The bug is posted at https://phabricator.kde.org/D18032
The patch is also upstreamed there.
(In reply to Alexandre Ferreira from comment #2) > This patch was upstreamed but the change to use the usb.ids only applies to > gentoo. You could send a patch to upstream which does the following: ... QString db = QStringLiteral("/usr/share/hwdata/usb.ids"); /* on Fedora and Arch*/ if (!QFile::exists(db)) { db = QStringLiteral("/usr/share/misc/usb.ids"); /* on Gentoo*/ } if (!QFile::exists(db)) { ...
Added the suggested code. Thanks for the suggestion.
Fixed upstream, it will appear on 5.15.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c1bb46080526515247b5184547a9360cefd6bd commit b5c1bb46080526515247b5184547a9360cefd6bd Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-01-13 22:18:23 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-01-16 08:16:56 +0000 kde-plasma/kinfocenter: Fix USB device IDs w/ correct path to hwids See also: https://bugs.kde.org/show_bug.cgi?id=402949 Thanks-to: Alexandre Ferreira <alexandref75@gmail.com> Closes: https://bugs.gentoo.org/675350 Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/kinfocenter-5.14.5-hwids.patch | 52 ++++++++++ .../kinfocenter/kinfocenter-5.14.5-r1.ebuild | 105 +++++++++++++++++++++ 2 files changed, 157 insertions(+)