Closed OjaswinM closed 2 years ago
This should already be sorted. https://github.com/RPi-Distro/firmware/commit/cf341dbe355e4b5f60fbb150d61298c5e946547c
$ cat /lib/udev/rules.d/10-local-rpi.rules
KERNEL=="vchiq", GROUP="video", MODE="0660"
SUBSYSTEM=="vc-sm", GROUP="video", MODE="0660"
SUBSYSTEM=="bcm2708_vcio", GROUP="video", MODE="0660"
Ahh, never though it would be in a .patch file in the firmware repo haha. Anyways thanks for the update!
Hello,
Recently, there was change in the vchiq_arm staging driver in the mainline linux kernel. The patch is present here: https://lore.kernel.org/linux-staging/20210907115045.2206083-1-gregkh@linuxfoundation.org/#r
The above link can be followed for more details, but in short, the vchiq cdev now uses the miscdevice interface to register itself. This makes the udev rule for the vchiq cdev to break resulting in the following behavior:
In the Pi OS distro I'm testing with, the rule in question is defined at
/lib/udev/rules.d/10-local-rpi.rules
as follows:I was able to fix this by modifying the rule as follows:
I tested this with and without this patch and it works as expected.
So, I was looking to send a PR/patch to the repo which holds these rules for Pi OS, but unfortunately, I can't seem to find it. I tried to check the udev rules here [1] but can't find the vchiq specific file. I also checked the raspberry/userspace repo and found a (commented out) reference to possibly a vchiq related udev file [2], but again no luck finding the actual file.
Can someone please point out where the file exists and if its possible to send a PR for it. Also, please do let me know if this repo is not the right place to file such issues.
Thanks in advance, ojas
References
[1] https://github.com/RPi-Distro/raspberrypi-sys-mods/tree/master/lib/udev/rules.d [2] https://github.com/raspberrypi/userland/blob/master/interface/vchiq_arm/CMakeLists.txt#L9