Bug 23917

Summary: no thunderbolt support in Cauldron userspace (thunderbolt security settings)
Product: Mageia Reporter: Christian Lohmaier <lohmaier+mageia>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, kernel, marja11, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: https://ml.mageia.org/l/arc/dev/2018-11/msg00020.html
Whiteboard:
Source RPM: CVE:
Status comment:

Description Christian Lohmaier 2018-11-28 12:16:11 CET
not sure whether it is just a configuration issue in the default
installation, but my Mageia Cauldron system doesn't seem to support
thunderbolt.

gnome's setting for thunderbolt claims no thunderbolt support.
(Either not supported or disabled in bios or set to an unsupported
security setting in bios.)

Tried the same with a Fedora live image, and that has no problem with
my system or its bios settings.
But just to be sure I set my bios to legacy / no security and still no
cigar with Mageia.

Since I don't have any actual thunderbolt devices, I can force-init it by
# echo 1 > /sys/devices/platform/PNP0C14:00/wmi_bus/wmi_bus-PNP0C14:00/*/force_power

and that successfully initializes thunderbolt / creates
/sys/bus/thunderbolt accordingly, but still same error message in
gnome settings...

Fedora uses https://gitlab.freedesktop.org/bolt/bolt as their
connection/security userspace management tool and doesn't require
commandline.

So is there something missing in my installation, or is thunderbolt
just not supported in Mageia?
(at least not with desktop support/you have to do all auth with
commandline yourself)

For reference: the above was reported to the mageia mailinglist but didn't receive any reply, also not after a poke 11 days after initial poke. 
https://ml.mageia.org/l/arc/dev/2018-11/msg00020.html
Comment 1 Marja Van Waes 2018-11-29 08:53:41 CET
Should this be assigned to ldetect, or to the kernel, or???

I had never heard of Thunderbolt before /o\

CC: (none) => kernel, marja11, thierry.vignaud

Comment 2 David GEIGER 2018-11-29 12:01:23 CET
Hi, latest bolt 0.6 is now imported to Cauldron.

But for now I don't know if this package should be required by anything!

CC: (none) => geiger.david68210

Comment 3 Christian Lohmaier 2018-11-29 17:55:42 CET
Thanks! - installing bolt made gnome control center happy and no longer claims that I wouldn't have no thunderbolt hw or wrong bios setting \o/

While I also don't think it should be /required/ by another package, I think gnome-control-center should suggest it/have a soft-dependency on it (that's where the settings are exposed to the user). Or alternatively on gnome-shell, as that's what will show a popup/prompt when a device is plugged in  – no difference in result really, as gnome-shell requires gnome-control-center.

I don't think KDE/Plasma has UI support yet, so nothing to do there (at least the tickets are still open):
* "Thunderbolt 3 Security Plasma Integration"
  https://phabricator.kde.org/T9012 
* "Missing UI for Thunderbolt 3 Security Settings"
  https://bugs.kde.org/show_bug.cgi?id=395304
Comment 4 David GEIGER 2018-11-29 18:10:44 CET
So adding a recommends into gnome-control-center package (like fedora).
Comment 5 David GEIGER 2018-11-29 20:03:09 CET
Also gnome-shell recommends it.
Comment 6 David GEIGER 2018-12-02 13:16:20 CET
Closing this bud as Fixed!

Status: NEW => RESOLVED
Resolution: (none) => FIXED