From owner-freebsd-multimedia Wed Mar 26 18:30:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA24792 for multimedia-outgoing; Wed, 26 Mar 1997 18:30:36 -0800 (PST) Received: from deacon.cogsci.ed.ac.uk (deacon144.cogsci.ed.ac.uk [129.215.144.7]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA24784 for ; Wed, 26 Mar 1997 18:30:30 -0800 (PST) Received: from pitcairn.cogsci.ed.ac.uk (pitcairn.cogsci.ed.ac.uk [129.215.197.19]) by deacon.cogsci.ed.ac.uk (8.6.10/8.6.12) with ESMTP id CAA00204; Thu, 27 Mar 1997 02:30:25 GMT Date: Thu, 27 Mar 1997 02:30:24 GMT Message-Id: <26926.199703270230@pitcairn.cogsci.ed.ac.uk> From: Richard Tobin Subject: Re: newest bt848 driver To: Steve Passe In-Reply-To: Steve Passe's message of Wed, 26 Mar 1997 14:45:18 -0700 Organization: just say no Cc: Amancio Hasty , multimedia@freebsd.org Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > new expanded TUNER table structs to allow adding info about NTSC/PAL/SECAM > etc. it attempts to detect the hauppauge/Temic-SECAM card on boot. it > has a tuner entry for the Temic-SECAM tuner. ?? The tuner model number you've put in is the one I gave you which is PAL, not SECAM! Incidentally there is a list of the Temic 40xx tuners at http://www.temic-rf.com/40xx.htm It looks as if the difference between the tuners is not PAL-NTSC-SECAM as such, but B/G-D/K-I-M/N, but I don't really understand this. Anyway, here's my result for the signature program. > card make and model Hauppauge Win/TV PCI > tuner type ie, the brand name and model on the big tin can. Temic 4062 FY5 > card input format, ie NTSC, PAL, SECAM, etc. PAL-I > country being used in. UK signature contents, 0x01 thru 0xff: 00 00 02 00 00 00 00 00 00 00 01 00 02 00 00 00 i2c device found @ 0x22 0xa0 0xc2 Your later message includes eeprom contents, but the program you mailed didn't determine that. There should be a fax waiting for me at work from the guy at Temic. Here's what I added to brooktree.c for PAL: belhaven$ diff -c /sys/pci/brooktree848.c{.~10~,} *** /sys/pci/brooktree848.c.~10~ Wed Mar 26 20:24:56 1997 --- /sys/pci/brooktree848.c Thu Mar 27 02:03:43 1997 *************** *** 1092,1097 **** --- 1092,1104 ---- bt848->iform |= BT848_IFORM_F_NTSCM; break; + case METEOR_FMT_PAL: + bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | + METEOR_PAL; + bt848->iform &= ~BT848_IFORM_FORMAT; + bt848->iform |= BT848_IFORM_F_PALBDGHI; + break; + case METEOR_FMT_AUTOMODE: bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | METEOR_AUTOMODE; *************** *** 3029,3041 **** }; /* ! * Western European channels: */ int weurope[] = { ! 0, 0, 0, 0 }; - /* * Japanese Broadcast Channels: --- 3036,3050 ---- }; /* ! * Western European broadcast channels: ! * ! * (there are others that appear to vary between countries - rmt) */ int weurope[] = { ! 69, (int)( 38.9 * FREQFACTOR), 0, ! 21, (int)(471.25 * FREQFACTOR), (int)(8.00 * FREQFACTOR), 0 }; /* * Japanese Broadcast Channels: -- Richard