加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-hwdb-Allow-console-users-access-to-media-nodes.patch 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
From 920d0d1b14dfb94788a5b2794860cac583b982c3 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Tue, 26 Oct 2021 11:57:30 +0200
Subject: [PATCH] hwdb: Allow console users access to media* nodes
Newer webcams and video devices have controls only available through
/dev/media* nodes. Make sure they're accessible in the same way as
/dev/video* nodes.
Closes: #21054
(cherry picked from commit 63fbfc598f9f6d3ce34cc00a7687089dab24daff)
Conflict:NA
Reference:https://github.com/systemd/systemd/commit/920d0d1b14dfb94788a5b2794860cac583b982c3
---
src/login/70-uaccess.rules.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/login/70-uaccess.rules.in b/src/login/70-uaccess.rules.in
index 56e1087fef..1b6be82703 100644
--- a/src/login/70-uaccess.rules.in
+++ b/src/login/70-uaccess.rules.in
@@ -33,6 +33,7 @@ SUBSYSTEM=="sound", TAG+="uaccess", \
# Webcams, frame grabber, TV cards
SUBSYSTEM=="video4linux", TAG+="uaccess"
SUBSYSTEM=="dvb", TAG+="uaccess"
+SUBSYSTEM=="media", TAG+="uaccess"
# industrial cameras, some webcams, camcorders, set-top boxes, TV sets, audio devices, and more
SUBSYSTEM=="firewire", TEST=="units", ENV{IEEE1394_UNIT_FUNCTION_MIDI}=="1", TAG+="uaccess"
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化