From owner-freebsd-multimedia Sun Oct 26 10:44:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA15194 for multimedia-outgoing; Sun, 26 Oct 1997 10:44:26 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fani.fidata.fi (fani.fidata.fi [193.64.102.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA15184 for ; Sun, 26 Oct 1997 10:44:21 -0800 (PST) (envelope-from tomppa@zeta.fidata.fi) Received: from zeta.fidata.fi (tomppa@zeta.fidata.fi [193.64.103.213]) by fani.fidata.fi (8.8.5/8.8.5) with ESMTP id UAA26323; Sun, 26 Oct 1997 20:44:18 +0200 (EET) Received: (from tomppa@localhost) by zeta.fidata.fi (8.8.5/8.8.5) id UAA03095; Sun, 26 Oct 1997 20:44:17 +0200 (EET) Date: Sun, 26 Oct 1997 20:44:17 +0200 (EET) Message-Id: <199710261844.UAA03095@zeta.fidata.fi> From: Tomi Vainio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty CC: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 has been replaced by bt849 In-Reply-To: <199710252051.NAA08668@rah.star-gate.com> References: <199710251940.WAA00265@zeta.fidata.fi> <199710252051.NAA08668@rah.star-gate.com> X-Mailer: VM 6.33 under 19.15 XEmacs Lucid Reply-To: tomppa@fidata.fi Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty writes: > > For now, just return the card and get one that has a Bt848. > Here is how driver sees card. --- Oct 25 20:09:50 electron /kernel: pci0:15: vendor=0x109e, device=0x0351, class=multimedia (video) int a irq 15 [no driver assigned] --- Oct 25 20:26:15 electron /kernel: bktr0 rev 18 int a irq 15 on pci0:15 Oct 25 20:26:15 electron /kernel: mapreg[10] type=0 addr=fe9fe000 size=1000. Oct 25 20:26:15 electron /kernel: reg16: virtual=0xf4bf7000 physical=0xfe9fe000 size=0x1000 Oct 25 20:26:15 electron /kernel: brooktree0: PCI bus latency is 32. Oct 25 20:26:15 electron /kernel: bktr0: buffer size 3555328, addr 0x3000000 Oct 25 20:26:16 electron /kernel: Hauppauge WinCast/TV, Temic PAL tuner. Tomppa -- Tomi Vainio Mail: tomppa@iki.fi Phone: +358 (0)50 1529 From owner-freebsd-multimedia Sun Oct 26 12:39:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA19429 for multimedia-outgoing; Sun, 26 Oct 1997 12:39:52 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 MAA19417 for ; Sun, 26 Oct 1997 12:39:46 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id MAA01334; Sun, 26 Oct 1997 12:39:33 -0800 (PST) Message-Id: <199710262039.MAA01334@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: tomppa@fidata.fi cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 has been replaced by bt849 In-reply-to: Your message of "Sun, 26 Oct 1997 20:44:17 +0200." <199710261844.UAA03095@zeta.fidata.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Oct 1997 12:39:32 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Okay, In http://www.freebsd.org/~ahasty/Bt848.html in the Miscellaneous section there is a pointer to the bt848/bt848a/bt849 data book. It can be help in programming the Bt849. Cheers, Amancio From owner-freebsd-multimedia Sun Oct 26 18:02:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA05788 for multimedia-outgoing; Sun, 26 Oct 1997 18:02:43 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA05782 for ; Sun, 26 Oct 1997 18:02:37 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id CAA11314 for ; Mon, 27 Oct 1997 02:02:34 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id DAA00345; Mon, 27 Oct 1997 03:02:30 +0100 (MET) Date: Mon, 27 Oct 1997 03:02:30 +0100 (MET) Message-Id: <199710270202.DAA00345@bitbox.follo.net> From: Eivind Eklund To: multimedia@freebsd.org Subject: Bt848 driver patches Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The following patches add PAL support, and make some more of the code table-driven than before. Beware that I don't know the correct magic for RSVD - heck, I don't even know what it means :-) I still don't get sound, and haven't looked at the 32-bits color issue yet - I'll look at those issues as soon as these patches (or similar) have been OKed. Could somebody test that it still work OK with NTSC? Should I commit it if it work OK? Eivind. Index: brktree_reg.h =================================================================== RCS file: /home/ncvs/src/sys/pci/brktree_reg.h,v retrieving revision 1.8 diff -u -r1.8 brktree_reg.h --- brktree_reg.h 1997/10/07 06:30:00 1.8 +++ brktree_reg.h 1997/10/27 01:23:02 @@ -337,6 +337,10 @@ int horizontal, vertical; /* frame rate . for ntsc is 30 frames per second */ int frame_rate; +/* A-delay and B-delay */ + u_char adelay, bdelay; +/* Iform XTSEL value */ + int iform_xtsel; }; Index: brooktree848.c =================================================================== RCS file: /home/ncvs/src/sys/pci/brooktree848.c,v retrieving revision 1.16 diff -u -r1.16 brooktree848.c --- brooktree848.c 1997/10/08 06:54:43 1.16 +++ brooktree848.c 1997/10/27 01:59:41 @@ -406,10 +406,22 @@ */ static struct format_params format_params[] = { -#define FORMAT_PARAMS_NTSC525 0 - { 525, 22, 480, 910, 135, 754, 640, 780, 30 }, -#define FORMAT_PARAMS_PAL625 1 - { 625, 32, 576, 1135, 186, 922, 768, 944, 25 } +/* # define BT848_IFORM_F_AUTO (0x0) - don't matter. */ + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, 0 }, +/* # define BT848_IFORM_F_NTSCM (0x1) */ + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, +/* # define BT848_IFORM_F_NTSCJ (0x2) */ + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, +/* # define BT848_IFORM_F_PALBDGHI (0x3) */ + { 525, 32, 480, 1135, 186, 754, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT1 }, +/* # define BT848_IFORM_F_PALM (0x4) */ + { 625, 32, 576, 910, 186, 922, 640, 780, 25, 0x68, 0x5d, BT848_IFORM_X_XT0 }, +/* # define BT848_IFORM_F_PALN (0x5) */ + { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT1 }, +/* # define BT848_IFORM_F_SECAM (0x6) */ + { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x00, BT848_IFORM_X_XT1 }, +/* # define BT848_IFORM_F_RSVD (0x7) - ???? */ + { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT0 }, }; /* @@ -1070,7 +1082,7 @@ BT848_IFORM_X_XT0 | BT848_IFORM_F_NTSCM; bktr->flags = (bktr->flags & ~METEOR_DEV_MASK) | METEOR_DEV0; - bktr->format_params = FORMAT_PARAMS_NTSC525; + bktr->format_params = BT848_IFORM_F_NTSCM; bktr->max_clip_node = 0; @@ -1130,7 +1142,7 @@ /* enable drivers on the GPIO port that control the MUXes */ bktr->base->gpio_out_en = GPIO_AUDIOMUX_BITS; - /* unmure the audio stream */ + /* unmute the audio stream */ set_audio( bktr, AUDIO_UNMUTE ); /* enable stereo if appropriate */ @@ -1399,7 +1411,7 @@ case BT848SFMT: /* set input format */ temp = *(unsigned long*)arg & BT848_IFORM_FORMAT; bt848->iform &= ~BT848_IFORM_FORMAT; - bt848->iform |= temp; + bt848->iform |= (temp | format_params[temp].iform_xtsel); switch( temp ) { case BT848_IFORM_F_AUTO: bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | @@ -1408,23 +1420,25 @@ case BT848_IFORM_F_NTSCM: case BT848_IFORM_F_NTSCJ: - case BT848_IFORM_F_PALM: bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | - METEOR_NTSC; - bt848->adelay = 0x68; - bt848->bdelay = 0x5d; - bktr->format_params = FORMAT_PARAMS_NTSC525; + METEOR_NTSC; + bt848->adelay = format_params[temp].adelay; + bt848->bdelay = format_params[temp].bdelay; + bktr->format_params = temp; break; case BT848_IFORM_F_PALBDGHI: case BT848_IFORM_F_PALN: case BT848_IFORM_F_SECAM: case BT848_IFORM_F_RSVD: + case BT848_IFORM_F_PALM: bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | METEOR_PAL; - bt848->adelay = 0x7f; - bt848->bdelay = 0x72; - bktr->format_params = FORMAT_PARAMS_PAL625; + bt848->adelay = format_params[temp].adelay; + bt848->bdelay = format_params[temp].bdelay; + bktr->format_params = temp; + break; + } break; @@ -1438,7 +1452,7 @@ bt848->iform |= BT848_IFORM_F_NTSCM; bt848->adelay = 0x68; bt848->bdelay = 0x5d; - bktr->format_params = FORMAT_PARAMS_NTSC525; + bktr->format_params = BT848_IFORM_F_NTSCM; break; case METEOR_FMT_PAL: @@ -1448,7 +1462,7 @@ bt848->iform |= BT848_IFORM_F_PALBDGHI; bt848->adelay = 0x7f; bt848->bdelay = 0x72; - bktr->format_params = FORMAT_PARAMS_PAL625; + bktr->format_params = BT848_IFORM_F_PALBDGHI; break; case METEOR_FMT_AUTOMODE: @@ -3410,6 +3424,8 @@ #define PHILIPS_NTSC 4 #define PHILIPS_PAL 5 #define PHILIPS_SECAM 6 +#define TEMIC_PALI 7 +#define PHILIPS_PALI 8 /* XXX FIXME: this list is incomplete */ /* input types */ @@ -3487,7 +3503,23 @@ 0x00, /* PLL write address */ TSA552x_SCONTROL, /* control byte for PLL */ { 0x00, 0x00 }, /* band-switch crosspoints */ - { 0xa0, 0x90, 0x30 } } /* the band-switch values */ + { 0xa0, 0x90, 0x30 } }, /* the band-switch values */ + + /* TEMIC_PAL I */ + { "Temic PAL I", /* the 'name' */ + TTYPE_PAL, /* input type */ + TEMIC_PALI_WADDR, /* PLL write address */ + TSA552x_SCONTROL, /* control byte for PLL */ + { 0x00, 0x00 }, /* band-switch crosspoints */ + { 0x02, 0x04, 0x01 } }, /* the band-switch values */ + + /* PHILIPS_PAL */ + { "Philips PAL I", /* the 'name' */ + TTYPE_PAL, /* input type */ + 0x00, /* PLL write address */ + TSA552x_SCONTROL, /* control byte for PLL */ + { 0x00, 0x00 }, /* band-switch crosspoints */ + { 0xa0, 0x90, 0x30 } }, /* the band-switch values */ }; @@ -3527,12 +3559,19 @@ { int card; int status; + bt848_ptr_t bt848; + + bt848 = bktr->base; #if defined( OVERRIDE_CARD ) bktr->card = cards[ (card = OVERRIDE_CARD) ]; goto checkTuner; #endif + bt848->gpio_out_en = 0; + if (bootverbose) + printf("bktr: GPIO is 0x%08x\n", bt848->gpio_data); + /* look for a tuner */ if ( i2cRead( bktr, TSA552x_RADDR ) == ABSENT ) { bktr->card = cards[ (card = CARD_INTEL) ]; @@ -3562,26 +3601,40 @@ #endif /* differentiate type of tuner */ - if ( i2cRead( bktr, TEMIC_NTSC_RADDR ) != ABSENT ) { + switch (card) { + case CARD_MIRO: + switch (((bt848->gpio_data >> 10)-1)&7) { + case 0: bktr->card.tuner = &tuners[ TEMIC_PAL ]; + case 1: bktr->card.tuner = &tuners[ PHILIPS_PAL ]; + case 2: bktr->card.tuner = &tuners[ PHILIPS_NTSC ]; + case 3: bktr->card.tuner = &tuners[ PHILIPS_SECAM ]; + case 4: bktr->card.tuner = &tuners[ NO_TUNER ]; + case 5: bktr->card.tuner = &tuners[ PHILIPS_PALI ]; + case 6: bktr->card.tuner = &tuners[ TEMIC_NTSC ]; + case 7: bktr->card.tuner = &tuners[ TEMIC_PALI ]; + } + break; + default: + if ( i2cRead( bktr, TEMIC_NTSC_RADDR ) != ABSENT ) { bktr->card.tuner = &tuners[ TEMIC_NTSC ]; goto checkDBX; - } + } - if ( i2cRead( bktr, PHILIPS_NTSC_RADDR ) != ABSENT ) { + if ( i2cRead( bktr, PHILIPS_NTSC_RADDR ) != ABSENT ) { bktr->card.tuner = &tuners[ PHILIPS_NTSC ]; goto checkDBX; - } + } - if ( card == CARD_HAUPPAUGE ) { + if ( card == CARD_HAUPPAUGE ) { if ( i2cRead( bktr, TEMIC_PALI_RADDR ) != ABSENT ) { - bktr->card.tuner = &tuners[ TEMIC_PAL ]; - goto checkDBX; + bktr->card.tuner = &tuners[ TEMIC_PAL ]; + goto checkDBX; } + } + /* no tuner found */ + bktr->card.tuner = &tuners[ NO_TUNER ]; } - /* no tuner found */ - bktr->card.tuner = &tuners[ NO_TUNER ]; - checkDBX: #if defined( OVERRIDE_DBX ) bktr->card.dbx = OVERRIDE_DBX; @@ -4230,4 +4283,5 @@ /* c-label-offset: -8 */ /* c-continued-statement-offset: 8 */ /* c-tab-always-indent: nil */ +/* tab-width: 8 */ /* End: */ From owner-freebsd-multimedia Sun Oct 26 20:14:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12309 for multimedia-outgoing; Sun, 26 Oct 1997 20:14:10 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 UAA12304 for ; Sun, 26 Oct 1997 20:14:08 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id UAA00227; Sun, 26 Oct 1997 20:13:57 -0800 (PST) Message-Id: <199710270413.UAA00227@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Eivind Eklund cc: multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-reply-to: Your message of "Mon, 27 Oct 1997 03:02:30 +0100." <199710270202.DAA00345@bitbox.follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Oct 1997 20:13:56 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This patch looks good and I just tried out on my system so if it works with other PAL and NTSC users then I suggest checking the code in. Please allow a day for people to try out the patch after that if we don't get any feedback just check the code in. Tnks! Amancio From owner-freebsd-multimedia Sun Oct 26 20:24:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12849 for multimedia-outgoing; Sun, 26 Oct 1997 20:24:25 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 UAA12834 for ; Sun, 26 Oct 1997 20:24:18 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id UAA00307 for ; Sun, 26 Oct 1997 20:24:11 -0800 (PST) Message-Id: <199710270424.UAA00307@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: multimedia@freebsd.org Subject: Couch Potatoes Dream: IR control !! Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Oct 1997 20:24:10 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve IR project: http://www.freebsd.org/~fsmp/HomeAuto/HomeAuto.html This an http pointer to Linux Infrared Remote Control project which is going to be folded into the linux bt848 project. http://www.thp.Uni-Koeln.DE/~rjkm/lirc/index.html Now both projects so far required you to build the IR controller and I guess if I put my mind to it I can probably build however I don't think is feasible for our typical couch potatoes to build IR controller it is much easier to buy one and hopefully cheap. So am looking around for an RS-232 IR controller so I can control fxtv 8) Tnks, Amancio From owner-freebsd-multimedia Sun Oct 26 21:09:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA15193 for multimedia-outgoing; Sun, 26 Oct 1997 21:09:29 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from silver.sms.fi (silver.sms.fi [194.111.122.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA15186 for ; Sun, 26 Oct 1997 21:09:25 -0800 (PST) (envelope-from pete@silver.sms.fi) Received: (from pete@localhost) by silver.sms.fi (8.8.7/8.7.3) id HAA24291; Mon, 27 Oct 1997 07:09:02 +0200 (EET) Date: Mon, 27 Oct 1997 07:09:02 +0200 (EET) Message-Id: <199710270509.HAA24291@silver.sms.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Petri Helenius To: Amancio Hasty Cc: multimedia@FreeBSD.ORG Subject: Couch Potatoes Dream: IR control !! In-Reply-To: <199710270424.UAA00307@rah.star-gate.com> References: <199710270424.UAA00307@rah.star-gate.com> X-Mailer: VM 6.22 under 19.15p7 XEmacs Lucid Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty writes: > > Steve IR project: > > http://www.freebsd.org/~fsmp/HomeAuto/HomeAuto.html > > > This an http pointer to Linux Infrared Remote Control project > which is going to be folded into the linux bt848 project. > http://www.thp.Uni-Koeln.DE/~rjkm/lirc/index.html > > > Now both projects so far required you to build the IR controller and > I guess if I put my mind to it I can probably build however I don't > think is feasible for our typical couch potatoes to build > IR controller it is much easier to buy one and hopefully cheap. > Why not use something like http://www.casco.com/page5.htm ? Pete From owner-freebsd-multimedia Sun Oct 26 21:39:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA16623 for multimedia-outgoing; Sun, 26 Oct 1997 21:39:23 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 VAA16618 for ; Sun, 26 Oct 1997 21:39:20 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id VAA00262; Sun, 26 Oct 1997 21:38:32 -0800 (PST) Message-Id: <199710270538.VAA00262@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Petri Helenius cc: multimedia@FreeBSD.ORG Subject: Re: Couch Potatoes Dream: IR control !! In-reply-to: Your message of "Mon, 27 Oct 1997 07:09:02 +0200." <199710270509.HAA24291@silver.sms.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Oct 1997 21:38:31 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Most cool I will order one tomorrow 8) Tnks! Amancio > Amancio Hasty writes: > > > > Steve IR project: > > > > http://www.freebsd.org/~fsmp/HomeAuto/HomeAuto.html > > > > > > This an http pointer to Linux Infrared Remote Control project > > which is going to be folded into the linux bt848 project. > > http://www.thp.Uni-Koeln.DE/~rjkm/lirc/index.html > > > > > > Now both projects so far required you to build the IR controller and > > I guess if I put my mind to it I can probably build however I don't > > think is feasible for our typical couch potatoes to build > > IR controller it is much easier to buy one and hopefully cheap. > > > Why not use something like http://www.casco.com/page5.htm ? > > Pete From owner-freebsd-multimedia Mon Oct 27 02:52:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA07731 for multimedia-outgoing; Mon, 27 Oct 1997 02:52:17 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from rz5.rz.fh-wilhelmshaven.de (root@rz5.rz.fh-wilhelmshaven.de [139.13.57.132]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA07725 for ; Mon, 27 Oct 1997 02:52:12 -0800 (PST) (envelope-from fuge@rz5.rz.fh-wilhelmshaven.de) Received: from astapc5.ze.fh-wilhelmshaven.de by rz5.rz.fh-wilhelmshaven.de with SMTP id LAA06077; Mon, 27 Oct 1997 11:52:04 +0100 Message-ID: <34547248.25FA@fbe.fh-wilhelmshaven.de> Date: Mon, 27 Oct 1997 11:51:52 +0100 From: Henning Fuge Reply-To: fuge@rz5.rz.fh-wilhelmshaven.de Organization: FH Wilhelmshaven X-Mailer: Mozilla 3.01 (Win95; I) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Bt819A Support for Linux Content-Type: text/plain; charset=iso-8859-1 X-MIME-Autoconverted: from 8bit to quoted-printable by rz5.rz.fh-wilhelmshaven.de id LAA06077 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id CAA07726 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi there, i am owner of a SPEA MIRAGE VIDEO TV card, and want to use it´s features under Linux. On this board are the following chips: Brootree Bt819A Video Decoder Philips SAA5246A Teletext Decoder S3 Trio64v+ Graphics Processor and a very difficult to identify tuner. (I´m working on this) Can you tell me, if there is the possibility to support this chips in your project or can you help me developing an own device driver? Thanks, Henning Fuge fuge@fbe.fh-wilhelmshaven.de From owner-freebsd-multimedia Mon Oct 27 05:56:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA20888 for multimedia-outgoing; Mon, 27 Oct 1997 05:56:02 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br ([146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA20861 for ; Mon, 27 Oct 1997 05:55:48 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id LAA22646; Mon, 27 Oct 1997 11:55:24 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199710271355.LAA22646@gaia.coppe.ufrj.br> Subject: Re: Bt848 driver patches In-Reply-To: <199710270202.DAA00345@bitbox.follo.net> from Eivind Eklund at "Oct 27, 97 03:02:30 am" To: eivind@bitbox.follo.net (Eivind Eklund) Date: Mon, 27 Oct 1997 11:55:23 -0200 (EDT) Cc: multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Eivind Eklund) ... // +/* # define BT848_IFORM_F_NTSCM (0x1) */ // + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, ... // +/* # define BT848_IFORM_F_PALM (0x4) */ // + { 625, 32, 576, 910, 186, 922, 640, 780, 25, 0x68, 0x5d, BT848_IFORM_X_XT0 }, I have not yet tested your code, but PAL/M is just like NTSC when dealing with B/W format. In other words: 525x60 and not 625x50... It's the M suffix that defines B/W mode. Hey guys, remember: PAL is a TLA for Phase Alternated Line. It does not specify a resolution, but an encoding of the color signal. // case BT848_IFORM_F_NTSCM: // case BT848_IFORM_F_NTSCJ: // - case BT848_IFORM_F_PALM: That's why this line was here... // case BT848_IFORM_F_PALBDGHI: // case BT848_IFORM_F_PALN: // case BT848_IFORM_F_SECAM: // case BT848_IFORM_F_RSVD: // + case BT848_IFORM_F_PALM: ...and not here. And this part of code works. I use it everyday. :) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Mon Oct 27 07:25:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA25875 for multimedia-outgoing; Mon, 27 Oct 1997 07:25:59 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA25863 for ; Mon, 27 Oct 1997 07:25:48 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id PAA29219; Mon, 27 Oct 1997 15:25:28 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id QAA02082; Mon, 27 Oct 1997 16:25:25 +0100 (MET) Date: Mon, 27 Oct 1997 16:25:25 +0100 (MET) Message-Id: <199710271525.QAA02082@bitbox.follo.net> From: Eivind Eklund To: Joao Carlos Mendes Luis CC: multimedia@FreeBSD.ORG In-reply-to: Joao Carlos Mendes Luis's message of Mon, 27 Oct 1997 11:55:23 -0200 (EDT) Subject: Re: Bt848 driver patches References: <199710270202.DAA00345@bitbox.follo.net> <199710271355.LAA22646@gaia.coppe.ufrj.br> Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > #define quoting(Eivind Eklund) > ... > // +/* # define BT848_IFORM_F_NTSCM (0x1) */ > // + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, > ... > // +/* # define BT848_IFORM_F_PALM (0x4) */ > // + { 625, 32, 576, 910, 186, 922, 640, 780, 25, 0x68, 0x5d, BT848_IFORM_X_XT0 }, > > I have not yet tested your code, but PAL/M is just like NTSC when dealing > with B/W format. In other words: 525x60 and not 625x50... OK, is { 525, 22, 480, 910, 186, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, correct then? Can you test it? > // case BT848_IFORM_F_NTSCM: > // case BT848_IFORM_F_NTSCJ: > // - case BT848_IFORM_F_PALM: > > That's why this line was here... > > // case BT848_IFORM_F_PALBDGHI: > // case BT848_IFORM_F_PALN: > // case BT848_IFORM_F_SECAM: > // case BT848_IFORM_F_RSVD: > // + case BT848_IFORM_F_PALM: > > ...and not here. And this part of code works. I use it everyday. :) This part of the code did not work for me; it might have worked for PAL/M, but not for e.g. PAL/N mode. However, that part of the code is now changed to only to only set the Meteor flags to match PAL/NTSC, and calling PAL/M PAL instead of NTSC seemed reasonable to me. Eivind. From owner-freebsd-multimedia Mon Oct 27 08:49:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA02038 for multimedia-outgoing; Mon, 27 Oct 1997 08:49:15 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 IAA02024 for ; Mon, 27 Oct 1997 08:49:10 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id IAA07994; Mon, 27 Oct 1997 08:48:51 -0800 (PST) Message-Id: <199710271648.IAA07994@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: fuge@rz5.rz.fh-wilhelmshaven.de cc: multimedia@FreeBSD.ORG Subject: Re: Bt819A Support for Linux In-reply-to: Your message of "Mon, 27 Oct 1997 11:51:52 +0100." <34547248.25FA@fbe.fh-wilhelmshaven.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 27 Oct 1997 08:48:50 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk There is a linux bt848 project driver indepent of the freebsd one : http://www.thp.uni-koeln.de/~rjkm/linux/bttv.html Brad Parker ported our bt848 driver to linux. At http://www.freebsd.org/~ahasty/Bt848.html in the Miscellaneous section there is a pointer to the bt848/bt848a/bt849 data book which has detail programming info for the various version of the chipsets as well as programming info on the bt848. My suggestion is to first read the data book, locate data sheet for your tuner, decide which driver to use and finally add support for the bt849 we can all benefit by the free exchange of information even if you don't use our driver. Cheers, Amancio From owner-freebsd-multimedia Mon Oct 27 09:44:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA08798 for multimedia-outgoing; Mon, 27 Oct 1997 09:44:03 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA08763 for ; Mon, 27 Oct 1997 09:43:54 -0800 (PST) (envelope-from fbsd@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id KAA19238; Mon, 27 Oct 1997 10:43:36 -0700 (MST) Message-Id: <199710271743.KAA19238@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Petri Helenius cc: Amancio Hasty , multimedia@FreeBSD.ORG Subject: Re: Couch Potatoes Dream: IR control !! In-reply-to: Your message of "Mon, 27 Oct 1997 07:09:02 +0200." <199710270509.HAA24291@silver.sms.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 27 Oct 1997 10:43:36 -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > > http://www.freebsd.org/~fsmp/HomeAuto/HomeAuto.html > > > > > > This an http pointer to Linux Infrared Remote Control project > > which is going to be folded into the linux bt848 project. > > http://www.thp.Uni-Koeln.DE/~rjkm/lirc/index.html > > > > > > Now both projects so far required you to build the IR controller and > > I guess if I put my mind to it I can probably build however I don't > > think is feasible for our typical couch potatoes to build > > IR controller it is much easier to buy one and hopefully cheap. > > > Why not use something like http://www.casco.com/page5.htm ? I looked over the web page for this device and called their 800 number. First, it looks to me like this is strictly a IR mouse, ie., it wont control other IR equipment such as stereo, etc. (am I correct here?). Second, it appears that you need to use a wonk95 program to "program" the 29 programmable keys. I have a call expected back from their tech support person, will post when I have more info... Assumming that either they cough up the programming info, or that we can reverse-engineer it, this would be a great device, expecially at US$19.95! Another alternative would be the X10 Activision system: http://www.activehome.com/www-activehome-com/index1.htm this device is both an RF X10 controller and universal IR remote. So it could be used to control other IR equipment (with the hand-held device, NOT by computer) and the fxtv program by assigning an x10 room as a virtual device and decoding x10 traffic for that room as fxtv commands. This could be done either with my x10 daemon, or a more direct extension to fxtv. The programming protocal for this device (x10 CM11A) is published. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-multimedia Mon Oct 27 14:16:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA00862 for multimedia-outgoing; Mon, 27 Oct 1997 14:16:47 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fani.fidata.fi (fani.fidata.fi [193.64.102.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA00848 for ; Mon, 27 Oct 1997 14:16:38 -0800 (PST) (envelope-from tomppa@zeta.fidata.fi) Received: from zeta.fidata.fi (tomppa@zeta.fidata.fi [193.64.103.213]) by fani.fidata.fi (8.8.5/8.8.5) with ESMTP id AAA00161; Tue, 28 Oct 1997 00:16:33 +0200 (EET) Received: (from tomppa@localhost) by zeta.fidata.fi (8.8.5/8.8.5) id AAA07436; Tue, 28 Oct 1997 00:16:33 +0200 (EET) Date: Tue, 28 Oct 1997 00:16:33 +0200 (EET) Message-Id: <199710272216.AAA07436@zeta.fidata.fi> From: Tomi Vainio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eivind Eklund CC: freebsd-multimedia@FreeBSD.ORG Subject: Bt848 driver patches In-Reply-To: <199710270202.DAA00345@bitbox.follo.net> References: <199710270202.DAA00345@bitbox.follo.net> X-Mailer: VM 6.33 under 19.15 XEmacs Lucid Reply-To: tomppa@fidata.fi Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund writes: > The following patches add PAL support, and make some more of the code > table-driven than before. Beware that I don't know the correct magic > for RSVD - heck, I don't even know what it means :-) > Your patch broke my tuner mode with Hauppauge model 406 PAL/BDGHI. Tomppa -- Tomi Vainio Mail: tomppa@iki.fi Phone: +358 (0)50 1529 From owner-freebsd-multimedia Mon Oct 27 14:57:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA03304 for multimedia-outgoing; Mon, 27 Oct 1997 14:57:02 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA03292 for ; Mon, 27 Oct 1997 14:56:49 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id WAA03104; Mon, 27 Oct 1997 22:56:42 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id XAA03407; Mon, 27 Oct 1997 23:56:39 +0100 (MET) Message-ID: <19971027235639.09278@bitbox.follo.net> Date: Mon, 27 Oct 1997 23:56:39 +0100 From: Eivind Eklund To: tomppa@fidata.fi, Joao Carlos Mendes Luis Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches References: <199710270202.DAA00345@bitbox.follo.net> <199710272216.AAA07436@zeta.fidata.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: <199710272216.AAA07436@zeta.fidata.fi>; from Tomi Vainio on Tue, Oct 28, 1997 at 12:16:33AM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Oct 28, 1997 at 12:16:33AM +0200, Tomi Vainio wrote: > Eivind Eklund writes: > > The following patches add PAL support, and make some more of the code > > table-driven than before. Beware that I don't know the correct magic > > for RSVD - heck, I don't even know what it means :-) > > > Your patch broke my tuner mode with Hauppauge model 406 PAL/BDGHI. Ouch - serious typo, NTSC-based instead of PAL-based. Try these two modelines, instead: /* # define BT848_IFORM_F_PALBDGHI (0x3) */ { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT1 }, OR /* # define BT848_IFORM_F_PALBDGHI (0x3) */ { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT0 }, XT0 matches what we had before; XT1 matches what the Linux driver has for PAL/BGDHI. Given that we only used XT0 before, while bttv distinush between them, I'd guess it is doing closer to 'the right thing'. Eivind. Here is a patch that include the upper of these ones, as well as adding som missing break statements and modifying the PAL/M entry to (hopefully) be correct. Please test (and sorry for the previous broken patch). Index: brktree_reg.h =================================================================== RCS file: /home/ncvs/src/sys/pci/brktree_reg.h,v retrieving revision 1.8 diff -u -r1.8 brktree_reg.h --- brktree_reg.h 1997/10/07 06:30:00 1.8 +++ brktree_reg.h 1997/10/27 01:23:02 @@ -337,6 +337,10 @@ int horizontal, vertical; /* frame rate . for ntsc is 30 frames per second */ int frame_rate; +/* A-delay and B-delay */ + u_char adelay, bdelay; +/* Iform XTSEL value */ + int iform_xtsel; }; Index: brooktree848.c =================================================================== RCS file: /home/ncvs/src/sys/pci/brooktree848.c,v retrieving revision 1.16 diff -u -r1.16 brooktree848.c --- brooktree848.c 1997/10/08 06:54:43 1.16 +++ brooktree848.c 1997/10/27 22:31:03 @@ -406,10 +406,23 @@ */ static struct format_params format_params[] = { -#define FORMAT_PARAMS_NTSC525 0 - { 525, 22, 480, 910, 135, 754, 640, 780, 30 }, -#define FORMAT_PARAMS_PAL625 1 - { 625, 32, 576, 1135, 186, 922, 768, 944, 25 } +/* # define BT848_IFORM_F_AUTO (0x0) - don't matter. */ + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, 0 }, +/* # define BT848_IFORM_F_NTSCM (0x1) */ + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, +/* # define BT848_IFORM_F_NTSCJ (0x2) */ + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, +/* # define BT848_IFORM_F_PALBDGHI (0x3) */ + { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT1 }, +/* # define BT848_IFORM_F_PALM (0x4) */ + { 525, 22, 480, 910, 186, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, +/*{ 625, 32, 576, 910, 186, 922, 640, 780, 25, 0x68, 0x5d, BT848_IFORM_X_XT0 }, */ +/* # define BT848_IFORM_F_PALN (0x5) */ + { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT1 }, +/* # define BT848_IFORM_F_SECAM (0x6) */ + { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x00, BT848_IFORM_X_XT1 }, +/* # define BT848_IFORM_F_RSVD (0x7) - ???? */ + { 625, 32, 576, 1135, 186, 922, 768, 944, 25, 0x7f, 0x72, BT848_IFORM_X_XT0 }, }; /* @@ -1070,7 +1083,7 @@ BT848_IFORM_X_XT0 | BT848_IFORM_F_NTSCM; bktr->flags = (bktr->flags & ~METEOR_DEV_MASK) | METEOR_DEV0; - bktr->format_params = FORMAT_PARAMS_NTSC525; + bktr->format_params = BT848_IFORM_F_NTSCM; bktr->max_clip_node = 0; @@ -1130,7 +1143,7 @@ /* enable drivers on the GPIO port that control the MUXes */ bktr->base->gpio_out_en = GPIO_AUDIOMUX_BITS; - /* unmure the audio stream */ + /* unmute the audio stream */ set_audio( bktr, AUDIO_UNMUTE ); /* enable stereo if appropriate */ @@ -1399,7 +1412,7 @@ case BT848SFMT: /* set input format */ temp = *(unsigned long*)arg & BT848_IFORM_FORMAT; bt848->iform &= ~BT848_IFORM_FORMAT; - bt848->iform |= temp; + bt848->iform |= (temp | format_params[temp].iform_xtsel); switch( temp ) { case BT848_IFORM_F_AUTO: bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | @@ -1408,23 +1421,25 @@ case BT848_IFORM_F_NTSCM: case BT848_IFORM_F_NTSCJ: - case BT848_IFORM_F_PALM: bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | - METEOR_NTSC; - bt848->adelay = 0x68; - bt848->bdelay = 0x5d; - bktr->format_params = FORMAT_PARAMS_NTSC525; + METEOR_NTSC; + bt848->adelay = format_params[temp].adelay; + bt848->bdelay = format_params[temp].bdelay; + bktr->format_params = temp; break; case BT848_IFORM_F_PALBDGHI: case BT848_IFORM_F_PALN: case BT848_IFORM_F_SECAM: case BT848_IFORM_F_RSVD: + case BT848_IFORM_F_PALM: bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | METEOR_PAL; - bt848->adelay = 0x7f; - bt848->bdelay = 0x72; - bktr->format_params = FORMAT_PARAMS_PAL625; + bt848->adelay = format_params[temp].adelay; + bt848->bdelay = format_params[temp].bdelay; + bktr->format_params = temp; + break; + } break; @@ -1438,7 +1453,7 @@ bt848->iform |= BT848_IFORM_F_NTSCM; bt848->adelay = 0x68; bt848->bdelay = 0x5d; - bktr->format_params = FORMAT_PARAMS_NTSC525; + bktr->format_params = BT848_IFORM_F_NTSCM; break; case METEOR_FMT_PAL: @@ -1448,7 +1463,7 @@ bt848->iform |= BT848_IFORM_F_PALBDGHI; bt848->adelay = 0x7f; bt848->bdelay = 0x72; - bktr->format_params = FORMAT_PARAMS_PAL625; + bktr->format_params = BT848_IFORM_F_PALBDGHI; break; case METEOR_FMT_AUTOMODE: @@ -3410,6 +3425,8 @@ #define PHILIPS_NTSC 4 #define PHILIPS_PAL 5 #define PHILIPS_SECAM 6 +#define TEMIC_PALI 7 +#define PHILIPS_PALI 8 /* XXX FIXME: this list is incomplete */ /* input types */ @@ -3487,7 +3504,23 @@ 0x00, /* PLL write address */ TSA552x_SCONTROL, /* control byte for PLL */ { 0x00, 0x00 }, /* band-switch crosspoints */ - { 0xa0, 0x90, 0x30 } } /* the band-switch values */ + { 0xa0, 0x90, 0x30 } }, /* the band-switch values */ + + /* TEMIC_PAL I */ + { "Temic PAL I", /* the 'name' */ + TTYPE_PAL, /* input type */ + TEMIC_PALI_WADDR, /* PLL write address */ + TSA552x_SCONTROL, /* control byte for PLL */ + { 0x00, 0x00 }, /* band-switch crosspoints */ + { 0x02, 0x04, 0x01 } }, /* the band-switch values */ + + /* PHILIPS_PAL */ + { "Philips PAL I", /* the 'name' */ + TTYPE_PAL, /* input type */ + 0x00, /* PLL write address */ + TSA552x_SCONTROL, /* control byte for PLL */ + { 0x00, 0x00 }, /* band-switch crosspoints */ + { 0xa0, 0x90, 0x30 } }, /* the band-switch values */ }; @@ -3527,12 +3560,19 @@ { int card; int status; + bt848_ptr_t bt848; + + bt848 = bktr->base; #if defined( OVERRIDE_CARD ) bktr->card = cards[ (card = OVERRIDE_CARD) ]; goto checkTuner; #endif + bt848->gpio_out_en = 0; + if (bootverbose) + printf("bktr: GPIO is 0x%08x\n", bt848->gpio_data); + /* look for a tuner */ if ( i2cRead( bktr, TSA552x_RADDR ) == ABSENT ) { bktr->card = cards[ (card = CARD_INTEL) ]; @@ -3562,26 +3602,40 @@ #endif /* differentiate type of tuner */ - if ( i2cRead( bktr, TEMIC_NTSC_RADDR ) != ABSENT ) { + switch (card) { + case CARD_MIRO: + switch (((bt848->gpio_data >> 10)-1)&7) { + case 0: bktr->card.tuner = &tuners[ TEMIC_PAL ]; break; + case 1: bktr->card.tuner = &tuners[ PHILIPS_PAL ]; break; + case 2: bktr->card.tuner = &tuners[ PHILIPS_NTSC ]; break; + case 3: bktr->card.tuner = &tuners[ PHILIPS_SECAM ]; break; + case 4: bktr->card.tuner = &tuners[ NO_TUNER ]; break; + case 5: bktr->card.tuner = &tuners[ PHILIPS_PALI ]; break; + case 6: bktr->card.tuner = &tuners[ TEMIC_NTSC ]; break; + case 7: bktr->card.tuner = &tuners[ TEMIC_PALI ]; break; + } + break; + default: + if ( i2cRead( bktr, TEMIC_NTSC_RADDR ) != ABSENT ) { bktr->card.tuner = &tuners[ TEMIC_NTSC ]; goto checkDBX; - } + } - if ( i2cRead( bktr, PHILIPS_NTSC_RADDR ) != ABSENT ) { + if ( i2cRead( bktr, PHILIPS_NTSC_RADDR ) != ABSENT ) { bktr->card.tuner = &tuners[ PHILIPS_NTSC ]; goto checkDBX; - } + } - if ( card == CARD_HAUPPAUGE ) { + if ( card == CARD_HAUPPAUGE ) { if ( i2cRead( bktr, TEMIC_PALI_RADDR ) != ABSENT ) { - bktr->card.tuner = &tuners[ TEMIC_PAL ]; - goto checkDBX; + bktr->card.tuner = &tuners[ TEMIC_PAL ]; + goto checkDBX; } + } + /* no tuner found */ + bktr->card.tuner = &tuners[ NO_TUNER ]; } - /* no tuner found */ - bktr->card.tuner = &tuners[ NO_TUNER ]; - checkDBX: #if defined( OVERRIDE_DBX ) bktr->card.dbx = OVERRIDE_DBX; @@ -4230,4 +4284,5 @@ /* c-label-offset: -8 */ /* c-continued-statement-offset: 8 */ /* c-tab-always-indent: nil */ +/* tab-width: 8 */ /* End: */ From owner-freebsd-multimedia Mon Oct 27 15:17:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA04694 for multimedia-outgoing; Mon, 27 Oct 1997 15:17:20 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from easystreet04.easystreet.com (easystreet04.easystreet.com [206.26.36.37]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA04675 for ; Mon, 27 Oct 1997 15:17:10 -0800 (PST) (envelope-from geneman@mail.easystreet.com) Received: from TTD_LAB1 ([131.241.46.232]) by easystreet04.easystreet.com (8.8.7/8.8.7) with SMTP id PAA15570 for ; Mon, 27 Oct 1997 15:15:02 -0800 (PST) Message-Id: <3.0.3.32.19971027151614.007bea80@easystreet.com> X-Sender: geneman@easystreet.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) Date: Mon, 27 Oct 1997 15:16:14 -0800 To: freebsd-multimedia@freebsd.org From: Gene Cristofor Subject: Need 2.2.2 driver upgrade Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have FreeBSD 2.2.2 and a SB 16 PnP sound board - where can I get the driver Doug is talking about? Needless to say, the vanilla 2.2.2 doesn't work with PnP hardware... thanks >Date: Sun, 26 Oct 1997 23:21:24 -0800 (PST) >From: Doug White >Subject: Re: SB16 card > >If your SB16 is Plug&Pray, contact multimedia@freebsd.org for a driver >upgrade. > >Doug White | University of Oregon >Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant >http://gladstone.uoregon.edu/~dwhite | Computer Science Major > From owner-freebsd-multimedia Mon Oct 27 18:56:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA18441 for multimedia-outgoing; Mon, 27 Oct 1997 18:56:13 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from mail.easystreet.com (root@mail.easystreet.com [206.26.36.40]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA18436 for ; Mon, 27 Oct 1997 18:56:07 -0800 (PST) (envelope-from geneman@easystreet.com) Received: from dns1.easystreet.com (dial-56-054.easystreet.com [206.103.56.54]) by mail.easystreet.com (8.8.7/8.8.7) with SMTP id SAA07597 for ; Mon, 27 Oct 1997 18:56:03 -0800 (PST) Message-Id: <3.0.3.32.19971027185540.007a8d70@easystreet.com> X-Sender: geneman@easystreet.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) Date: Mon, 27 Oct 1997 18:55:40 -0800 To: freebsd-multimedia@freebsd.org From: Gene Cristofor Subject: SB 16 PnP Driver update Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I need a driver update for my Sound Blaster 16 PnP that FreeBSD 2.2.2 does not see at boot time. Pls. advise what to get and from where... thanks -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBNFVUK0vypzUyrL9yEQKWVQCgxHSE4bQZTGwVk+S6P3DfVgo9joYAoPyJ fW3g+Z9MUtjJwB9moNVOP/SE =aIlW -----END PGP SIGNATURE----- From owner-freebsd-multimedia Mon Oct 27 22:39:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA00908 for multimedia-outgoing; Mon, 27 Oct 1997 22:39:53 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA00900 for ; Mon, 27 Oct 1997 22:39:47 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA05576; Tue, 28 Oct 1997 06:25:45 +0100 From: Luigi Rizzo Message-Id: <199710280525.GAA05576@labinfo.iet.unipi.it> Subject: Re: SB 16 PnP Driver update To: geneman@mail.easystreet.com (Gene Cristofor) Date: Tue, 28 Oct 1997 06:25:44 +0100 (MET) Cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <3.0.3.32.19971027185540.007a8d70@easystreet.com> from "Gene Cristofor" at Oct 27, 97 06:55:21 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I need a driver update for my Sound Blaster 16 PnP that FreeBSD 2.2.2 > does not see at boot time. > Pls. advise what to get and from where... Either of these guspnp at ftp://rah.star-gate.com/ new audio driver at http://www.iet.unipi.it/~luigi/FreeBSD.html Cheers Luigi From owner-freebsd-multimedia Mon Oct 27 22:41:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA01021 for multimedia-outgoing; Mon, 27 Oct 1997 22:41:52 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA01014 for ; Mon, 27 Oct 1997 22:41:46 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA05592; Tue, 28 Oct 1997 06:28:01 +0100 From: Luigi Rizzo Message-Id: <199710280528.GAA05592@labinfo.iet.unipi.it> Subject: Re: Need 2.2.2 driver upgrade To: geneman@mail.easystreet.com (Gene Cristofor) Date: Tue, 28 Oct 1997 06:28:01 +0100 (MET) Cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <3.0.3.32.19971027151614.007bea80@easystreet.com> from "Gene Cristofor" at Oct 27, 97 03:15:55 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I have FreeBSD 2.2.2 and a SB 16 PnP sound board - where can I get > the driver Doug is talking about? Needless to say, the vanilla 2.2.2 > doesn't work with PnP hardware... ftp://rah.star-gate.com/ http://www.iet.unipi.it/~luigi/FreeBSD.html for the guspnp (derived from Voxware 3.5) or the new FreeBSD audio driver (a complete rewrite) Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Tue Oct 28 09:39:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA06468 for multimedia-outgoing; Tue, 28 Oct 1997 09:39:46 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 JAA06463 for ; Tue, 28 Oct 1997 09:39:43 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id JAA02263; Tue, 28 Oct 1997 09:38:21 -0800 (PST) Message-Id: <199710281738.JAA02263@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Steve Passe cc: Petri Helenius , multimedia@FreeBSD.ORG Subject: Re: Couch Potatoes Dream: IR control !! In-reply-to: Your message of "Mon, 27 Oct 1997 10:43:36 MST." <199710271743.KAA19238@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Oct 1997 09:38:20 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Guys, At $19.95 , I decided to just order the gadget and the reason is that is very hard to get from companies how well the device works. Currently, they are out of stock however my unit should arrive some time next week. Cheers, Amancio > Hi, > > > > http://www.freebsd.org/~fsmp/HomeAuto/HomeAuto.html > > > > > > > > > This an http pointer to Linux Infrared Remote Control project > > > which is going to be folded into the linux bt848 project. > > > http://www.thp.Uni-Koeln.DE/~rjkm/lirc/index.html > > > > > > > > > Now both projects so far required you to build the IR controller and > > > I guess if I put my mind to it I can probably build however I don't > > > think is feasible for our typical couch potatoes to build > > > IR controller it is much easier to buy one and hopefully cheap. > > > > > Why not use something like http://www.casco.com/page5.htm ? > > I looked over the web page for this device and called their 800 number. > First, it looks to me like this is strictly a IR mouse, ie., it wont > control other IR equipment such as stereo, etc. (am I correct here?). > Second, it appears that you need to use a wonk95 program to "program" > the 29 programmable keys. I have a call expected back from their tech > support person, will post when I have more info... > Assumming that either they cough up the programming info, or that we > can reverse-engineer it, this would be a great device, expecially at > US$19.95! > > Another alternative would be the X10 Activision system: > > http://www.activehome.com/www-activehome-com/index1.htm > > this device is both an RF X10 controller and universal IR remote. So it could > be used to control other IR equipment (with the hand-held device, NOT by > computer) and the fxtv program by assigning an x10 room as a virtual device > and decoding x10 traffic for that room as fxtv commands. This could > be done either with my x10 daemon, or a more direct extension to fxtv. The > programming protocal for this device (x10 CM11A) is published. > > -- > Steve Passe | powered by > smp@csn.net | Symmetric MultiProcessor FreeBSD > > From owner-freebsd-multimedia Tue Oct 28 10:02:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA08279 for multimedia-outgoing; Tue, 28 Oct 1997 10:02:22 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 KAA08259 for ; Tue, 28 Oct 1997 10:02:10 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id KAA02371; Tue, 28 Oct 1997 10:01:24 -0800 (PST) Message-Id: <199710281801.KAA02371@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Eivind Eklund cc: tomppa@fidata.fi, Joao Carlos Mendes Luis , freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-reply-to: Your message of "Mon, 27 Oct 1997 23:56:39 +0100." <19971027235639.09278@bitbox.follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Oct 1997 10:01:23 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Guys, Hm.... we need feedback as to whether or not this patch is fixing the reported problems. Tnks, Amancio From owner-freebsd-multimedia Tue Oct 28 10:41:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11218 for multimedia-outgoing; Tue, 28 Oct 1997 10:41:08 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fani.fidata.fi (fani.fidata.fi [193.64.102.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA11208 for ; Tue, 28 Oct 1997 10:41:02 -0800 (PST) (envelope-from tomppa@zeta.fidata.fi) Received: from zeta.fidata.fi (tomppa@zeta.fidata.fi [193.64.103.213]) by fani.fidata.fi (8.8.5/8.8.5) with ESMTP id UAA03461; Tue, 28 Oct 1997 20:40:58 +0200 (EET) Received: (from tomppa@localhost) by zeta.fidata.fi (8.8.5/8.8.5) id UAA10614; Tue, 28 Oct 1997 20:40:58 +0200 (EET) Date: Tue, 28 Oct 1997 20:40:58 +0200 (EET) Message-Id: <199710281840.UAA10614@zeta.fidata.fi> From: Tomi Vainio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty CC: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-Reply-To: <199710281801.KAA02371@rah.star-gate.com> References: <19971027235639.09278@bitbox.follo.net> <199710281801.KAA02371@rah.star-gate.com> X-Mailer: VM 6.33 under 19.15 XEmacs Lucid Reply-To: tomppa@fidata.fi Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Now I have found that new bt849 hauppauge card gives picture on uhf channels 25 and 35 but no sound. Also there is nothing on vhf channels 6 and 8. These four are Finnish main channels that you should get from air here. Tomppa -- Tomi Vainio Mail: tomppa@iki.fi Phone: +358 (0)50 1529 From owner-freebsd-multimedia Tue Oct 28 13:18:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA21521 for multimedia-outgoing; Tue, 28 Oct 1997 13:18:54 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA21458 for ; Tue, 28 Oct 1997 13:18:15 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id TAA27193; Tue, 28 Oct 1997 19:15:29 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199710282115.TAA27193@gaia.coppe.ufrj.br> Subject: Re: Bt848 driver patches In-Reply-To: <199710281801.KAA02371@rah.star-gate.com> from Amancio Hasty at "Oct 28, 97 10:01:23 am" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Tue, 28 Oct 1997 19:15:29 -0200 (EDT) Cc: eivind@bitbox.follo.net, tomppa@fidata.fi, jonny@coppe.ufrj.br, freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Amancio Hasty) // Hi Guys, // // Hm.... we need feedback as to whether or not this patch is fixing the // reported problems. I should be the one to test the PAL/M modes, but the card I had at home was not mine and I had to give it back. The one I have at work cannot receive any PAL/M signal, since our university has a very bad TV reception. I promise to test it ASAP, but it will take some time. Sorry. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Tue Oct 28 14:10:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA25307 for multimedia-outgoing; Tue, 28 Oct 1997 14:10:23 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA25302 for ; Tue, 28 Oct 1997 14:10:17 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id WAA21241; Tue, 28 Oct 1997 22:09:51 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id XAA03758; Tue, 28 Oct 1997 23:09:49 +0100 (MET) Date: Tue, 28 Oct 1997 23:09:49 +0100 (MET) Message-Id: <199710282209.XAA03758@bitbox.follo.net> From: Eivind Eklund To: tomppa@fidata.fi CC: hasty@rah.star-gate.com, freebsd-multimedia@FreeBSD.ORG In-reply-to: Tomi Vainio's message of Tue, 28 Oct 1997 20:40:58 +0200 (EET) Subject: Re: Bt848 driver patches References: <19971027235639.09278@bitbox.follo.net> <199710281801.KAA02371@rah.star-gate.com> <199710281840.UAA10614@zeta.fidata.fi> Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Now I have found that new bt849 hauppauge card gives picture on uhf > channels 25 and 35 but no sound. Also there is nothing on vhf > channels 6 and 8. These four are Finnish main channels that you > should get from air here. In what case do it give picture? With the patches, or just the plain driver pre-patching? The lack of sound might be due to lack of support for the MSP3400C, which is used by some of the BT848 cards instead of the TDA9850 there is support for. Or something else entirely ;-) (I don't presently have sound; I'm going to work on that as soon as the previous patches have been OKed). Amancio: Do you think I should commit the patches as the stand now, even though we haven't got a verification for PAL/M mode? It is exactly equal to the NTSC mode as it was before; if it is bad, it'll probably be easier to get reports of this by just throwing it into the fray (as Jonny can't test for us :-( Eivind. From owner-freebsd-multimedia Tue Oct 28 14:40:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA27091 for multimedia-outgoing; Tue, 28 Oct 1997 14:40:15 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fani.fidata.fi (fani.fidata.fi [193.64.102.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA27084 for ; Tue, 28 Oct 1997 14:40:08 -0800 (PST) (envelope-from tomppa@zeta.fidata.fi) Received: from zeta.fidata.fi (tomppa@zeta.fidata.fi [193.64.103.213]) by fani.fidata.fi (8.8.5/8.8.5) with ESMTP id AAA03851; Wed, 29 Oct 1997 00:40:04 +0200 (EET) Received: (from tomppa@localhost) by zeta.fidata.fi (8.8.5/8.8.5) id AAA11409; Wed, 29 Oct 1997 00:40:04 +0200 (EET) Date: Wed, 29 Oct 1997 00:40:04 +0200 (EET) Message-Id: <199710282240.AAA11409@zeta.fidata.fi> From: Tomi Vainio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eivind Eklund CC: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-Reply-To: <199710282209.XAA03758@bitbox.follo.net> References: <19971027235639.09278@bitbox.follo.net> <199710281801.KAA02371@rah.star-gate.com> <199710281840.UAA10614@zeta.fidata.fi> <199710282209.XAA03758@bitbox.follo.net> X-Mailer: VM 6.33 under 19.15 XEmacs Lucid Reply-To: tomppa@fidata.fi Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund writes: > > > > Now I have found that new bt849 hauppauge card gives picture on uhf > > channels 25 and 35 but no sound. Also there is nothing on vhf > > channels 6 and 8. These four are Finnish main channels that you > > should get from air here. > > In what case do it give picture? With the patches, or just the plain > driver pre-patching? > Last test was done with patched driver. > The lack of sound might be due to lack of support for the MSP3400C, > which is used by some of the BT848 cards instead of the TDA9850 there > is support for. Or something else entirely ;-) (I don't presently > have sound; I'm going to work on that as soon as the previous patches > have been OKed). > Hauppauge uses TDA98?? chip. Do you have any information what are differences between 849 and 848 that might cause these troubles? Tomppa -- Tomi Vainio Mail: tomppa@iki.fi Phone: +358 (0)50 1529 From owner-freebsd-multimedia Tue Oct 28 14:42:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA27296 for multimedia-outgoing; Tue, 28 Oct 1997 14:42:57 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA27282 for ; Tue, 28 Oct 1997 14:42:45 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id UAA28762; Tue, 28 Oct 1997 20:41:59 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199710282241.UAA28762@gaia.coppe.ufrj.br> Subject: Re: GUS works! snd971022.tgz In-Reply-To: <199710230643.HAA26071@labinfo.iet.unipi.it> from Luigi Rizzo at "Oct 23, 97 07:43:25 am" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Tue, 28 Oct 1997 20:41:59 -0200 (EDT) Cc: multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Luigi Rizzo) // Just a brief note to tell that I now have guspnp support in my audio // driver. The relevant bits are available from // // http://www.iet.unipi.it/~luigi/snd971022.tgz // // there are still a few things to fix (e.g. some GUS cards seem to // produce a DC offset which can cause problems in vat -- i have a // fix contributed by Brad Karp which should go in the next snap; // also, on the card I have ulaw/alaw is still not working) but overall // the code works pretty well. Does not work for me. It can finally detect and initialize the chipset, but the audio sound is really bad. I got a 8000Hz U-Law file and cat'ed it to /dev/audio1. I could recognize the sound, but it had a signal/noise ratio, humm, very small. :) Got the same file (which sounds good with Amancio's driver) and converted it do 8bit signed and 16bit signed, both 22050 HZ. The 8 bit one sounded the same. The 16bit one made no sense at all. I used pcmio to play these. Also, I tried an old program of mine, to record and play some sounds. I found an incompatibility with OSS ioctl's. The ioctl to set stereo mode or number of channels (SNDCTL_DSP_STEREO ?) receives a -1 argument if you just want to look at the current state. This does not work in your driver. Last, but not least, I took some look at the problem with xmmix (the best one in my opinion) and found it to be an ioctl to detect if the mixer can select more than one input at a time or not. In OSS it's the SOUND_MIXER_READ_CAPS. This should be an easy one to implement. In OSS, the SoundBlaster driver takes 6 lines. Luigi ? :) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Tue Oct 28 15:07:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA28803 for multimedia-outgoing; Tue, 28 Oct 1997 15:07:02 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fani.fidata.fi (fani.fidata.fi [193.64.102.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA28796 for ; Tue, 28 Oct 1997 15:06:54 -0800 (PST) (envelope-from tomppa@zeta.fidata.fi) Received: from zeta.fidata.fi (tomppa@zeta.fidata.fi [193.64.103.213]) by fani.fidata.fi (8.8.5/8.8.5) with ESMTP id BAA03909; Wed, 29 Oct 1997 01:06:51 +0200 (EET) Received: (from tomppa@localhost) by zeta.fidata.fi (8.8.5/8.8.5) id BAA11518; Wed, 29 Oct 1997 01:06:51 +0200 (EET) Date: Wed, 29 Oct 1997 01:06:51 +0200 (EET) Message-Id: <199710282306.BAA11518@zeta.fidata.fi> From: Tomi Vainio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eivind Eklund CC: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-Reply-To: <199710282209.XAA03758@bitbox.follo.net> References: <19971027235639.09278@bitbox.follo.net> <199710281801.KAA02371@rah.star-gate.com> <199710281840.UAA10614@zeta.fidata.fi> <199710282209.XAA03758@bitbox.follo.net> X-Mailer: VM 6.33 under 19.15 XEmacs Lucid Reply-To: tomppa@fidata.fi Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund writes: > > > > Now I have found that new bt849 hauppauge card gives picture on uhf > > channels 25 and 35 but no sound. Also there is nothing on vhf > > channels 6 and 8. These four are Finnish main channels that you > > should get from air here. > > In what case do it give picture? With the patches, or just the plain > driver pre-patching? > I tried Philips band switch values and now vhf channels are working also but still no sound. Should I also try Philips PLL stuff or something? /* TEMIC_PAL */ { "Temic PAL", /* the 'name' */ TTYPE_PAL, /* input type */ TEMIC_PALI_WADDR, /* PLL write address */ TSA552x_SCONTROL, /* control byte for PLL */ { 0x00, 0x00 }, /* band-switch crosspoints */ /* { 0x02, 0x04, 0x01 } }, ** the band-switch values */ { 0xa0, 0x90, 0x30 } }, /* the band-switch values */ Tomppa -- Tomi Vainio Mail: tomppa@iki.fi Phone: +358 (0)50 1529 From owner-freebsd-multimedia Tue Oct 28 17:36:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA08624 for multimedia-outgoing; Tue, 28 Oct 1997 17:36:33 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA08617 for ; Tue, 28 Oct 1997 17:36:28 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: from zeus.coppe.ufrj.br (root@zeus.coppe.ufrj.br [146.164.63.6]) by gaia.coppe.ufrj.br (8.8.7/8.8.7) with ESMTP id XAA04938 for ; Tue, 28 Oct 1997 23:36:20 -0200 (EDT) (envelope-from jonny@zeus.coppe.ufrj.br) Received: (from jonny@localhost) by zeus.coppe.ufrj.br (8.8.7/8.8.7) id WAA06616 for multimedia@freebsd.org; Mon, 27 Oct 1997 22:21:43 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199710280021.WAA06616@zeus.coppe.ufrj.br> Subject: vic package with bktr support by default ? To: multimedia@freebsd.org Date: Mon, 27 Oct 1997 22:21:43 -0200 (EDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Maybe this is for Amancio. Now that bktr driver is integrated in 2.2.5, the vic package could have default support for it. If it's not hard, maybe support for meteor and spigot, also. Who knows how to do this ? Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Tue Oct 28 18:55:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA13293 for multimedia-outgoing; Tue, 28 Oct 1997 18:55:48 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 SAA13283 for ; Tue, 28 Oct 1997 18:55:44 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id SAA05333; Tue, 28 Oct 1997 18:55:30 -0800 (PST) Message-Id: <199710290255.SAA05333@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Joao Carlos Mendes Luis cc: multimedia@FreeBSD.ORG Subject: Re: vic package with bktr support by default ? In-reply-to: Your message of "Mon, 27 Oct 1997 22:21:43 -0200." <199710280021.WAA06616@zeus.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Oct 1997 18:55:30 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > Maybe this is for Amancio. > > Now that bktr driver is integrated in 2.2.5, the vic package could have > default support for it. If it's not hard, maybe support for meteor and > spigot, also. Who knows how to do this ? > > Jonny Just bug Bill Fenner to upgrade the vic package 8) Thru the bt848 web page you can retrieve a replacement for vic 2.8's grabber-meteor.cc That module supports both the meteor and bt848 cards . http://www.freebsd.org/~ahasty/Bt848.html Cheers, Amancio From owner-freebsd-multimedia Tue Oct 28 19:19:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA14414 for multimedia-outgoing; Tue, 28 Oct 1997 19:19:48 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA14406 for ; Tue, 28 Oct 1997 19:19:33 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id BAA06121; Wed, 29 Oct 1997 01:19:19 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199710290319.BAA06121@gaia.coppe.ufrj.br> Subject: Re: vic package with bktr support by default ? In-Reply-To: <199710290255.SAA05333@rah.star-gate.com> from Amancio Hasty at "Oct 28, 97 06:55:30 pm" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Wed, 29 Oct 1997 01:19:18 -0200 (EDT) Cc: jonny@coppe.ufrj.br, multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Amancio Hasty) // > Hi, // > // > Maybe this is for Amancio. // > // > Now that bktr driver is integrated in 2.2.5, the vic package could have // > default support for it. If it's not hard, maybe support for meteor and // > spigot, also. Who knows how to do this ? // > // > Jonny // // Just bug Bill Fenner to upgrade the vic package 8) Humm... I was thinking to talk to him also about vat. The version compiled from 2.2.5 ports shows a BLACK tab over the speaking member. I was just waiting for some time to test if this is purely a tk80 bug or if this could be worked around in vat sources. Did you see that ? // Thru the bt848 web page you can retrieve a replacement for // vic 2.8's grabber-meteor.cc // // That module supports both the meteor and bt848 cards . Both at the same time and same machine ? :) I've seen one binary at your machine that had support for Video Spigot also. Where's the source for it ? Jonny PS: http://www.freebsd.org/~fsmp/HomeAuto/Bt848.html still says that the new page is not ready yet.... -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Tue Oct 28 19:56:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA16443 for multimedia-outgoing; Tue, 28 Oct 1997 19:56:15 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 TAA16438 for ; Tue, 28 Oct 1997 19:56:13 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id TAA00353; Tue, 28 Oct 1997 19:56:00 -0800 (PST) Message-Id: <199710290356.TAA00353@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Joao Carlos Mendes Luis cc: multimedia@FreeBSD.ORG Subject: Re: vic package with bktr support by default ? In-reply-to: Your message of "Wed, 29 Oct 1997 01:19:18 -0200." <199710290319.BAA06121@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Oct 1997 19:56:00 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >compiled from 2.2.5 ports shows a BLACK tab over the speaking member. Thats a tk80 thingie. Amancio From owner-freebsd-multimedia Wed Oct 29 00:24:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA00997 for multimedia-outgoing; Wed, 29 Oct 1997 00:24:02 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from plato.imtcomsys.bc.ca (plato.imtcomsys.bc.ca [198.162.65.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA00959 for ; Wed, 29 Oct 1997 00:23:56 -0800 (PST) (envelope-from Jonathan.Hanna@imtcomsys.bc.ca) Received: (from hanna@localhost) by plato.imtcomsys.bc.ca (8.8.5/8.8.3) id AAA16796 for freebsd-multimedia@freebsd.org; Wed, 29 Oct 1997 00:23:25 -0800 (PST) Date: Wed, 29 Oct 1997 00:23:25 -0800 (PST) From: Jonathan Hanna Message-Id: <199710290823.AAA16796@plato.imtcomsys.bc.ca> To: freebsd-multimedia@freebsd.org Subject: One FM Huappauge working Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk There was some discussion about FM Hauppage cards, it did not seem that anyone had one working. I just got a WinCast/TV dbx with FM. The tuner claims to be an FR1236MK2. It works with the standard Philips band-switch settings but with the Temic-PAL PLL write address. I guess the autodetection will have to change - no idea how. Time add the FM band to the tuners! From owner-freebsd-multimedia Wed Oct 29 06:17:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA17910 for multimedia-outgoing; Wed, 29 Oct 1997 06:17:51 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA17897 for ; Wed, 29 Oct 1997 06:17:37 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id OAA02159; Wed, 29 Oct 1997 14:17:27 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id PAA01941; Wed, 29 Oct 1997 15:17:25 +0100 (MET) Date: Wed, 29 Oct 1997 15:17:25 +0100 (MET) Message-Id: <199710291417.PAA01941@bitbox.follo.net> From: Eivind Eklund To: tomppa@fidata.fi CC: perhaps@yes.no, freebsd-multimedia@FreeBSD.ORG In-reply-to: Tomi Vainio's message of Wed, 29 Oct 1997 01:06:51 +0200 (EET) Subject: Re: Bt848 driver patches References: <19971027235639.09278@bitbox.follo.net> <199710281801.KAA02371@rah.star-gate.com> <199710281840.UAA10614@zeta.fidata.fi> <199710282209.XAA03758@bitbox.follo.net> <199710282306.BAA11518@zeta.fidata.fi> Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Eivind Eklund writes: > > > > > > Now I have found that new bt849 hauppauge card gives picture on uhf > > > channels 25 and 35 but no sound. Also there is nothing on vhf > > > channels 6 and 8. These four are Finnish main channels that you > > > should get from air here. > > > > In what case do it give picture? With the patches, or just the plain > > driver pre-patching? > > > I tried Philips band switch values and now vhf channels are working > also but still no sound. Should I also try Philips PLL stuff or > something? Try switching the mux mask to 0x0f instead of 0x07 - 0x0f seems to be the correct value. It worked for me, at least :-) Please feedback on whether this works - I'm going to commit it later today along with the rest of the patches if it does. If it doesn't work, we've got to find out what mux value you're using for what purposes - in that case, I'll throw you a patch you can use to experiment with these values. Eivind. From owner-freebsd-multimedia Wed Oct 29 09:05:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA28033 for multimedia-outgoing; Wed, 29 Oct 1997 09:05:10 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from george.arc.nasa.gov (george.arc.nasa.gov [128.102.194.142]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA28025 for ; Wed, 29 Oct 1997 09:05:06 -0800 (PST) (envelope-from lamaster@george.arc.nasa.gov) From: lamaster@george.arc.nasa.gov Received: (from lamaster@localhost) by george.arc.nasa.gov (8.8.7/8.8.7) id JAA25117 for multimedia@FreeBSD.ORG; Wed, 29 Oct 1997 09:03:10 -0800 (PST) Date: Wed, 29 Oct 1997 09:03:10 -0800 (PST) Message-Id: <199710291703.JAA25117@george.arc.nasa.gov> To: multimedia@FreeBSD.ORG Subject: Re: vic package with bktr support by default ? Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Thru the bt848 web page you can retrieve a replacement for > vic 2.8's grabber-meteor.cc > > That module supports both the meteor and bt848 cards . I tested grabber-meteor.cc last night, replacing only the grabber-meteor.cc with the modified version, and tested vic with the bt848 driver that is part of 2.2.5-beta. It worked. I wouldn't call it extensive testing, though. I wasn't following a formal test plan :-) ATI Graphics Xpression 2 MB DRAM, vic-2.8 from /usr/ports, recompiled with Amancio's grabber-meteor.cc, ATI Mach64 server at 1280x1024x8 bpp, 2.2.5-beta. Any negative experiences out there? If not, perhaps the time has come to include the modified grabber-meteor.cc as part of the vic-2.8 package, since the Bt848 driver and fxtv are both "standard" now. Now, if I could just get all the Tcl/Tk apps to live in a consistent world (4.1/4.2/8.0; 7.4/7.5/7.6/X/8.0) :-( -Hugh LaMaster From owner-freebsd-multimedia Wed Oct 29 11:52:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA08771 for multimedia-outgoing; Wed, 29 Oct 1997 11:52:58 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 LAA08765 for ; Wed, 29 Oct 1997 11:52:53 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id LAA02618; Wed, 29 Oct 1997 11:52:36 -0800 (PST) Message-Id: <199710291952.LAA02618@rah.star-gate.com> To: lamaster@george.arc.nasa.gov cc: multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: vic package with bktr support by default ? In-reply-to: Your message of "Wed, 29 Oct 1997 09:03:10 PST." <199710291703.JAA25117@george.arc.nasa.gov> Date: Wed, 29 Oct 1997 11:52:36 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I sent mail several weeks ago to Bill to asking him to integrate my version of grabber-meteor.cc however he was busy getting marry -- my guess is that he is still in his honeymoon 8) Cheers, Amancio From owner-freebsd-multimedia Wed Oct 29 16:04:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA26666 for multimedia-outgoing; Wed, 29 Oct 1997 16:04:33 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from miller.cs.uwm.edu (miller.cs.uwm.edu [129.89.139.22]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA26655 for ; Wed, 29 Oct 1997 16:04:26 -0800 (PST) (envelope-from james@miller.cs.uwm.edu) Received: (from james@localhost) by miller.cs.uwm.edu (8.8.5/8.8.5) id SAA17859; Wed, 29 Oct 1997 18:03:40 -0600 (CST) Date: Wed, 29 Oct 1997 18:03:40 -0600 (CST) From: Jim Lowe Message-Id: <199710300003.SAA17859@miller.cs.uwm.edu> To: hasty@rah.star-gate.com, lamaster@george.arc.nasa.gov Subject: Re: vic package with bktr support by default ? Cc: multimedia@FreeBSD.ORG Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > From: Amancio Hasty > > I sent mail several weeks ago to Bill to asking him to integrate > my version of grabber-meteor.cc however he was busy getting > marry -- my guess is that he is still in his honeymoon 8) > Congrats and best wishes Bill. Well, if it isn't one addition to the family it is another. Check out http://www.cs.uwm.edu/~james and click on Abigail :-). -Jim From owner-freebsd-multimedia Wed Oct 29 18:48:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA06571 for multimedia-outgoing; Wed, 29 Oct 1997 18:48:17 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br ([146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA06563 for ; Wed, 29 Oct 1997 18:48:02 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id AAA17443 for multimedia@FreeBSD.ORG; Thu, 30 Oct 1997 00:47:52 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199710300247.AAA17443@gaia.coppe.ufrj.br> Subject: Re: vic package with bktr support by default ? In-Reply-To: <199710291703.JAA25117@george.arc.nasa.gov> from "lamaster@george.arc.nasa.gov" at "Oct 29, 97 09:03:10 am" To: multimedia@FreeBSD.ORG Date: Thu, 30 Oct 1997 00:47:51 -0200 (EDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(lamaster@george.arc.nasa.gov) // > Thru the bt848 web page you can retrieve a replacement for // > vic 2.8's grabber-meteor.cc // > // > That module supports both the meteor and bt848 cards . // // I tested grabber-meteor.cc last night, replacing only the // grabber-meteor.cc with the modified version, and tested vic // with the bt848 driver that is part of 2.2.5-beta. It worked. Great... // Now, if I could just get all the Tcl/Tk apps to live in a consistent // world (4.1/4.2/8.0; 7.4/7.5/7.6/X/8.0) :-( Yeah... Is there any problem in keeping vat linked to tk4.1 ? That black bar bug really annoys me. Bill, are you reading ? Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Thu Oct 30 09:45:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA25392 for multimedia-outgoing; Thu, 30 Oct 1997 09:45:33 -0800 (PST) (envelope-from owner-freebsd-multimedia) 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 JAA25381 for ; Thu, 30 Oct 1997 09:45:30 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id JAA09896; Thu, 30 Oct 1997 09:44:53 -0800 (PST) Message-Id: <199710301744.JAA09896@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Eivind Eklund cc: tomppa@fidata.fi, freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-reply-to: Your message of "Wed, 29 Oct 1997 15:17:25 +0100." <199710291417.PAA01941@bitbox.follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 30 Oct 1997 09:44:53 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Eivind, Have you checked in your patch? Tnks! Amancio From owner-freebsd-multimedia Thu Oct 30 10:43:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA28846 for multimedia-outgoing; Thu, 30 Oct 1997 10:43:54 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA28732 for ; Thu, 30 Oct 1997 10:42:57 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id SAA23498; Thu, 30 Oct 1997 18:42:27 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id TAA06724; Thu, 30 Oct 1997 19:42:25 +0100 (MET) Message-ID: <19971030194225.11523@bitbox.follo.net> Date: Thu, 30 Oct 1997 19:42:25 +0100 From: Eivind Eklund To: Amancio Hasty Cc: Eivind Eklund , tomppa@fidata.fi, freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches References: <199710291417.PAA01941@bitbox.follo.net> <199710301744.JAA09896@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: <199710301744.JAA09896@rah.star-gate.com>; from Amancio Hasty on Thu, Oct 30, 1997 at 09:44:53AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Oct 30, 1997 at 09:44:53AM -0800, Amancio Hasty wrote: > Hi Eivind, > > Have you checked in your patch? I was waiting for feedback on the change of MUX selector values; since everybody was silent, I committed it now. Anybody with an angle on the DMA problems? To repeat: (1) A single steady vertical line when the fxtv window is in some position in the upper and lower right corner of my screen (1600x1200x16 bit) - the rest of the window work normally. This one seems likely to be a splitting problem, IFF the split is done as to rectangles vertically. It seems to be related to the size of the window; I've had some problems repeating it at will, but get it from time to time. (2) DMA to the wrong position (horizontal offset) when the screen is 32 bits deep. I don't have any clue as to whether this would be an XFree86, brkt (kernel driver) or fxtv problem. (3) Swapped lines (?) I had something that looked like line interchange once, but it went away when I increased the size of the window. Probably out of sync interlacing hardware. Not reproduced, and might be just 'sleight of the eye' - I have an extreme resolution, so it is hard to see. If any of you have any opinions/information that help me on where to start looking for the causes of these problems, please step forward. Eivind. From owner-freebsd-multimedia Thu Oct 30 14:18:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA15116 for multimedia-outgoing; Thu, 30 Oct 1997 14:18:25 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fani.fidata.fi (fani.fidata.fi [193.64.102.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA15099 for ; Thu, 30 Oct 1997 14:18:18 -0800 (PST) (envelope-from tomppa@zeta.fidata.fi) Received: from zeta.fidata.fi (tomppa@zeta.fidata.fi [193.64.103.213]) by fani.fidata.fi (8.8.5/8.8.5) with ESMTP id AAA12009; Fri, 31 Oct 1997 00:18:09 +0200 (EET) Received: (from tomppa@localhost) by zeta.fidata.fi (8.8.5/8.8.5) id AAA18766; Fri, 31 Oct 1997 00:18:08 +0200 (EET) Date: Fri, 31 Oct 1997 00:18:08 +0200 (EET) Message-Id: <199710302218.AAA18766@zeta.fidata.fi> From: Tomi Vainio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eivind Eklund CC: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-Reply-To: <199710291417.PAA01941@bitbox.follo.net> References: <19971027235639.09278@bitbox.follo.net> <199710281801.KAA02371@rah.star-gate.com> <199710281840.UAA10614@zeta.fidata.fi> <199710282209.XAA03758@bitbox.follo.net> <199710282306.BAA11518@zeta.fidata.fi> <199710291417.PAA01941@bitbox.follo.net> X-Mailer: VM 6.33 under 19.15 XEmacs Lucid Reply-To: tomppa@fidata.fi Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund writes: > > > > Try switching the mux mask to 0x0f instead of 0x07 - 0x0f seems to be > the correct value. It worked for me, at least :-) Please feedback on > whether this works - I'm going to commit it later today along with the > rest of the patches if it does. > > If it doesn't work, we've got to find out what mux value you're using > for what purposes - in that case, I'll throw you a patch you can use > to experiment with these values. > Atlast I had time to test this mux mask. GPIO_AUDIOMUX_BITS is now set to 0x0f but still no sound. Tomppa -- Tomi Vainio Mail: tomppa@iki.fi Phone: +358 (0)50 1529 From owner-freebsd-multimedia Thu Oct 30 14:33:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA16182 for multimedia-outgoing; Thu, 30 Oct 1997 14:33:38 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fani.fidata.fi (fani.fidata.fi [193.64.102.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA16167 for ; Thu, 30 Oct 1997 14:33:32 -0800 (PST) (envelope-from tomppa@zeta.fidata.fi) Received: from zeta.fidata.fi (tomppa@zeta.fidata.fi [193.64.103.213]) by fani.fidata.fi (8.8.5/8.8.5) with ESMTP id AAA12032; Fri, 31 Oct 1997 00:33:29 +0200 (EET) Received: (from tomppa@localhost) by zeta.fidata.fi (8.8.5/8.8.5) id AAA18801; Fri, 31 Oct 1997 00:33:28 +0200 (EET) Date: Fri, 31 Oct 1997 00:33:28 +0200 (EET) Message-Id: <199710302233.AAA18801@zeta.fidata.fi> From: Tomi Vainio MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eivind Eklund CC: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches In-Reply-To: <19971030194225.11523@bitbox.follo.net> References: <199710291417.PAA01941@bitbox.follo.net> <199710301744.JAA09896@rah.star-gate.com> <19971030194225.11523@bitbox.follo.net> X-Mailer: VM 6.33 under 19.15 XEmacs Lucid Reply-To: tomppa@fidata.fi Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund writes: > (1) A single steady vertical line when the fxtv window is in some > position in the upper and lower right corner of my screen > (1600x1200x16 bit) - the rest of the window work normally. This one > seems likely to be a splitting problem, IFF the split is done as to > rectangles vertically. It seems to be related to the size of the > window; I've had some problems repeating it at will, but get it > from time to time. > I haven't seen this anymore. This happened when I put fxtv window upper right corner. There was also problems with colours eg. RGB components switched places. Randall gave very good explanation couple week ago why this happens. > (2) DMA to the wrong position (horizontal offset) when the screen is > 32 bits deep. I don't have any clue as to whether this would be an > XFree86, brkt (kernel driver) or fxtv problem. > I'm still using Michael's patch to get picture inside fxtv window. I have used this over month now and I haven't heard anything about that how this should fix correctly. Tomppa -- Tomi Vainio Mail: tomppa@iki.fi Phone: +358 (0)50 1529 From owner-freebsd-multimedia Thu Oct 30 15:05:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA18631 for multimedia-outgoing; Thu, 30 Oct 1997 15:05:03 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA18603 for ; Thu, 30 Oct 1997 15:04:52 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id XAA27909; Thu, 30 Oct 1997 23:04:44 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id AAA08238; Fri, 31 Oct 1997 00:04:41 +0100 (MET) Message-ID: <19971031000441.21390@bitbox.follo.net> Date: Fri, 31 Oct 1997 00:04:41 +0100 From: Eivind Eklund To: tomppa@fidata.fi Cc: Eivind Eklund , freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 driver patches References: <19971027235639.09278@bitbox.follo.net> <199710281801.KAA02371@rah.star-gate.com> <199710281840.UAA10614@zeta.fidata.fi> <199710282209.XAA03758@bitbox.follo.net> <199710282306.BAA11518@zeta.fidata.fi> <199710291417.PAA01941@bitbox.follo.net> <199710302218.AAA18766@zeta.fidata.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: <199710302218.AAA18766@zeta.fidata.fi>; from Tomi Vainio on Fri, Oct 31, 1997 at 12:18:08AM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Oct 31, 1997 at 12:18:08AM +0200, Tomi Vainio wrote: > Eivind Eklund writes: > > > > > > > Try switching the mux mask to 0x0f instead of 0x07 - 0x0f seems to be > > the correct value. It worked for me, at least :-) Please feedback on > > whether this works - I'm going to commit it later today along with the > > rest of the patches if it does. > > > > If it doesn't work, we've got to find out what mux value you're using > > for what purposes - in that case, I'll throw you a patch you can use > > to experiment with these values. > > > Atlast I had time to test this mux mask. GPIO_AUDIOMUX_BITS is now set > to 0x0f but still no sound. OK, the following patch should rotate the mux value through all possible muxes; the switches are tied to the AFC switch, so just switch AFC on and off. See if that give you sound on any MUX value. (Patch not tested beyond checking that it compile; I used a similar one to check my muxing earlier). If you get tuner sound, look at your syslog (/etc/messages) and find out what mux value you get. Report back (if you want it to work immediately, just patch it into the card table - but report back nevertheless). It would be nice if you could find out what your other muxes (video, external sound in, internal sound in, whatever sound sources you card support) are too. Please report the values back to the list along with exactly what card you have, and we'll do what we can to create proper support. Eivind. From owner-freebsd-multimedia Fri Oct 31 03:42:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA00151 for multimedia-outgoing; Fri, 31 Oct 1997 03:42:03 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from mars.planet.net.au (mars.planet.net.au [203.15.90.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA00136 for ; Fri, 31 Oct 1997 03:41:57 -0800 (PST) (envelope-from merv@planet.net.au) Received: from planet.net.au (ppp11.mel.planet.net.au [203.15.90.31]) by mars.planet.net.au (8.8.6/8.6.12) with ESMTP id WAA01117 for ; Fri, 31 Oct 1997 22:41:46 +1100 (EST) Message-ID: <3459C3B3.502FA1B0@planet.net.au> Date: Fri, 31 Oct 1997 22:40:36 +1100 From: Mervyn Ah-Young Organization: Personal Account X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Soundblaster 16 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I am trying to configure my SoundBlaster 16 card under FreeBSD with the following entry in my MYKERNEL file: controller snd0 device sb0 at isa? port 0x220 irq 7 conflicts drq1 vector sbintr Are these the default values for the SB16 card? I do know that my card is at default settings but am unsure as to what they are! Anyway, when I try xgal, a popping sound is heard from my speakers at a frequency of 1Hz. Is there some sort of conflict or incorrect setting you can see above? Any help you could provide would be greatly appreciated. Thanks, Merv Young AUSTRALIA.