commit bd1590c982d967891b5680cb8b74002a17f1a342
parent ca007685f6d905b9bab2f79de48e1d5f1f84cd1e
Author: macmpi <spam@ipik.org>
Date: Thu, 16 Mar 2023 10:20:46 +0100
add-in remaining VideoCore VC4 devices in video group
vchiq driver creates several devices:
/dev/vchiq
/dev/vcio
/dev/vcsm-cma
/dev/vc-mem
Let's set them in video group so that users from that group can use them with video/graphics related apps.
This translates 10-local-rpi.rules found in libraspberrypi0 PiOS package
KERNEL=="vchiq", GROUP="video", MODE="0660"
SUBSYSTEM=="vc-sm", GROUP="video", MODE="0660"
KERNEL=="vcio", GROUP="video", MODE="0660"
ref: https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-userland/libraspberrypi0_2+git20220616~133208+6e8f786-1_armhf.deb
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/mdev.conf b/mdev.conf
@@ -21,7 +21,13 @@ console root:tty 0600
# load frambuffer console when first frambuffer is found
fb0 root:video 0660 @modprobe -q -b fbcon
+
+# VideoCore VC4 BCM GPU specific (as in Pi devices)
vchiq root:video 0660
+vcio root:video 0660
+vcsm-cma root:video 0660
+vc-mem root:video 0660
+
fd0 root:floppy 0660
kmem root:root 0640