NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

UsbConfigHostVideo

From Texas Instruments Wiki
Jump to: navigation, search
TIBanner.png
Host Video Kernel Config
Linux PSP



About this page[edit]

This page describes the Linux kernel config options for usb video class (UVC) on different kernel versions. Please refer the config option which matches with kernel version of release you are using.

Configuration[edit]

Linux v3.2[edit]

Start the Linux Kernel Configuration tool:

$ make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm menuconfig

Select Device Drivers from the main menu.

    ...
    ...
    Power management options --->
    [ ] Networking support --->
    Device Drivers --->
    File systems --->
    Kernel hacking --->
    ...
    ...

Select Multimedia support as shown here

    ...
    ...
    <*> Multimedia support  --->
    Graphics support  --->
    <*> Sound card support  --->
    ...
    ...

Select Video For Linux and go to Video capture adapters as shown here

    ...
    ...
    [ ]   Media Controller API (EXPERIMENTAL)
    <*>   Video For Linux
    < >   DVB for Linux
    ...
    [*]   Video capture adapters  --->
    ... 

Go to V4L USB devices as shown here

    ...
    ...
    < >   SoC camera support  
    [*]   V4L USB devices  --->
    ... 
    ...

Select USB Video Class as shown here

    ...
    ...
    --- V4L USB devices
    <*>   USB Video Class (UVC)
    [*]     UVC input events device support
    < >   GSPCA based webcams  --->
    ...
    ...

This is all required for adding USB host video support in kernel.

Testing[edit]

Video application such as 'mplayer' or 'capture' is required for testing USB video.

Display need to be exported to a X server and then use below 'mplayer' command for testing.
$ mplayer tv:// -tv driver=v4l2:width=320:height=240

USB frames can be saved into a file using 'capture' utility available here (rename to capture.c)File:Capture.patch
$ ./capture -d /dev/video0 -i z1.yuv -w 320 -l 240

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article UsbConfigHostVideo here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article UsbConfigHostVideo here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article UsbConfigHostVideo here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article UsbConfigHostVideo here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article UsbConfigHostVideo here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article UsbConfigHostVideo here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article UsbConfigHostVideo here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article UsbConfigHostVideo here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article UsbConfigHostVideo here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity