aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2011-10-18 22:55:22 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2011-10-24 11:21:22 +0530
commit622c2bb8938ca75871d435b3e7408dd4e2a48ec0 (patch)
tree5cd7ec3c1b3f7cd099517c28ae9a568f6288dd4c
parent21957a9a970a4416061b4dd263cda918ce848b3d (diff)
downloadsnowball-622c2bb8938ca75871d435b3e7408dd4e2a48ec0.tar.gz
camera: Enable camera in the build
Enable camera in the build and set right permissions to camera for the app to access it Change-Id: I9d73f506143e2face6b6f3519f52b27b367945c8 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--BoardConfig.mk2
-rw-r--r--init.rc3
2 files changed, 4 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 5894c4e..dae661f 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -17,7 +17,7 @@ BOARD_USES_GENERIC_AUDIO := true
BOARD_USES_ALSA_AUDIO := false
OMAP_ENHANCEMENT := true
HARDWARE_OMX := false
-USE_CAMERA_STUB := true
+USE_CAMERA_STUB := false
BOARD_HAVE_BLUETOOTH := false
BOARD_HAVE_BLUETOOTH_BCM := false
diff --git a/init.rc b/init.rc
index 50e1617..2c5e7ba 100644
--- a/init.rc
+++ b/init.rc
@@ -89,6 +89,9 @@ loglevel 3
# 5.0 %
write /dev/cpuctl/bg_non_interactive/cpu.shares 52
+ # Set access for camera
+ chmod 0666 /dev/video0
+
on fs
# mount mmc partitions