xref: /netbsd-src/usr.bin/videoctl/videoctl.1 (revision 8d68ab3ee4bd7da585af219fe919bd0a3e1f4c05)
1.\" $NetBSD: videoctl.1,v 1.2 2010/12/26 14:26:45 wiz Exp $
2.\"
3.\" Copyright (c) 2010 Jared D. McNeill <jmcneill@invisible.ca>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\" POSSIBILITY OF SUCH DAMAGE.
26.\"
27.Dd December 26, 2010
28.Dt VIDEOCTL 1
29.Os
30.Sh NAME
31.Nm videoctl
32.Nd control video device
33.Sh SYNOPSIS
34.Nm
35.Op Fl d Ar device
36.Fl a
37.Nm
38.Op Fl d Ar device
39.Ar name ...
40.Nm
41.Op Fl d Ar device
42.Fl w
43.Ar name=value ...
44.Sh DESCRIPTION
45The
46.Nm
47command displays or sets various video system driver variables.
48If a list of variables is present on the command line, then
49.Nm
50prints the current value of those variables for the specified device.
51If the
52.Fl a
53flag is specified, all variables for the device are printed.
54If the
55.Fl w
56flag is specified
57.Nm
58attempts to set the specified variables to the given values.
59The
60.Fl d
61flag can be used to specify an alternate video device.
62If
63.Fl d
64is not specified,
65.Pa /dev/video0
66is used.
67.Sh FILES
68.Bl -tag -width /dev/video0 -compact
69.It Pa /dev/video0
70video device
71.El
72.Sh SEE ALSO
73.Xr video 4
74.Sh HISTORY
75The
76.Nm
77command first appeared in
78.Nx 6.0 .
79