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.

[OMAP3517 EVM] To use uvc camera(logitech QuickCam c200) on OMAP3517 EVM board

It tries to display(LCD) the camera for uvc.

I'm useed Qt4.7.2 and PSP 03.00.00.05. 

 

It refers. 

 http://processors.wiki.ti.com/index.php/UserGuideDisplayDrivers_PSP_03.00.00.05

is seen. 

Logitech QuickCam c200 is connected from USB HOST. 

It tries to display LCD. 

 

1./dev/v4l/video1 though V4L2 Driver is used. 

  It seems to recognize it by/dev/video0. 

     # ls -l /dev/v4l/

     drwxr-xr-x    2 root     root           60 Jan  1  2000 by-path

 

   not see /dev/v4l/video*

 

2.Therefore, it open()s as/dev/video0 and it uses it. 

  Buffer Format setting

    fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;

    fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_RGB565;

    ret = ioctl(fd, VIDIOC_S_FMT, &fmt);

    if (ret < 0) {

        perror("VIDIOC_S_FMT\n");

        close(fd);

        exit(0);

    }

 

It becomes an error. (errno = 22 Invalid argument)

The setting of Display Window is also same.

   struct v4l2_format fmt;

   Fmt.type = V4L2_BUF_TYPE_VIDEO_OVERLAY;

   fmt.fmt.win.w.left = 0;

   fmt.fmt.win.w.top = 0;

   fmt.fmt.win.w.width = 200;

   fmt.fmt.win.w.height = 200;

   ret = ioctl(fd, VIDIOC_S_FMT, &fmt);

   if (ret < 0) {

       perror("VIDIOC_S_FMT\n");

       close(fd);

       exit(0);

   }

  It becomes an error.   (errno = 22 Invalid argument)

 

It becomes an error about Streaming setting. 

I want you to teach whether LCD can be output with uvc camera.