how can I get compat_ioctl support for v4l2_subdev_fops

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

 



Hi all, :
I use the media-ctl from http://git.ideasonboard.org/media-ctl.git
It is compiled into a 32 bit application. Run on a 64 bit CPU. The
version of kernel is 3.10.

When call ioctl(, VIDIOC_SUBDEV_S_SELECTION,), meet the below warning:
[   97.186338] c0 707 (drv_test) compat_ioctl32: unknown ioctl 'V',
dir=3, #62 (0xc040563e)
[   97.203252] c0 707 (drv_test) WARNING: no compat_ioctl for v4l-subdev1

VIDIOC_SUBDEV_S_SELECTION is not supported for compat_iocl. And I list
others subdev’s ioctl, which are also not included

in v4l2_compat_iocl32().
How can I get these compat_ioctl?
Have they been added in v4l2_compat_iocl32() or We have added a
compat_ioctl32 in v4l2_subdev_fops?

VIDIOC_SUBDEV_G_FMT
VIDIOC_SUBDEV_S_FMT
VIDIOC_SUBDEV_G_CROP
VIDIOC_SUBDEV_S_CROP
VIDIOC_SUBDEV_ENUM_MBUS_CODE
VIDIOC_SUBDEV_ENUM_FRAME_SIZE
VIDIOC_SUBDEV_G_FRAME_INTERVAL
VIDIOC_SUBDEV_S_FRAME_INTERVAL
VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL
VIDIOC_SUBDEV_G_SELECTION
VIDIOC_SUBDEV_S_SELECTION
default
v4l2_subdev_call(sd, core, ioctl, cmd, arg);
--
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