Letux Kernel


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


The (optional) camera is a OmniVision OV9655 1.3 Mpix camera module. It is connected to I2C2 and powered by VAUX3 (set to 2.5V). Two GPIOs can control the camera: Reset (GPIO98, active 1) and Powerdown (GPIO165, active 0).

3.7 kernel

It uses the omap3isp framework and the mediactl tool as demonstrated by the camera-demo script.

Description needs to be provided.

old 2.6.32 stuff

This all has been integrated into the ov9655 and gta04_cam drivers so that you just have to open and use


grabbing a still picture (at 16 colors)

streamer -c /dev/video0 -b 16 -o outfile.jpeg

grabbing video (at 3 fps and 10 minutes duration)

streamer -q -c /dev/video0 -f rgb24 -r 3 -t 00:10:00 -o /home/jhs/outfile.avi 

showing through mplayer on X11

mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=12 -vo x11
mplayer tv:// -tv driver=v4l2:width=1280:height=720:device=/dev/video0:fps=4 -vo x11

previewing video on the OMAP DSS

there are drivers, but we don't know how they work

Torch/Flash (optional)

  • chip is on board
  • not tested
  • no recommended LED available
  • no driver ported


You need to install a white LED and drill a hole into the case.

Note: either the CPU or the Camera can trigger a strobe.

Ambient light sensor (optional)

There is an optional ambient light sensor. This is sort of a low power, 1 pixel B/W camera.


A recommended photo transistor is the Vishay TEPT4400. The long end should be soldered to the pin nearer to ???? You also need to drill a hole into the case.


The TSC2007 driver also reads the ambient light level (range 0 ... 4095) and presents it as the second last field of

cat /sys/bus/i2c/drivers/tsc2007/2-0048/values