diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-07-31 15:53:44 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-07-31 15:53:44 +0200 |
commit | bf90d2cdddc6398095c75b5105f7455431e63417 (patch) | |
tree | 2dc8e0e216986ab0674df9789b3f5c3d64d88b59 /arch/arm/mach-tegra/board-apalis_t30.c | |
parent | bc181522b5f98c62275dc259b7421ab94e9cb662 (diff) |
apalis_t30: enable modular camera configuration
Enable the modular camera configuration for ACM which allows switching
not only decoders but also their inputs at run-time.
This is the only correct order to load the modules:
modprobe videobuf2-memops
modprobe videobuf2-dma-nvmap
modprobe max9526
# or modprobe adv7180
modprobe tegra_v4l2_camera
To change the decoder on the fly:
rmmod tegra_v4l2_camera
rmmod max9526
# or rmmod adv7180
modprobe adv7180
# or modprobe max9526
modprobe tegra_v4l2_camera
To get a pre-view window through gstreamer:
gst-launch v4l2src ! deinterlace tff=1 method=4 ! nv_omx_videomixer !
nv_gl_eglimagesink
To switch inputs (0-5 resp. 0-4 for ADV7180 and 0-2 for MAX9526 where 2
means auto selection):
v4l2-ctl -i 0
v4l2-ctl -i 1
v4l2-ctl -i 2
v4l2-ctl -i 3
v4l2-ctl -i 4
v4l2-ctl -i 5
To check what input is active:
v4l2-ctl -I
While at it enable NVIDIA confirmed ARM errata 716044 and 720789 as
well.
Diffstat (limited to 'arch/arm/mach-tegra/board-apalis_t30.c')
0 files changed, 0 insertions, 0 deletions