ioctl VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT &manvol; VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT Subscribe or unsubscribe event int ioctl int fd int request struct v4l2_event_subscription *argp Arguments fd &fd; request VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT argp Description Subscribe or unsubscribe V4L2 event. Subscribed events are dequeued by using the &VIDIOC-DQEVENT; ioctl. struct <structname>v4l2_event_subscription</structname> &cs-str; __u32 type Type of the event. __u32 reserved[7] Reserved for future extensions. Drivers and applications must set the array to zero.
Event Types &cs-def; V4L2_EVENT_ALL 0 All events. V4L2_EVENT_ALL is valid only for VIDIOC_UNSUBSCRIBE_EVENT for unsubscribing all events at once. V4L2_EVENT_PRIVATE_START 0x08000000 Base event number for driver-private events.