From 0c19e2cce0cba8025bda0502adb817adff5273c1 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 5 Dec 2005 15:19:45 +0000 Subject: describe new tv tunning capability; for robert@ slacker (; --- share/man/man4/radio.4 | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/man/man4/radio.4 b/share/man/man4/radio.4 index dfd3e8b896b..1039aae76c1 100644 --- a/share/man/man4/radio.4 +++ b/share/man/man4/radio.4 @@ -1,5 +1,5 @@ .\" $RuOBSD: radio.4,v 1.4 2001/10/26 05:38:43 form Exp $ -.\" $OpenBSD: radio.4,v 1.21 2005/09/30 20:34:24 jaredy Exp $ +.\" $OpenBSD: radio.4,v 1.22 2005/12/05 15:19:44 mickey Exp $ .\" .\" Copyright (c) 2001 Vladimir Popov .\" All rights reserved. @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd October 20, 2001 +.Dd December 5, 2005 .Dt RADIO 4 .Os .Sh NAME @@ -86,6 +86,8 @@ struct radio_info { u_int32_t info; #define RADIO_INFO_STEREO (1<<0) #define RADIO_INFO_SIGNAL (1<<1) + u_int32_t chan; + u_int32_t chnlset; }; .Ed .Pp @@ -153,7 +155,45 @@ Informs whether the device receives a stereo or mono signal. .It Dv RADIO_INFO_SIGNAL Informs whether the device receives a valid signal or noise. .El +.Pp +The +.Va chan +holds the TV channel the card is tuned to. +.Pp +The +.Va chnlset +specifies the TV channel set currently being used +(Western Europe being the default): +.Bl -tag -width indent -compact +.It 1 +U.S.A. Broadcast +.It 2 +U.S.A. Cable IRC +.It 3 +U.S.A. Cable HRC +.It 4 +Western Europe +.It 5 +Japan Broadcast +.It 6 +Japan Cable +.It 7 +Former U.S.S.R. and C.I.S. Countries +.It 8 +Australia +.It 9 +France +.El .El +.Pp +Either +.Va freq +or +.Va chan , +.Va chnlset +have to be used to tune into FM radio stations or TV channels +respectively. +Some devices may not support both functionalities. .Sh CHIPSETS LM700x is a frequency synthesizer IC. The LM700x is programmed through a 24-bit write-only shift register. -- cgit v1.2.3