summaryrefslogtreecommitdiff
path: root/usr.bin/radioctl/radioctl.1
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2005-12-05 16:30:25 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2005-12-05 16:30:25 +0000
commit04fe2f270b88bbf1f708226369771b6a18d2d631 (patch)
treef25df829ef762d16611e05c36e59538f36ef3cb3 /usr.bin/radioctl/radioctl.1
parentfdffbd4518925d403ac8b4f5f63d87a71cbff97c (diff)
Add support for tuning channel and channel set. This allows
the user to tune his bktr(4) card with radioctl(4). Also add a -v option prints out the available choices of channel sets. ok mickey@
Diffstat (limited to 'usr.bin/radioctl/radioctl.1')
-rw-r--r--usr.bin/radioctl/radioctl.135
1 files changed, 32 insertions, 3 deletions
diff --git a/usr.bin/radioctl/radioctl.1 b/usr.bin/radioctl/radioctl.1
index 7ed87e4c029..f2eb459edca 100644
--- a/usr.bin/radioctl/radioctl.1
+++ b/usr.bin/radioctl/radioctl.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: radioctl.1,v 1.8 2004/08/08 00:21:55 jaredy Exp $
+.\" $OpenBSD: radioctl.1,v 1.9 2005/12/05 16:30:24 robert Exp $
.\"
.\" Copyright (c) 2001 Vladimir Popov
.\" All rights reserved.
@@ -32,11 +32,11 @@
.Sh SYNOPSIS
.Nm radioctl
.Op Fl f Ar file
-.Op Fl n
+.Op Fl nv
.Fl a
.Nm radioctl
.Op Fl f Ar file
-.Op Fl n
+.Op Fl nv
.Ar name
.Nm radioctl
.Op Fl f Ar file
@@ -63,6 +63,8 @@ Print all device variables and their current values.
Specify an alternative radio tuner device.
.It Fl n
Suppress printing of the variable name.
+.It Fl v
+Show the possible values of queries.
.It Ar name Ns Li = Ns Ar value
Attempt to set the specified variable
.Ar name
@@ -100,6 +102,31 @@ or
.Pp
Read-write controls:
.Bl -tag -width volume
+.It Ar channel
+Integer value from 0 to 150.
+.It Ar chnlset
+Specifies the TV channel set currently being used
+(weurope being the default):
+.Bl -tag -width indent
+.It nabcst
+U.S.A. Broadcast
+.It cableirc
+U.S.A. Cable IRC
+.It cablehrc
+U.S.A. Cable HRC
+.It weurope
+Western Europe
+.It jpnbcst
+Japan Broadcast
+.It jpncable
+Japan Cable
+.It xussr
+Former U.S.S.R. and C.I.S. Countries
+.It australia
+Australia
+.It france
+France
+.El
.It Ar frequency
Float value from 87.5 to 108.0.
.It Ar volume
@@ -146,6 +173,8 @@ The command
can produce
.Bd -literal
volume=255
+channel=0
+chnlset=weurope
frequency=106.30MHz
mute=off
reference=50kHz