ArchlinuxARM Need to Use sudo to Access Camera
Posted: Mon Aug 05, 2019 9:16 am
I have a pizero w which was running Arch and I could access the camera as a user. However, I hadn't used it for about a year, so did a fresh install of ArchLinux. Now the camera works OK id I run raspistill as sudo, but as a normal user I get:
After looking at the wiki I made the following changes:
/boot/config.txt
In /etc/modprobe.d/blacklist.conf I blacklisted :
I have added my user to the video, scanner, storage groups.
Any ideas about what I have missed?
Code: Select all
picam ~ » raspistill --nopreview --output image.jpg
mmal: mmal_vc_shm_init: could not initialize vc shared memory service
mmal: mmal_vc_component_create: failed to initialise shm for 'vc.camera_info' (7:EIO)
mmal: mmal_component_create_core: could not create component 'vc.camera_info' (7)
mmal: Failed to create camera_info component
/boot/config.txt
Code: Select all
gpu_mem=128
start_file=start_x.elf
fixup_file=fixup_x.dat
initramfs initramfs-linux.img followkernel
cma_lwm= cma_hwm= cma_offline_start=
In /etc/modprobe.d/blacklist.conf I blacklisted :
Code: Select all
blacklist i2c_bcm2708
Any ideas about what I have missed?