From owner-freebsd-multimedia Thu Feb 26 04:10:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA09468 for freebsd-multimedia-outgoing; Thu, 26 Feb 1998 04:10:52 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from login.dknet.dk (fj@login.dknet.dk [193.88.44.43]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA09449 for ; Thu, 26 Feb 1998 04:10:45 -0800 (PST) (envelope-from fj@login.dknet.dk) Received: (from fj@localhost) by login.dknet.dk (8.7.5/8.6) id NAA26493 for multimedia@FreeBSD.ORG; Thu, 26 Feb 1998 13:10:38 +0100 (MET) From: Flemming Jacobsen Message-Id: <199802261210.NAA26493@login.dknet.dk> Subject: bt848 radio support To: multimedia@FreeBSD.ORG Date: Thu, 26 Feb 98 13:10:38 MET Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 *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