Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 98 13:10:38 MET
From:      Flemming Jacobsen <fj@login.dknet.dk>
To:        multimedia@FreeBSD.ORG
Subject:   bt848 radio support
Message-ID:  <199802261210.NAA26493@login.dknet.dk>

next in thread | raw e-mail | index | archive | help
Hi,

  As Amancio posted earlier, all of my patches to support the radio on
Hauppauge cards with Philips tuners are now in. I've put a small
radio application up for grabs at: ftp://login.dknet.dk/pub/fj/radio.tgz
It's a very simple Tcl/Tk/Tix application, which a decent X programmer
could write much better in half a day, it's been working very well for
me since December though. 

	Hyg'
	Flemming


Quick docs for the radio ioctl's:

In order to support the radio tuner part of the Philips F[MR]1216, I've
added 4 new ioctl's. All 4 use integer arguments.
      RADIO_SETMODE - Sets the mode of the radiotuner. The active bits in
                      this bitfield are:
                              RADIO_AFC  - Enable AFC (Automatic Frequency
                                           Control).
                              RADIO_MONO - Mono.
                              RADIO_MUTE - Mute the output of the
                                           radiotuner.
      RADIO_GETMODE - Read the currently set modes.
      RADIO_SETFREQ - Set the frequency of the tuner. The argument is
                      <freq>*100, i.e. in order to set the tuner to 
                      recieve at station at 103.45MHz, the argument
                      should be 10345.
      RADIO_GETFREQ - Read the currently set frequency.

The modes set with RADIO_SETMODE won't be active until the next time
RADIO_SETFREQ is called, thus if you want to switch to mono mode, you
have to call RADIO_SETMODE with the RADIO_MONO bit set AND after that
call RADIO_SETFREQ (probably with the same argument as last time).

The spec. sheet of the Philips FR1216 seem to indicate that it won't
support the modes set with RADIO_SETMODE. Since I only have an FM version
I've been unable to verify this.

The FM1216 is a PAL B/G version. I haven't investigated how the tuners
for other TV formats are controlled, but I can't see why Philips would
change the interface.

-- 
Flemming Jacobsen            It'll probably say something like "Does not
                             compute" or "Inoperative parameters". That's
Email: fj@login.dknet.dk     what it says when it doesn't know and doesn't
Phone: +45 35 43 33 49       want to admit it.  -- Terry Pratchett: Wings


-- 
Flemming Jacobsen            It'll probably say something like "Does not
                             compute" or "Inoperative parameters". That's
Email: fj@login.dknet.dk     what it says when it doesn't know and doesn't
Phone: +45 35 43 33 49       want to admit it.  -- Terry Pratchett: Wings


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802261210.NAA26493>