Changes

Jump to navigation Jump to search
409 bytes added ,  19:14, 9 April 2015
no edit summary
Line 1: Line 1:  
== Camera setup ==
 
== Camera setup ==
 
[https://www.raspberrypi.org/help/camera-module-setup/ Setup]
 
[https://www.raspberrypi.org/help/camera-module-setup/ Setup]
 +
 +
== Permissions ==
 +
Create a group with permission tu use the camera, and add the user that will be using it:
 +
<nowiki>
 +
# echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"' \
 +
>  > /etc/udev/rules.d/10-vchiq-permissions.rules
 +
# usermod -a -G video pi<nowiki>
 +
Reboot.
 +
 +
Set paths:
 +
edit $HOME/.bashrc, add:
 +
 +
add:
 +
<nowiki>
 +
export PATH=$PATH:/opt/vc/bin
 +
export LD_LIBRARY_PATH=$LD_LIBRARYPATH:/opt/vc/lib</nowiki>
    
== Bash ==
 
== Bash ==

Navigation menu