I'm sponsoring this case for Raymond Chen. This case is to add two more
exported interfaces to PSARC 2006/484. The requested release binding is
patch/micro.
I have marked it as "closed approved automatic" since the change is
straightforward and the interface is clear. If there is request, I'd be
happy to upgrade it to a fast track and set the timer.
-Frank
Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
1.1. Project/Component Working Name:
usbvc(7D) Interface Addition
1.2. Name of Document Author/Supplier:
Author: Raymond Chen
1.3 Date of This Document:
22 July, 2008
4. Technical Description
Summary:
Propose to support IOCTL VIDIOC_G_PARM and VIDIOC_S_PARM in usbvc(7D)
Requested release binding is patch/micro
Detail:
usbvc(7D) provides the support for USB Video Class compliant device.
It imported V4L2 specification to interface with popular applications.
But it didn't implement all the interfaces that the V4L2 specification
defines. The Gnome applications "Cheese", has brought up requirements
to have support of other IOCTLs, the VIDIOC_G_PARM and VIDIOC_S_PARM.
These two IOCTLs have been included in <sys/videodev2.h>. In this case,
the VIDIOC_G_PARM and VIDIOC_S_PARM are going to be implemented in
usbvc(7D).
The new IOCTLs will have the same stability level as others in
PSARC/2006/484, i.e. Uncommitted.
Exported Interfaces:
Interface Stability Comments
-----------------------------------------------------------------------
VIDIOC_G_PARM Uncommitted Get streaming parameters
VIDIOC_S_PARM Uncommitted Set streaming parameters
usbvc(7D) manpage changes:
@@ -177,7 +177,19 @@
Set the device's current video control.
+ VIDIOC_G_PARM
+ Get streaming parameters, the number of frames per second
+ and number of buffers used internally by driver in
+ read/write mode.
+
+ VIDIOC_S_PARM
+
+ Set streaming parameters, the number of frames per second
+ and number of buffers used internally by driver in
+ read/write mode.
+
+
ERRORS
EBUSY An open was attempted after the device has already
been opened.
6. Resources and Schedule
6.4. Steering Committee requested information
6.4.1. Consolidation C-team Name:
ON
6.5. ARC review type: self-review
6.6. ARC Exposure: open
References:
[1] PSARC/2006/484 USB Video Class Driver