Enable rPi camera by default (#7)

Fixes #3.
This commit is contained in:
Peter Johnson 2018-12-28 22:47:31 -06:00 committed by GitHub
parent b1877d5365
commit 170962deff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

@ -54,3 +54,8 @@
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Enable camera
start_x=1
gpu_mem=128
disable_camera_led=1

View File

@ -11,6 +11,9 @@ install -m 644 files/console-setup "${ROOTFS_DIR}/etc/default/"
install -m 755 files/rc.local "${ROOTFS_DIR}/etc/"
# enable pi camera
install -m 644 files/picamera.conf "${ROOTFS_DIR}/etc/modules-load.d/"
# disable wireless
install -m 644 files/raspi-blacklist.conf "${ROOTFS_DIR}/etc/modprobe.d/"

View File

@ -0,0 +1 @@
bcm2835_v4l2