From owner-freebsd-multimedia Sat Sep 6 12:24:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA27777 for multimedia-outgoing; Sat, 6 Sep 1997 12:24:58 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA27771 for ; Sat, 6 Sep 1997 12:24:53 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id MAA00324; Sat, 6 Sep 1997 12:24:45 -0700 (PDT) Message-Id: <199709061924.MAA00324@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: fj@login.dknet.dk (Flemming Jacobsen) cc: dwhite@resnet.uoregon.edu, freebsd-multimedia@FreeBSD.ORG Subject: Re: Hauppauge Win/TV and fxtv problems In-reply-to: Your message of "Sat, 06 Sep 1997 21:04:43 +0700." <9709061904.AA21184@login.dknet.dk> Date: Sat, 06 Sep 1997 12:24:45 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, Please move the following to two lines to the end of the routine: static void bktr_attach( ATTACH_ARGS ) { bktr_ptr_t bktr; bt848_ptr_t bt848; #ifdef BROOKTREE_IRQ u_long old_irq, new_irq; #endif vm_offset_t buf; u_long latency; u_long fun; wrmsr(0x204, 0xf9800001); wrmsr(0x205, 0xffc00000 | 0x800); #ifdef __FreeBSD__ bktr = &brooktree[unit]; if (unit >= NBKTR) { printf("brooktree%d: attach: only %d units configured.\n", unit, NBKTR); printf("brooktree%d: attach: invalid unit number.\n", unit); return; } bktr->tag = tag; pci_map_mem( tag, PCI_MAP_REG_START, (vm_offset_t *) &bktr->base, &bktr->phys_base ); ****************move to the end of the routine *************************** fun = pci_conf_read(tag, PCI_COMMAND_STATUS_REG); pci_conf_write(tag, PCI_COMMAND_STATUS_REG, fun | 4); *************************************************************************** Tnks, Amancio >From The Desk Of Flemming Jacobsen : > Hi, > > > Have you tried the driver from my ftp site? > > Amancio > > Yes, it was the one generating the trap 9. > > Anyway, I've just removed the card: > > It has a Hauppauge sticker saying: > Win/TV-PCI > PAL-B/G > 60334 Rev A1V > > Beneath this sticker is the Philips tuner: > Sticker one (looks like a german PTT aproval sticker): > [Bird-logo] > Philips Hyperband Ready > bzt K U09 276 > Sticker two: > 3139 147 13381P > FM1216/1 hm > SW20 9720 > Made in Singapore. > > The 3 large chips are: > One: > Bt848KPF > VIDEO DECODER > 476 9652 > Two: > ITT > MSP 3410D-PS-B3 > 65-WN-FA > 056181.002 > 7245 > Tree: > [Philips logo] > SAA5284GP > K6X177 > HSG9715MOX > TAIWAN > > > I made a quick program to do ioctl's on /dev/tuner0: > > TVTUNER_GETSTATUS returns 0x22 > > TVTUNER_SETTYPE to CHNLSET_WEUROPE doesn't change anything. > > TVTUNER_SETFREQ can be read back with TVTUNER_GETFREQ (just > checking). > > TVTUNER_GETCHNL doesn't change when doing TVTUNER_SETFREQ (I > forgot to try the other way around). > > Have a nice day > Flemming > > > > >From The Desk Of Flemming Jacobsen : > > > Hi, > > > > > > When booting the kernel made from the bt848.970604.tgz kernel I > > > get: > > > bktr0 rev 17 int a irq 12 on pci0:10 > > > mapreg[10] type=0 addr=fbff0000 size=1000. > > > reg16: virtual=0xf4f32000 physical=0xfbff0000 size=0x1000 > > > brooktree0: PCI bus latency is 80. > > > bktr0: buffer size 3555328, addr 0x3000000 > > > Hauppauge WinCast/TV, Temic PAL tuner. > > > > > > I sometimes get messages of the form shown below in the console > > > log: > > > bktr0: ioctl: tsleep error 35 1000f0c > > > > > > > Luigi submitted code for Euro-Channels so download > > > > ftp://rah.star-gate.com/pub/bt848.tar.gz > > > > and give it a try. > > > > > > When trying this kernel I get a `fatal trap 9: general > > > protection fault while in kernel mode' right after the > > > mapreg[10]-line. > > > > > > From the comments made by the other nice people who has made > > > suggestions, I realize that my description wasn't all that > > > clear. So I'll try again: > > > > > > When using my external (old Philips 7300) tuner I select > > > `Video', and everything is fine. > > > When using either a small antenna or the signal from my cable > > > company (both connected to the TV-in plug (which is "going into" > > > the tuner metal box on the PCB) - I've doublechecked that I > > > didn't use the Radio-in plug) I get the blue window (for some > > > reason I don't get static anymore). I've tried all 4 > > > combinations of the antenna/cable radio button and an antenna or > > > cable-feed connected to TV-in. > > > (does anyone know what the antenna/cable radio button does ?) > > > > > > I've tried the driver from Luigi's page (the one for text > > > reception (I had to add a dummy #define for something text > > > related to make it compile)), I get the same result as described > > > above. > > > > > > > > > Have a nice weekend > > > Flemming > > > > > > -- > > > 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 >