Letux Kernel

Camera

You are looking at an old revision of the page Camera. This revision was created by Nikolaus Schaller.

Table of Content

How to control the camera

NOTE

  • this page is a stub since we don't have a driver yet
  • the camera needs power & clock to operate I2C
  • therefore it is not visible by i2cdetect
  • the camera will capture images after power on reset in some default mode (if clock is switched on)

The camera (if installed) is a OmniVision OV9655 1.3 Mpix camera module.

Enable power

set VAUX3 to 2.5V

VDD=2500000
echo "255" >/sys/class/gpio... # activate reset
echo "$VDD" >/sys/devices/platform/reg-virt-consumer.3/max_microvolts
echo "$VDD" >/sys/devices/platform/reg-virt-consumer.3/min_microvolts
echo "normal" >/sys/devices/platform/reg-virt-consumer.3/mode
echo "0" >/sys/class/gpio... # release reset

enable camera clock (how?)

load driver (modprobe ov9655)

where can we see the data?

Torch/Flashlight

we need a driver for the TPS61050