On Fri, Mar 12, 2021 at 12:27 AM Ed Greshko <ed.gres...@greshko.com> wrote:
>
> >> You might try uvcdynctl that is what I have been using as it directly
> >> talks to the webcam.
> >>
> >> It will show the controls that exist and let you query and set them.
> >>
> > uvcdynctrl that is.
>
> FWIW, uvcdynctrl seems to return much the same info as does v4l2-ctl.  At 
> least for my capture device.
>
> [egreshko@meimei ~]$ uvcdynctrl -c
> Listing available controls for device video0:
>    Brightness
>    Contrast
>    Saturation
>    Hue
>
> [egreshko@meimei ~]$ v4l2-ctl -l
>                       brightness 0x00980900 (int)    : min=-100 max=100 
> step=1 default=0 value=0
>                         contrast 0x00980901 (int)    : min=50 max=200 step=1 
> default=100 value=100
>                       saturation 0x00980902 (int)    : min=0 max=200 step=1 
> default=100 value=100
>                              hue 0x00980903 (int)    : min=-90 max=90 step=1 
> default=0 value=0
>
> v4l2-ctl seems just a tad bit more user friendly since it returns the current 
> value for the controls.

Thanks, Roger. Ed's suspicion has turned out to be pointing to the
right direction:

------------------------------------
# v4l2-ctl --list-devices
OBS Virtual Camera (platform:v4l2loopback-000):
    /dev/video0

EasyCamera 5M: EasyCamera 5M (usb-0000:01:00.0-7):
    /dev/video1
    /dev/video2
    /dev/media0
#
------------------------------------

The default camera is taken to be the virtual one. Thus, running the command:

v4l2-ctl -d /dev/video1 -c focus_auto=0

went fine!

Paul
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to