public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tiny-dfr] epel10: Backport upstream commit for backlight udev rule
Date: Fri, 25 Sep 2026 10:38:43 GMT [thread overview]
Message-ID: <179033272370.1.6104239428013486894.rpms-rust-tiny-dfr-91c75b6fe29b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-tiny-dfr
Branch : epel10
Commit : 91c75b6fe29bdf89161cddf11a9abcae130fed78
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2023-08-12T08:11:48-07:00
Stats : +22/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-tiny-dfr/c/91c75b6fe29bdf89161cddf11a9abcae130fed78?branch=epel10
Log:
Backport upstream commit for backlight udev rule
---
diff --git a/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch b/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch
new file mode 100644
index 0000000..cf18da1
--- /dev/null
+++ b/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch
@@ -0,0 +1,20 @@
+From cc50c3314c0ce748b1f9d3c22667f165b15e7b12 Mon Sep 17 00:00:00 2001
+From: Janne Grunau <j@jannau.net>
+Date: Sat, 12 Aug 2023 16:27:03 +0200
+Subject: [PATCH] udev: Add rule matching the backlight to let systemd ignore
+ it
+
+Signed-off-by: Janne Grunau <j@jannau.net>
+---
+ etc/udev/rules.d/99-touchbar-backlight.rules | 2 ++
+ 1 file changed, 2 insertions(+)
+ create mode 100644 etc/udev/rules.d/99-touchbar-backlight.rules
+
+diff --git a/etc/udev/rules.d/99-touchbar-backlight.rules b/etc/udev/rules.d/99-touchbar-backlight.rules
+new file mode 100644
+index 0000000..69d50e8
+--- /dev/null
++++ b/etc/udev/rules.d/99-touchbar-backlight.rules
+@@ -0,0 +1,2 @@
++# The backlight is managed by tiny-df. Tell systemd to leave it alone
++SUBSYSTEM=="backlight", KERNEL=="228200000.display-pipe.0", DRIVERS=="panel-summit", ENV{SYSTEMD_READY}="0"
diff --git a/rust-tiny-dfr.spec b/rust-tiny-dfr.spec
index 34c28ab..11ffc0f 100644
--- a/rust-tiny-dfr.spec
+++ b/rust-tiny-dfr.spec
@@ -13,6 +13,8 @@ URL: https://crates.io/crates/tiny-dfr
Source: %{crates_source}
# Actually use c_char instead of assuming it is the same as u8
Patch: https://github.com/WhatAmISupposedToPutHere/tiny-dfr/commit/f7e84ad69fa3754993e637850e5344702047b2de.patch
+# udev: Add rule matching the backlight to let systemd ignore it
+Patch: https://github.com/WhatAmISupposedToPutHere/tiny-dfr/commit/cc50c3314c0ce748b1f9d3c22667f165b15e7b12.patch
BuildRequires: rust-packaging >= 23
BuildRequires: systemd-rpm-macros
reply other threads:[~2026-09-25 10:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179033272370.1.6104239428013486894.rpms-rust-tiny-dfr-91c75b6fe29b@fedoraproject.org \
--to=dcavalca@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox