v4l2-compliance question

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

 



Hans,

struct v4l2_capability has a version field described as:

__u32version

"Version number of the driver.

Starting on kernel 3.1, the version reported is provided per V4L2
subsystem, following the same Kernel numberation scheme. However, it
should not always return the same version as the kernel, if, for
example, an stable or distribution-modified kernel uses the V4L2 stack
from a newer kernel.

The version number is formatted using the KERNEL_VERSION() macro..."

fail_on_test((vcap.version >> 16) < 3);

I have a driver that returns 0x00010703 and thus fails v4l2-compliance.

My read on the documentation is that the major doesn't have to be 3 or
higher, it doesn't specially call that out.

Thoughts?

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux