From: Hans Verkuil <hverkuil@xs4all.nl>
To: andrea <mariofutire@googlemail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: Understanding v4l2-ctl flags
Date: Tue, 11 Dec 2012 00:20:32 +0100 [thread overview]
Message-ID: <201212110020.32055.hverkuil@xs4all.nl> (raw)
In-Reply-To: <ka5jci$q8q$1@ger.gmane.org>
On Mon December 10 2012 22:14:59 andrea wrote:
> Hi,
>
> I have a Logitech webcam under PWC.
> I've managed to use v4l2-ctl to change come controls, but some of them seem to be unsupported.
>
> v4l2-ctl reports the following flags
>
> inactive
> update
> slider
> write-only
> ** no flags at all **
>
> e.g.
>
> restore_factory_settings (button) : flags=update, write-only
>
> What is the meaning of them?
> I can guess that inactive means unsupported, but do I care about the others?
See the documentation for control flags:
http://hverkuil.home.xs4all.nl/spec/media.html#control-flags
'inactive' doesn't mean unsupported, it just means that setting the control
probably will have no effect at the moment. E.g. setting the gain when autogain
is selected doesn't do anything. Only when the autogain is turned off can you
set the gain control.
Regards,
Hans
prev parent reply other threads:[~2012-12-10 23:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-10 21:14 Understanding v4l2-ctl flags andrea
2012-12-10 23:20 ` Hans Verkuil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201212110020.32055.hverkuil@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=mariofutire@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox