> int type; /* v4l1 */ > int type2; /* v4l2 */ > [...] > > But there are only type defines for v4l1 in videodev.h. > Should a driver put the same defines as for the v4l2 capabilities, ie. > #define V4L2_CAP_VIDEO_CAPTURE 0x00000001 /* Is a video capture device */ > #define V4L2_CAP_VIDEO_OUTPUT 0x00000002 /* Is a video output device */ > #define V4L2_CAP_VIDEO_OVERLAY 0x00000004 /* Can do video overlay */ Yes, please, althrough it isn't used right now. Not sure yet what happens with that in the future. In the long run I plan to remove /proc/video and use a driverfs^Wsysfs class instead. Gerd -- You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20