[V4L2] Can VIVI driver works with Android ?

76 views
Skip to first unread message

Atul Raut

unread,
May 25, 2012, 1:38:48 AM5/25/12
to android-...@googlegroups.com, android...@googlegroups.com, bi...@thedirks.org
Hi,

I have V4L2 android native app to test any camera driver which support V4L2 Framework.
For testing same app I used VIVI driver. For enabling same,
KConfig shows it has dependency of FRAMEBUFFER_CONSOLE.
After enabling FRAMEBUFFER_CONSOLE target is not booting.

My question is if I enable FRAMEBUFFER_CONSOLE will it affect android boot process,
I tried on MSM board ?


----------------------------------------------------------------------------------------------------------------------
config VIDEO_VIVI
    tristate "Virtual Video Driver"
    depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
    depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
    select FONT_8x16
    select VIDEOBUF2_VMALLOC
    default n
    ---help---
      Enables a virtual video driver. This device shows a color bar
      and a timestamp, as a real device would generate by using V4L2
      api.
      Say Y here if you want to test video apps or debug V4L devices.
      In doubt, say N.
----------------------------------------------------------------------------------------------------------------------
 
Thanks,
----------------------------------------------------------------------------------------------------------------------------------
Atul Raut

http://rautatul.weebly.com/

Atul Raut

unread,
May 28, 2012, 4:19:11 AM5/28/12
to android-...@googlegroups.com, android...@googlegroups.com, bi...@thedirks.org

Got some info over the issue :

Frame Buffer Driver

  • Select "Device Drivers" from the main menu.

    ...
    ...
    Power management options  --->
[*] Networking support  --->
    Device Drivers  --->
    File systems  --->
    Kernel hacking  --->
    ...
    ...
  • Select "Graphics support" from the menu.

    ...
    ...
[*] Voltage and Current Regulator Support  --->
<*> Multimedia support  --->
    Graphics support  --->
<*> Sound card support  --->
[*] HID Devices  --->
    ...
    ...
  • Select "Support for frame buffer devices" from the menu.

    ...
    ...
<M> Lowlevel video output switch controls
<*> Support for frame buffer devices  --->
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
    ...
    ...
  • Select "OEM[OMAP/MSM] Display Subsystem support from the same menu.


    ...
    ...
[ ] Check bootloader initialization
-*- OEM Display Subsystem support --->
[*] Backlight & LCD device support  --->
    ...
    ...
 
Thanks,
----------------------------------------------------------------------------------------------------------------------------------
Atul Raut

http://rautatul.weebly.com/



Reply all
Reply to author
Forward
0 new messages