This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

linux-3.3.7 v4l2 device nodes

I have the Beagleboard xM board. I downloaded and installed

ti-sdk-beagleboard-06.00.00.00 at http://software-dl.ti.com/sitara_linux/esd/BeagleBoardSDK/latest/index_FDS.html

When I booted up my board, I was expecting to see v4l2 devices (/dev/video*) present, however there were none.


I checked the included 3.3.7 kernel's configuration through menuconfig, and saw v4l2 drivers not compiled, so I added (selecting the built-in option) them in the configuration and re-compiled the kernel.

After successful creation of uImage, I booted up the board with this new uImage. In the 'dmesg' output, I saw an error message something like

omap_vout: probe of omap_vout failed with error -22


Does anyone have any idea why I am observing this?

Does linux omap kernel 3.3.7 not support v4l2 driver yet?


I even tried the latest omap kernel at http://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git (using omap2plus_defconfig) with no luck.

Thanks.

  • Hi Inanc,

    The Linux omap kernel 3.3.7 supports v4l2 driver.

    The error message:

    omap_vout: probe of omap_vout failed with error -22

    means that the Video for Linux (Version 2) camera capture driver matched but the probe failed due to invalid argument. But you can obtain more detailed description of the reason for the error if you add some debug messages before each one "return -EINVAL;" command in the <...linux>/drivers/media/video/omap/omap_vout.c file.

    These additional debug message and the whole dmesg log could be helpful for the further investigation of the issue.

    BR

    Tsvetolin Shulev

  • Thank you Tsvetolin,


    Ok, I will try to debug, but I do not think I would solve my problem easily.


    Could you or someone else give the step by step instructions for compiling the v4l2 drivers into the Linux 3.0 and later 3.x kernels? (selected options in kernel menuconfig maybe ??)


    When I boot up my board with the 2.6.37 kernel, everything goes fine and I see all the /dev/videoX and v4l2 sub devices. But in the 3.X kernels I can only see the /dev/video0 as the camera input device.

    By the way, what about the media controller framework (/dev/media0), is it also supported in 3.3.7 kernel?

    Thanks again !