hwdb: Allow console users access to rfkill
authorBastien Nocera <hadess@hadess.net>
Thu, 2 Dec 2021 12:15:44 +0000 (13:15 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Apr 2022 16:13:45 +0000 (18:13 +0200)
This rule has been shipped in Fedora's gnome-bluetooth package for 10
years and is used by the gnome-settings-daemon rfkill plugin (used by
gnome-bluetooth, gnome-shell, and gnome-control-center) to monitor
and change software rfkill switch settings.

(cherry picked from commit 213455e26a6e7fc7a84749474fe906c2a145babe)

src/login/70-uaccess.rules.in

index 2e29846e113518a10cafe04d5c6e7480d89799c0..052194b6c935bbba23f152b74f374628e5f32001 100644 (file)
@@ -84,4 +84,7 @@ ENV{ID_MAKER_TOOL}=="?*", TAG+="uaccess"
 # Protocol analyzers
 ENV{ID_SIGNAL_ANALYZER}=="?*", ENV{DEVTYPE}=="usb_device", TAG+="uaccess"
 
+# rfkill / radio killswitches
+KERNEL=="rfkill", SUBSYSTEM=="misc", TAG+="uaccess"
+
 LABEL="uaccess_end"