6001ae5fc3fd586ec74e26d7663d6a159ae5aa1e
[dragonfly.git] / tools / multimedia / cxm / setchannel / cxm_setchannel.1
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
52 provides 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
57 The options are as follows:
58 .Bl -tag -width indent
59 .It Fl a Ar on | off
60 Enable/disable AFC (automatic frequency control).
61 .It Fl c
62 Select composite input.
63 .It Fl r
64 Select radio input.
65 .It Fl s
66 Select S-Video input.
67 .It Fl t
68 Select tuner.
69 .It Fl d Ar unit
70 Select unit (0..x).
71 .It Fl g Ar geom
72 Select geometry.
73 Valid geometries are:
74 .Pp
75 .Bl -tag -compact -width indent
76 .It Xo Li 352x240
77 or
78 .Li 352x288
79 .Tn ( VCD )
80 .Xc
81 .It Xo Li 480x480
82 or
83 .Li 480x576
84 .Tn ( SVCD )
85 .Xc
86 .It Xo Li 352x480
87 or
88 .Li 352x576
89 .Tn ( DVD ,
90 half D1)
91 .Xc
92 .It Xo Li 720x480
93 or
94 .Li 720x576
95 .Tn ( DVD ,
96 full D1)
97 .Xc
98 .El
99 .It Fl m Ar chnl_set
100 Select channel set/system.
101 Valid sets are:
102 .Pp
103 .Bl -tag -compact -width indent
104 .It Li 0
105 Tuner default
106 .It Li 1
107 US Broadcast (NTSC)
108 .It Li 2
109 US Cable (NTSC)
110 .It Li 4
111 Western Europe (PAL)
112 .It Li 5
113 Japan Broadcast (NTSC)
114 .It Li 6
115 Japan Cable (NTSC)
116 .It Li 8
117 Australia (PAL)
118 .It Li 9
119 France (SECAM)
120 .El
121 .El
122 .Pp
123 The argument passed to
124 .Nm
125 has to be either a channel number or a frequency in MHz (which must include
126 a decimal point).
127 .Sh SEE ALSO
128 .Xr bktr 4 ,
129 .Xr cxm 4
130 .Sh HISTORY
131 The
132 .Nm
133 program first appeared in the
134 .Pa FreeBSD-multimedia@
135 mailing list in January 2004 and in the
136 .Fx
137 Ports collection in October 2004.
138 .Pp
139 It was ported to
140 .Dx 2.3
141 by
142 .An Sascha Wildner .
143 .Sh AUTHORS
144 .An -nosplit
145 This program was made by
146 .An John Wehle Aq john@feith.com .
147 .Pp
148 This manual page was made by
149 .An Edwin Groothuis Aq edwin@FreeBSD.org .