aboutsummaryrefslogtreecommitdiff
path: root/sysconf/97-libcamera.rules
diff options
context:
space:
mode:
Diffstat (limited to 'sysconf/97-libcamera.rules')
-rw-r--r--sysconf/97-libcamera.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconf/97-libcamera.rules b/sysconf/97-libcamera.rules
new file mode 100644
index 0000000..d92e2b4
--- /dev/null
+++ b/sysconf/97-libcamera.rules
@@ -0,0 +1,5 @@
+# This rule grants the `video` group access to GPIO the `dma_heap` subsystem.
+# This facilitates video streaming using the Raspberry Pi camera module.
+SUBSYSTEM=="dma_heap",KERNEL=="linux*",GROUP="video",MODE="0660"
+SUBSYSTEM=="dma_heap",KERNEL=="reserved",GROUP="video",MODE="0660"
+SUBSYSTEM=="dma_heap",KERNEL=="system",GROUP="video",MODE="0660"