UbiquityRobotics / ubiquity_main

Main documentation as well as other misc files
Other
19 stars 7 forks source link

Raspicam requires root on latest image #218

Closed rohbotics closed 4 years ago

rohbotics commented 4 years ago

Forum thread: https://forum.ubiquityrobotics.com/t/mmal-failed-to-create-camera-info-component/428/7

rohbotics commented 4 years ago

Looks like the udev rules here got messed up.

Adding KERNEL=="vcsm", GROUP="video", MODE="0660" to /etc/udev/rules.d/10-local-rpi.rules seems to work, but I am not convinced that this is the correct solution.

rohbotics commented 4 years ago

So turns out the raspberry pi firmware ships its own udev rules in /lib/udev so our rules with the same name in /etc/udev were actually overriding these. Simply deleting /etc/udev/rules.d/10-local-rpi.rules solves the issue.

This should be the fix that lands in the next image.