Add video camera controls
cover Add video camera controls
These patches support automatic enabling for the video camera.
Gary Thomas (2):
README: Add video camera control
rpi-config: Add video camera control
README | 4 ++++ recipes-bcm/bootfiles/rpi-config_git.bb | 6 ++++++ 2 files changed, 10 insertions(+)
Signature · 1 line
1.7.9.5
PATCH 1/2 README: Add video camera control
Add optional 'VIDEO_CAMERA' setting to enable video camera at boot time.
Signed-off-by Gary Thomas <[email protected]>
--- README | 4 ++++ 1 file changed, 4 insertions(+)
README +4 -0
@@ -158,6 +158,10 @@ CORE_FREQ = "500" SDRAM_FREQ = "500" OVER_VOLTAGE = "6" +2.F. Optional - Video camera support with V4L2 drivers +Set this variable to enable support for the video camera (Linux 3.12.4+ required) +VIDEO_CAMERA = "1" + 3. Extra apps =============
Signature · 1 line
1.7.9.5
Re: [meta-raspberrypi][PATCH 1/2] README: Add video camera control
Quoted 5 lines · Gary Thomas
Add optional '
VIDEO_CAMERA' setting to enable video camera at boot time.Signed-off-by Gary Thomas <[email protected]>
Merged. Thanks.
Signature · 1 line
*ag*
PATCH 2/2 rpi-config: Add video camera control
In reply to Gary ThomasAdd video camera enable 'VIDEO_CAMERA' for config.txt
Signed-off-by Gary Thomas <[email protected]>
--- recipes-bcm/bootfiles/rpi-config_git.bb | 6 ++++++ 1 file changed, 6 insertions(+)
recipes-bcm/bootfiles/rpi-config_git.bb +6 -0
@@ -52,6 +52,12 @@ do_deploy() { if [ -n "${GPU_MEM_512}" ]; then sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt fi + + # Video camera support + if [ -n "${VIDEO_CAMERA}" ]; then + echo "# Enable video camera" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt + echo "start_x=1" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt + fi } PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.7.9.5
Re: [meta-raspberrypi][PATCH 2/2] rpi-config: Add video camera control
Quoted 5 lines · Gary Thomas
Add video camera enable '
VIDEO_CAMERA' for config.txtSigned-off-by Gary Thomas <[email protected]>
Merged. Thanks.
Signature · 1 line
*ag*