Skip to contentSkip to conversation

v4l2-compliance revision vs Kernel version

DISCUSSION Benoit Parrot 2 participants 3 messages Oct 9, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

Can someone point me toward a mapping of v4l2-compliance release vs kernel version?

I am currently working with a 3.14 kernel and would like to find the matching v4l2-compliance version. I am using git://linuxtv.org/v4l-utils.git commit id:
3719cef libdvbv5: reimplement the logic that gets a full section

But on 3.14 running that version against vivi.ko shows a few failures and a bunch of "Not Supported".

Thanks,
Benoit

#1 lore raw

Hi Benoit,

Quoted 3 lines · Benoit Parrot

Hi,

Can someone point me toward a mapping of v4l2-compliance release vs kernel version?

There isn't any. It's trial and error, I'm afraid. The primary use-case of v4l2-compliance is testing drivers in the bleeding-edge media_tree.git repo.

Quoted 6 lines

I am currently working with a 3.14 kernel and would like to find the matching v4l2-compliance version. I am using git://linuxtv.org/v4l-utils.git commit id:
3719cef libdvbv5: reimplement the logic that gets a full section

But on 3.14 running that version against vivi.ko shows a few failures and a bunch of "Not Supported".

"Not Supported" is not an error. It just means that the driver doesn't support that ioctl, so no compliance tests for that ioctl are done.

Regards,

Hans

#2 lore raw

Hi Hans,

Hans Verkuil <[email protected]> wrote on Fri [2014-Oct-10 00:03:01 +0200]:

Quoted 9 lines

Hi Benoit,

Quoted 3 lines · Benoit Parrot

Hi,

Can someone point me toward a mapping of v4l2-compliance release vs kernel version?

There isn't any. It's trial and error, I'm afraid. The primary use-case of v4l2-compliance is testing drivers in the bleeding-edge media_tree.git repo.

Thanks for the quick reply.
I had a feeling that was going to be the case, but had to check.

Quoted 10 lines
Quoted 7 lines

I am currently working with a 3.14 kernel and would like to find the matching v4l2-compliance version. I am using git://linuxtv.org/v4l-utils.git commit id:
3719cef libdvbv5: reimplement the logic that gets a full section

But on 3.14 running that version against vivi.ko shows a few failures and a bunch of "Not Supported".

"Not Supported" is not an error. It just means that the driver doesn't support that ioctl, so no compliance tests for that ioctl are done.

Yeah I know but i am getting those even for simple stuff like:

Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test VIDIOC_EXPBUF: OK (Not Supported) test read/write: OK
test MMAP: OK (Not Supported)
test USERPTR: OK (Not Supported) test DMABUF: OK (Not Supported)

Regards,
Benoit