Through the previous Linux UVC&V4L2 Technology Introduction (a) we have learned the simple knowledge of UVC and V4L2.
So what do we need to do if we want to run a UVC camera device?
I simply looked at the kernel configuration files for several CM projects and found that the V4L2 drive configuration options in those systems were open, but the Config_usb_video_config option was not open, That is, in the current CM-supported models, the default is not supported UVC camera.
This can be a big inconvenience for developers, since the UVC camera cannot be a standard part of an Android system.
So here's the problem,
How do I make a device a UVC (USB video Class) device?
How can I enable my Android system to support the normal operation of the UVC camera device?
First, it is mentioned in the previous article that the UVC device can have a supported device list or use the command to see if the device is supported. In addition, we can modify our equipment so that it becomes a UVC camera.
As for the first method, we will not repeat it here, but what should we do with the second method?
Second, how to enable the Android system to support the UVC camera?
Before describing this part, we need to talk about how V4L2 works.
Next, the UVC driver is described.
Introduction to Linux under UVC&V4L2 technology (II.)