add .Mt to man pages in bin/ games/ sys/ tools/
[dragonfly.git] / tools / multimedia / cxm / setchannel / cxm_setchannel.1
CommitLineData
e9afadfd
SW
1.\"
2.\" Copyright (c) 2009
3.\" The DragonFly Project. All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\"
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
13.\" the documentation and/or other materials provided with the
14.\" distribution.
15.\" 3. Neither the name of The DragonFly Project nor the names of its
16.\" contributors may be used to endorse or promote products derived
17.\" from this software without specific, prior written permission.
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
25.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
29.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" $Id: cxm.4,v 1.1 2004/10/16 00:12:35 mavetju Exp $
33.\"
34.Dd April 19, 2009
35.Dt CXM_SETCHANNEL 1
36.Os
37.Sh NAME
38.Nm cxm_setchannel
39.Nd Hauppauge channel selector
40.Sh SYNOPSIS
41.Nm
42.Op Fl a Ar on | off
43.Oo
44.Fl c | r | s | t
45.Oc
46.Op Fl d Ar unit
47.Op Fl g Ar geom
48.Op Fl m Ar chnl_set
49.Op Ar chnl | freq
50.Sh DESCRIPTION
51.Nm
52provides support for selecting channels on the PVR-250/350 cards via
53.Pa /dev/cxm0
54(unit is selectable with
55.Fl d ) .
56.Pp
57The options are as follows:
58.Bl -tag -width indent
59.It Fl a Ar on | off
60Enable/disable AFC (automatic frequency control).
61.It Fl c
62Select composite input.
63.It Fl r
64Select radio input.
65.It Fl s
66Select S-Video input.
67.It Fl t
68Select tuner.
69.It Fl d Ar unit
70Select unit (0..x).
71.It Fl g Ar geom
72Select geometry.
73Valid geometries are:
74.Pp
75.Bl -tag -compact -width indent
76.It Xo Li 352x240
77or
78.Li 352x288
79.Tn ( VCD )
80.Xc
81.It Xo Li 480x480
82or
83.Li 480x576
84.Tn ( SVCD )
85.Xc
86.It Xo Li 352x480
87or
88.Li 352x576
89.Tn ( DVD ,
90half D1)
91.Xc
92.It Xo Li 720x480
93or
94.Li 720x576
95.Tn ( DVD ,
96full D1)
97.Xc
98.El
99.It Fl m Ar chnl_set
100Select channel set/system.
101Valid sets are:
102.Pp
103.Bl -tag -compact -width indent
104.It Li 0
105Tuner default
106.It Li 1
107US Broadcast (NTSC)
108.It Li 2
109US Cable (NTSC)
110.It Li 4
111Western Europe (PAL)
112.It Li 5
113Japan Broadcast (NTSC)
114.It Li 6
115Japan Cable (NTSC)
116.It Li 8
117Australia (PAL)
118.It Li 9
119France (SECAM)
120.El
121.El
122.Pp
123The argument passed to
124.Nm
125has to be either a channel number or a frequency in MHz (which must include
126a decimal point).
127.Sh SEE ALSO
128.Xr bktr 4 ,
97edcb45 129.Xr cxm 4
e9afadfd
SW
130.Sh HISTORY
131The
132.Nm
133program first appeared in the
134.Pa FreeBSD-multimedia@
135mailing list in January 2004 and in the
136.Fx
137Ports collection in October 2004.
138.Pp
139It was ported to
140.Dx 2.3
141by
142.An Sascha Wildner .
143.Sh AUTHORS
144.An -nosplit
145This program was made by
0240e8a7 146.An John Wehle Aq Mt john@feith.com .
e9afadfd
SW
147.Pp
148This manual page was made by
0240e8a7 149.An Edwin Groothuis Aq Mt edwin@FreeBSD.org .