> Since many years I use struct v4l2_ext_controls and VIDIOC_S_EXT_CTRLS for 
> setting both User Controls and MPEG Controls. This works with ivtv and 
> pvrusb2.
> 
> Now I discovered that saa7134-empress returns "Invalid argument" if I do
> this.  I have to use struct v4l2_control ctrl and VIDIOC_S_EXT_CTRLS. And
> this works also with ivtv.
> Is this the right method for all V4L2_CTRL_CLASS_USER control IDs?
> 
> Or is it a bug of the saa7134 driver that it doesn't work with 
> VIDIOC_S_EXT_CTRLS ?

ups, copy and paste mistake.
should be " I have to use struct v4l2_control ctrl and  VIDIOC_S_CTRL."

The API says in chapter 1.9.2. (The Extended Control API):
"For example, control class V4L2_CTRL_CLASS_USER contains all user controls 
(i. e. all controls that can also be set using the old VIDIOC_S_CTRL ioctl). "

I think this means that it should also be possible to set the User Class 
controls with the extended control API. (Like ivtv and pvrusb2 does)

In the meantime I think found the explanation why this doesn't work with the 
KNC One TV Station DVR (saa7134-empress): It is a shared device, and the User 
controls must be executed on the analogue device - and this one does not 
support the extended control API. Only the mpeg device does this.





_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to