RE: [PATCH 1/2] USB gadget: video class function driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>This USB video class function driver implements a video capture device from the
>host's point of view. It creates a V4L2 output device on the gadget's side to
>transfer data from a userspace application over USB.

>The UVC-specific descriptors are passed by the gadget driver to the UVC
>function driver, making them completely configurable without any modification
>to the function's driver code.

I wanted to test this code. I git cloned[1] tree. It has v4l2-event.[c,h] and
so I assume that now this tree has support for v4l2 event code.

But, while compilation, I am getting this error.
[root@viral linux-next]# make uImage > /dev/null && make modules
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 5 modules
ERROR: "v4l2_event_dequeue" [drivers/usb/gadget/g_webcam.ko] undefined!
ERROR: "v4l2_event_init" [drivers/usb/gadget/g_webcam.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

And by looking at the code, those symbols are not exported and thus the error is obvious.
Can you please point me out where to take v4l2-event code? I tried to look for on linuxtv.org but was not able to locate the right code.

[1]git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-next.git

Thanks,
Viral

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux