summaryrefslogtreecommitdiff
path: root/debian/patches/add-configs-for-v4l2loopback-and-cheese.patch
blob: 5c616df4c4c295d5b6487647539f443c4807f05b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Commercial Engineering <[email protected]>
Date: Mon, 21 Aug 2023 22:13:27 +0800
Subject: add-configs-for-v4l2loopback-and-cheese

---
 data/72-intel-mipi-ipu6-camera.rules | 2 ++
 data/v4l2-relayd.conf                | 1 +
 2 files changed, 3 insertions(+)
 create mode 100644 data/72-intel-mipi-ipu6-camera.rules
 create mode 100644 data/v4l2-relayd.conf

--- /dev/null
+++ b/data/72-intel-mipi-ipu6-camera.rules
@@ -0,0 +1,2 @@
+# Remove the 'uaccess' tag from ipu6 video4linux devices to avoid the application like Cheese seeing them.
+SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}=="ipu6", TAG-="uaccess"
--- /dev/null
+++ b/data/v4l2-relayd.conf
@@ -0,0 +1 @@
+options v4l2loopback devices=2 exclusive_caps=1,1 card_label="Intel MIPI Camera,Intel MIPI Camera Front"
--- /dev/null
+++ b/data/72-intel-mipi-ipu7-camera.rules
@@ -0,0 +1,2 @@
+# Remove the 'uaccess' tag from ipu7 video4linux devices to avoid the application like Cheese seeing them.
+SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}=="ipu7", TAG-="uaccess"