Repository navigation
Prompt when a hot-plugged Thunderbolt device needs authorization (dock USB stays silently dead) #12508
s-gato
started this conversation in
Suggestions
Replies: 1 comment
|
Working implementation is up as #12510 — same explicit per-device stance agreed in #934 (no auto-authorize anywhere), built on the existing |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The gap
Omarchy ships
boltand early-loads thethunderboltmodule (#1894), so docks connected at boot work great. But when a Thunderbolt device is hot-plugged while BIOS security is atuser(orsecure), it connects at the protocol level while PCIe/USB tunneling stays blocked until explicit authorization. The user-visible result is confusing: charging and external displays work fine, while every USB port on the dock is silently dead — no prompt, no visible hint. GNOME and KDE ship an authorization agent that pops a dialog; a Hyprland/quickshell setup has nothing, soboltctl enrollhas to be discovered by hand (see #984 — same confusion, resolved with manual steps; I hit the identical wall this week).Why not auto-authorize
#934 proposed a udev rule that authorizes every TB device and was closed over the DMA-exposure concern — agreed, that line should stand. This suggestion keeps authorization explicit and per-device.
Proposal
A small opt-in prompt built from Omarchy's own building blocks:
/sys/bus/thunderbolt/devices+ timer backstop) runs a check script whenever the device tree changes.omarchy-notification-send -u criticalwith--exec, which opens agum choosereviewer: Authorize for this session / Authorize permanently (enroll) / Skip, drivingboltctl.~/.local/state/omarchy/toggles/silences it, same pattern as crash-watch.I've been running exactly this locally (ThinkPad X390 + TB3 dock):
boltctl forget→ replug → notification → click → enroll → dock USB back, verified end to end. Happy to shape it into a PR if there's interest.References: #934 (auto-authorize rejected), #1893 / #1894 (bolt + early module), #984 (same confusion, manual workaround).
All reactions