aboutsummaryrefslogtreecommitdiffci
path: root/root/tmp
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-09-09 10:02:15 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-09-09 10:02:15 +0700
commitf5552f1b55185dd198e023e55effc849eb7320a6 (patch)
tree93169d349b7a3f1c555196f862546d0bbbf3567d /root/tmp
parentbb65706952250de52b80f05cfa38b5777b6ebb04 (diff)
downloadkiwi-descriptions-f5552f1b55185dd198e023e55effc849eb7320a6.tar.gz
kiwi-descriptions-f5552f1b55185dd198e023e55effc849eb7320a6.zip
fix: disable ambient light sensor as it is outputting garbage
Diffstat (limited to 'root/tmp')
-rw-r--r--root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-als (renamed from root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button)2
-rw-r--r--root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/usr/local/share/selinux/iio-qipcrtr.te22
2 files changed, 12 insertions, 12 deletions
diff --git a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-als
index 1b69eab..ae14928 100644
--- a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-power-button
+++ b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/db/local.d/00-als
@@ -1,2 +1,2 @@
[org/gnome/settings-daemon/plugins/power]
-power-button-action='interactive'
+ambient-enabled=false
diff --git a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/usr/local/share/selinux/iio-qipcrtr.te b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/usr/local/share/selinux/iio-qipcrtr.te
index d92dc21..b3be8fb 100644
--- a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/usr/local/share/selinux/iio-qipcrtr.te
+++ b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/usr/local/share/selinux/iio-qipcrtr.te
@@ -1,16 +1,16 @@
module iio-qipcrtr 1.0;
-// Fedora's policy grants iiosensorproxy_t no qipcrtr_socket permissions at
-// all: the class exists but nothing allows it, because upstream
-// iio-sensor-proxy talks to sensors over IIO and never needed QRTR. The SSC
-// backend libssc brings in here reaches the Qualcomm Sensor Core over the
-// QRTR bus (libssc probes AF_QIPCRTR first; the fastrpc/hexagonrpcd path is
-// what actually serves this board, but the probe alone gets the daemon
-// killed by "QRTR bus unavailable" + "No sensors" without these perms).
-//
-// Hand-written rather than audit2allow'd per-incident: create/bind/... is
-// the full client lifecycle, so a policy reload or libssc update cannot
-// surface a new denied perm one at a time.
+# Fedora's policy grants iiosensorproxy_t no qipcrtr_socket permissions at
+# all: the class exists but nothing allows it, because upstream
+# iio-sensor-proxy talks to sensors over IIO and never needed QRTR. The SSC
+# backend libssc brings in here reaches the Qualcomm Sensor Core over the
+# QRTR bus (libssc probes AF_QIPCRTR first; the fastrpc/hexagonrpcd path is
+# what actually serves this board, but the probe alone gets the daemon
+# killed by "QRTR bus unavailable" + "No sensors" without these perms).
+#
+# Hand-written rather than audit2allow'd per-incident: create/bind/... is
+# the full client lifecycle, so a policy reload or libssc update cannot
+# surface a new denied perm one at a time.
require {
type iiosensorproxy_t;
class qipcrtr_socket { create bind connect read write getattr setattr getopt setopt shutdown };