From owner-freebsd-multimedia Sun Feb 23 11:30:24 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA28141 for multimedia-outgoing; Sun, 23 Feb 1997 11:30:24 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA28121 for ; Sun, 23 Feb 1997 11:30:17 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id LAA05583 for ; Sun, 23 Feb 1997 11:21:37 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id LAA05120; Sun, 23 Feb 1997 11:21:31 -0800 (PST) Message-Id: <199702231921.LAA05120@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 In-reply-to: Your message of "Sat, 22 Feb 1997 17:20:20 EST." <19970222172020.21402@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 11:21:31 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi, Well, I just left tv running over nite on my P100 and the system is still up. Prior to that the "tv" was started numerous times and with different resolutions. Currently, tv is running at 640x480 with the continous capture mode enabled. Cheers, Amancio From owner-freebsd-multimedia Sun Feb 23 12:55:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA01886 for multimedia-outgoing; Sun, 23 Feb 1997 12:55:44 -0800 (PST) Received: from caliban.dihelix.com (caliban.mrtc.org [199.4.33.251]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA01880 for ; Sun, 23 Feb 1997 12:55:39 -0800 (PST) Received: (from langfod@localhost) by caliban.dihelix.com (8.8.4/8.8.3) id KAA01297; Sun, 23 Feb 1997 10:55:45 -1000 (HST) Message-Id: <199702232055.KAA01297@caliban.dihelix.com> Subject: Re: New BT848 driver 0.2 In-Reply-To: <199702231921.LAA05120@rah.star-gate.com> from Amancio Hasty at "Feb 23, 97 11:21:31 am" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Sun, 23 Feb 1997 10:55:45 -1000 (HST) Cc: rhh@ct.picker.com, multimedia@FreeBSD.org From: "David Langford" X-blank-line: This space intentionaly left blank. X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk DO you know if the Matrox Millenium has a linear frame buffer usable under FBSD? Thanks. -David Langford langfod@dihelix.com From owner-freebsd-multimedia Sun Feb 23 12:59:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA02083 for multimedia-outgoing; Sun, 23 Feb 1997 12:59:04 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA02078 for ; Sun, 23 Feb 1997 12:59:02 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id MAA00773; Sun, 23 Feb 1997 12:58:53 -0800 (PST) Message-Id: <199702232058.MAA00773@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: "David Langford" cc: rhh@ct.picker.com, multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 In-reply-to: Your message of "Sun, 23 Feb 1997 10:55:45 -1000." <199702232055.KAA01297@caliban.dihelix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 12:58:53 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Which X server are you using ? If you have Xinside's X server I suggest that you bug them. The last I heard from Thomas he was not too keen on the idea of providing such functionality for programs such as "dtv". Cheers, Amancio >From The Desk Of "David Langford" : > > DO you know if the Matrox Millenium has a linear frame buffer usable > under FBSD? > > Thanks. > > -David Langford > langfod@dihelix.com From owner-freebsd-multimedia Sun Feb 23 13:35:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA03548 for multimedia-outgoing; Sun, 23 Feb 1997 13:35:22 -0800 (PST) Received: from tyger.inna.net (root@tyger.inna.net [206.151.66.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA03540 for ; Sun, 23 Feb 1997 13:35:17 -0800 (PST) Received: from caught.inna.net (caught.inna.net [206.151.66.7]) by tyger.inna.net (8.8.3/8.7.3) with SMTP id QAA09610; Sun, 23 Feb 1997 16:36:41 -0500 (EST) Date: Sun, 23 Feb 1997 16:33:19 -0500 (EST) From: Thomas Arnold To: Amancio Hasty cc: Jamie Bowden , multimedia@FreeBSD.ORG Subject: Re: bt848 driver In-Reply-To: <199702212342.PAA01217@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk After the machine I have the STB WinTV card in was upgraded to 2.2-Gamma ( thanks to Jamie ) the card is detected fine and the device is created. Currently since I'm not in the room with the machine I can't hook a camera up to it, but, I'm getting a blue box which is the default WinTV output when it can't find a signal for its tuner so it looks like its working. I captured the picture using rgb16.c Not having used rgb16.c before, how long should it take to capture an image? It takes upwards of 10-15seconds for it to create the image. I haven't seen yet how much CPU load this creates. The machine is : 2.2-Gamma AMD X5-133 ( 486 Class ) UMC Chipset 32megs Probably the slowest machine you'll ever hear of someone trying to use this card in. :-) +-----------------------------------------------+ : Tom Arnold - No relation to Rosanne : : SysAdmin/Pres - TBI, Ltd ( inna.net ) : : The Middle Peninsula's Internet Connection : +-----------------------------------------------+ From owner-freebsd-multimedia Sun Feb 23 14:02:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA04562 for multimedia-outgoing; Sun, 23 Feb 1997 14:02:20 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id OAA04555 for ; Sun, 23 Feb 1997 14:02:16 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id WAA20000 for multimedia@freebsd.org; Sun, 23 Feb 1997 22:14:19 +0100 From: Luigi Rizzo Message-Id: <199702232114.WAA20000@labinfo.iet.unipi.it> Subject: Teletext decoding To: multimedia@freebsd.org Date: Sun, 23 Feb 1997 22:14:18 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, if someone is interested in decoding Teletext/Videotext data acquired with a frame grabber, I have some code which does the job. You need your frame grabber to acquire the lines containing teletext data (usually before the visible area); a simple patch to the meteor driver does the job, I assume th bt848 driver can also do the same thing. The sampling rate is not exceedingly important (provided it is high enough, e.g. 640 pixels) since I use a routine from sox to do the resampling with the correct values. Those interested can send me email for a copy. 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 Sun Feb 23 14:12:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA04972 for multimedia-outgoing; Sun, 23 Feb 1997 14:12:29 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA04965 for ; Sun, 23 Feb 1997 14:12:26 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id OAA00626; Sun, 23 Feb 1997 14:12:22 -0800 (PST) Message-Id: <199702232212.OAA00626@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Thomas Arnold cc: Jamie Bowden , multimedia@freebsd.org Subject: Re: bt848 driver In-reply-to: Your message of "Sun, 23 Feb 1997 16:33:19 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 14:12:22 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, For whatever is worth saving images over here is almost instantaneous. rgb16 converts the image to ppm format . In your case, I would modify rgb16.c to just dump the raw frame to disk. Once you managed to get a video source connected to your STB WinTV, try running tv. I am definitely interested on how the driver works in your system since I have not heard of anyone using the video capture drivers on any such systems 8) And, sorry to force you guys to upgrade. Is just that I don't have the bandwith to support old kernels. Have fun, Amancio >From The Desk Of Thomas Arnold : > After the machine I have the STB WinTV card in was upgraded to 2.2-Gamma ( > thanks to Jamie ) the card is detected fine and the device is created. > > Currently since I'm not in the room with the machine I can't hook a camera > up to it, but, I'm getting a blue box which is the default WinTV output > when it can't find a signal for its tuner so it looks like its working. > > I captured the picture using rgb16.c > > Not having used rgb16.c before, how long should it take to capture an > image? It takes upwards of 10-15seconds for it to create the image. I > haven't seen yet how much CPU load this creates. > > The machine is : > 2.2-Gamma > AMD X5-133 ( 486 Class ) > UMC Chipset > 32megs > > Probably the slowest machine you'll ever hear of someone trying to use > this card in. :-) > > +-----------------------------------------------+ > : Tom Arnold - No relation to Rosanne : > : SysAdmin/Pres - TBI, Ltd ( inna.net ) : > : The Middle Peninsula's Internet Connection : > +-----------------------------------------------+ > From owner-freebsd-multimedia Sun Feb 23 14:22:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA05326 for multimedia-outgoing; Sun, 23 Feb 1997 14:22:05 -0800 (PST) Received: from DNS.Lamb.net (root@DNS.Lamb.net [207.90.181.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA05319 for ; Sun, 23 Feb 1997 14:22:02 -0800 (PST) Received: from Bitch2.Melmac.org (Bitch2.Melmac.org [207.90.181.43]) by DNS.Lamb.net (8.8.5/20.74.3.14) with ESMTP id OAA14908; Sun, 23 Feb 1997 14:22:02 -0800 (PST) Received: (from ulf@localhost) by Bitch2.Melmac.org (8.8.3/8.7.6) id OAA02007; Sun, 23 Feb 1997 14:22:05 -0800 (PST) From: Ulf Zimmermann Message-Id: <199702232222.OAA02007@Bitch2.Melmac.org> Subject: Re: Teletext decoding To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Sun, 23 Feb 1997 14:22:05 -0800 (PST) Cc: multimedia@freebsd.org In-Reply-To: <199702232114.WAA20000@labinfo.iet.unipi.it> from Luigi Rizzo at "Feb 23, 97 10:14:18 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I once wrote a program to download raw videotext data from the chip via I2C bus and decode them completly. Was running under Windows. I should still have somewhere the software. > Hi, > > if someone is interested in decoding Teletext/Videotext data acquired > with a frame grabber, I have some code which does the job. You need > your frame grabber to acquire the lines containing teletext data > (usually before the visible area); a simple patch to the meteor driver > does the job, I assume th bt848 driver can also do the same thing. > The sampling rate is not exceedingly important (provided it is high > enough, e.g. 640 pixels) since I use a routine from sox to do the > resampling with the correct values. > > Those interested can send me email for a copy. > > 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/ > _____________________________|______________________________________ > Ulf. -------------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net From owner-freebsd-multimedia Sun Feb 23 17:53:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA17138 for multimedia-outgoing; Sun, 23 Feb 1997 17:53:06 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA17118 for ; Sun, 23 Feb 1997 17:52:49 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 23 Feb 1997 20:51:46 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA04023; Sun, 23 Feb 97 20:51:45 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA00501; Sun, 23 Feb 1997 20:49:31 -0500 Message-Id: <19970223204930.26136@ct.picker.com> Date: Sun, 23 Feb 1997 20:49:30 -0500 From: Randall Hopper To: Amancio Hasty Cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 References: <19970222172020.21402@ct.picker.com> <199702222229.OAA09860@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702222229.OAA09860@rah.star-gate.com>; from Amancio Hasty on Feb 02, 1997 at 02:29:44PM Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty: |Can you send me the output of the X server? |xinit >& save_to_file | |I just want to see how the X server is presenting a linear frame buffer. Well, I'm back from the dead, along with an unexpected upgrade to 2.2-GAMMA. Here's some output of my code that probes the ARK2000PV chipset directly when in 1024x768 555 16bpp: Aperture Size : 2048 K Aperture Base : fb800000 COP Bpp : 16 Linear Pitch : Src = 1024, Dst = 1024 and here's the slightly filtered output of xinit that jives with this: (**) SVGA: Graphics device ID: "Hercules Stingray 64/Video" (**) SVGA: Monitor ID: "NEC 4FG" (**) SVGA: Using 16 bpp. Color weight: 555 PCI: Config type is 1 PCI: Bus 0x0 Card 0x00 Func 0x0 ID 0x8086,0x122d Rev 0x02 Class 0x06,0x00 PCI: Bus 0x0 Card 0x07 Func 0x0 ID 0x8086,0x122e Rev 0x02 Class 0x06,0x01 PCI: Bus 0x0 Card 0x07 Func 0x1 ID 0x8086,0x1230 Rev 0x02 Class 0x01,0x01 PCI: Bus 0x0 Card 0x09 Func 0x0 ID 0x109e,0x0350 Rev 0x11 Class 0x04,0x00 PCI: Bus 0x0 Card 0x0a Func 0x0 ID 0x1000,0x0001 Rev 0x02 Class 0x01,0x00 PCI: Bus 0x0 Card 0x0b Func 0x0 ID 0xedd8,0xa099 Rev 0x00 Class 0x03,0x00 (--) SVGA: PCI: ARK Logic 2000PV rev 0, Memory @ 0xfb800000 (--) SVGA: CHIPS: wrong chipID: a099 (**) SVGA: ark2000pv: ramdac w30c516 (--) SVGA: chipset: ark2000pv (**) SVGA: videoram: 2048k (**) SVGA: clocks: 25.18 28.30 40.00 70.00 50.00 75.00 36.00 44.90 (**) SVGA: clocks: 0.00 118.00 80.00 31.50 110.00 65.00 72.00 95.00 (--) SVGA: Maximum allowed dot-clock: 109.090 MHz (**) SVGA: Mode "1024x768": mode clock = 75.000, clock used = 75.000 (**) SVGA: Mode "640x480": mode clock = 31.500, clock used = 31.500 (**) SVGA: Mode "800x600": mode clock = 50.000, clock used = 50.000 (**) SVGA: Virtual resolution set to 1024x768 (--) SVGA: ark2000pv: Using linear framebuffer at 0xFB800000 (PCI bus) (--) SVGA: ark2000pv: 524288 bytes off-screen video memory available (--) SVGA: ark2000pv: Using coprocessor (--) SVGA: Using XAA (XFree86 Acceleration Architecture) (--) SVGA: XAA: Solid filled rectangles (--) SVGA: XAA: Screen-to-screen copy (--) SVGA: XAA: 8x8 pattern fill (--) SVGA: XAA: Indirect CPU to screen color expansion (bitmap, stipple, imagete xt, polytext) (--) SVGA: XAA: Using 8 128x128 areas for pixmap caching (--) SVGA: XAA: Caching tiles and stipples (--) SVGA: XAA: General lines and segments PEX extension module not loaded XIE extension module not loaded xinit: connection to X server lost. Randall From owner-freebsd-multimedia Sun Feb 23 17:56:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA17325 for multimedia-outgoing; Sun, 23 Feb 1997 17:56:44 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA17318 for ; Sun, 23 Feb 1997 17:56:39 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 23 Feb 1997 20:55:33 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA04068; Sun, 23 Feb 97 20:55:32 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA00511; Sun, 23 Feb 1997 20:53:18 -0500 Message-Id: <19970223205318.12700@ct.picker.com> Date: Sun, 23 Feb 1997 20:53:18 -0500 From: Randall Hopper To: Amancio Hasty Cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 References: <19970222172020.21402@ct.picker.com> <199702222235.OAA09956@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702222235.OAA09956@rah.star-gate.com>; from Amancio Hasty on Feb 02, 1997 at 02:35:39PM Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty: |When you get a chance try using tv with a resolution of 320x240 |and if you are using dtv with the test please indicate that. I mentioned in a previous message that I get the same freeze with dtv when running the window at 320x240. I've not had any freezes (frequent, regular freezes that is) with regular tv, or with dtv when I'm doing CAP_SINGLE instead of CAP_CONTINUOUS. Randall From owner-freebsd-multimedia Sun Feb 23 18:19:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA18591 for multimedia-outgoing; Sun, 23 Feb 1997 18:19:46 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA18578 for ; Sun, 23 Feb 1997 18:19:44 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id SAA00710; Sun, 23 Feb 1997 18:19:41 -0800 (PST) Message-Id: <199702240219.SAA00710@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 In-reply-to: Your message of "Sun, 23 Feb 1997 20:53:18 EST." <19970223205318.12700@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 18:19:41 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Can you modify "tv" so it doesnt output to the screen. In the while loop where ExecuteDisplay gets call in tv.c just comment that line out and make sure that cap_continuous is enabled. Tnks, Amancio >From The Desk Of Randall Hopper : > Amancio Hasty: > |When you get a chance try using tv with a resolution of 320x240 > |and if you are using dtv with the test please indicate that. > > I mentioned in a previous message that I get the same freeze with dtv when > running the window at 320x240. I've not had any freezes (frequent, regular > freezes that is) with regular tv, or with dtv when I'm doing CAP_SINGLE > instead of CAP_CONTINUOUS. > > Randall > From owner-freebsd-multimedia Sun Feb 23 18:25:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA19050 for multimedia-outgoing; Sun, 23 Feb 1997 18:25:13 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA19018 for ; Sun, 23 Feb 1997 18:24:47 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 23 Feb 1997 21:23:23 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA04416; Sun, 23 Feb 97 21:23:22 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA00546; Sun, 23 Feb 1997 21:21:07 -0500 Message-Id: <19970223212107.37259@ct.picker.com> Date: Sun, 23 Feb 1997 21:21:07 -0500 From: Randall Hopper To: Amancio Hasty Cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 References: <19970222164418.44306@ct.picker.com> <199702222206.OAA09711@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702222206.OAA09711@rah.star-gate.com>; from Amancio Hasty on Feb 02, 1997 at 02:06:46PM Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty: |A cursory analysis of the interrupt status info that you send us seems to |indicate that you are getting excessive PCI errors. ... |Here is a sample output from my P100: |Feb 22 05:51:20 cioloco /kernel: STATUS 0 d000206 30701c |Feb 22 05:51:20 cioloco /kernel: STATUS 0 d000a04 3077a4 |Feb 22 05:51:20 cioloco /kernel: STATUS 0 d000a04 3077a4 |Feb 22 05:51:20 cioloco /kernel: STATUS 0 c000206 30601c |Feb 22 05:51:20 cioloco /kernel: STATUS 0 c000206 30601c ... | ^^^^^^^ BKTR_INT_STAT |BKTR_INT_STAT is the second value in the output as you can see |bit 15 is never set which means that the Bt848 is not having |problems accessing the host memory. A piece of my output: STATUS 0 dc000206 100001c STATUS 0 dc000a04 1000f24 STATUS 0 dd000206 2b901c STATUS 0 dd000a04 2b9f24 Bit 15? Are some bytes swapped in the port mapping? It looks to my like your low-order word (bits 15->0) is the same as mine. The differences look like your bits 28,30, and 31 which are in the RISCS field. I guess I might be missing something. Randall From owner-freebsd-multimedia Sun Feb 23 18:27:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA19179 for multimedia-outgoing; Sun, 23 Feb 1997 18:27:05 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA19173 for ; Sun, 23 Feb 1997 18:27:03 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id SAA00779; Sun, 23 Feb 1997 18:27:01 -0800 (PST) Message-Id: <199702240227.SAA00779@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 In-reply-to: Your message of "Sun, 23 Feb 1997 20:53:18 EST." <19970223205318.12700@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 18:27:01 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In brooktree848.c , look for case METEOR_CAP_CONTINOUS: change : btl_reg = (u_long *) &bt848[BKTR_INT_MASK]; *btl_reg = 1 << 18 | 1 << 11 | 2; to: btl_reg = (u_long *) &bt848[BKTR_INT_MASK]; *btl_reg = 1 << 23 | 2 | 1; Give that a try ... Tnks, Amancio From owner-freebsd-multimedia Sun Feb 23 18:36:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA19783 for multimedia-outgoing; Sun, 23 Feb 1997 18:36:25 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA19775 for ; Sun, 23 Feb 1997 18:36:22 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id SAA00859; Sun, 23 Feb 1997 18:36:20 -0800 (PST) Message-Id: <199702240236.SAA00859@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 In-reply-to: Your message of "Sun, 23 Feb 1997 21:21:07 EST." <19970223212107.37259@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 18:36:20 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Sorry about that .. I counted wrong. > STATUS 0 dd000206 2b901c > STATUS 0 dd000a04 2b9f24 The suspect in your case is ^^^^^^^ That value should be current PC address of the risc program which the Bt848 is executing. That value seems too low . To verify that indeed is the correct value. In get_bktr_mem , print the value returned by vm_page_alloc_contig. So before the "return addr", add this: printf("get_bktr_mem %s \n", addr); Tnks, Amancio >From The Desk Of Randall Hopper : > Amancio Hasty: > |A cursory analysis of the interrupt status info that you send us seems to > |indicate that you are getting excessive PCI errors. > ... > |Here is a sample output from my P100: > |Feb 22 05:51:20 cioloco /kernel: STATUS 0 d000206 30701c > |Feb 22 05:51:20 cioloco /kernel: STATUS 0 d000a04 3077a4 > |Feb 22 05:51:20 cioloco /kernel: STATUS 0 d000a04 3077a4 > |Feb 22 05:51:20 cioloco /kernel: STATUS 0 c000206 30601c > |Feb 22 05:51:20 cioloco /kernel: STATUS 0 c000206 30601c > ... > | ^^^^^^^ BKTR_INT_STAT > |BKTR_INT_STAT is the second value in the output as you can see > |bit 15 is never set which means that the Bt848 is not having > |problems accessing the host memory. > > A piece of my output: > STATUS 0 dc000206 100001c > STATUS 0 dc000a04 1000f24 > STATUS 0 dd000206 2b901c > STATUS 0 dd000a04 2b9f24 > > > Bit 15? Are some bytes swapped in the port mapping? It looks to my like > your low-order word (bits 15->0) is the same as mine. The differences look > like your bits 28,30, and 31 which are in the RISCS field. > > I guess I might be missing something. > > Randall > From owner-freebsd-multimedia Sun Feb 23 18:36:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA19828 for multimedia-outgoing; Sun, 23 Feb 1997 18:36:54 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA19815 for ; Sun, 23 Feb 1997 18:36:46 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 23 Feb 1997 21:35:41 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA04583; Sun, 23 Feb 97 21:35:39 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA00649; Sun, 23 Feb 1997 21:33:26 -0500 Message-Id: <19970223213326.12492@ct.picker.com> Date: Sun, 23 Feb 1997 21:33:26 -0500 From: Randall Hopper To: Amancio Hasty Cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 References: <19970222164418.44306@ct.picker.com> <199702222206.OAA09711@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702222206.OAA09711@rah.star-gate.com>; from Amancio Hasty on Feb 02, 1997 at 02:06:46PM Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Another interesting bit of behavior I just noticed Amancio. Viewing an old video tape in MSW95 using the Wincast/TV player, I get about 6 scan lines at the bottom of the window where you can see that the tracking is not quite in-sync. Under FreeBSD with tv and dtv, those scan lines are split across the top and bottom of the window. Randall From owner-freebsd-multimedia Sun Feb 23 20:09:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA25109 for multimedia-outgoing; Sun, 23 Feb 1997 20:09:59 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id UAA25101 for ; Sun, 23 Feb 1997 20:09:57 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 23 Feb 1997 23:08:05 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA05783; Sun, 23 Feb 97 23:07:58 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id XAA00850; Sun, 23 Feb 1997 23:05:44 -0500 Message-Id: <19970223230544.24713@ct.picker.com> Date: Sun, 23 Feb 1997 23:05:44 -0500 From: Randall Hopper To: Amancio Hasty Cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 - that's it! References: <19970223205318.12700@ct.picker.com> <199702240227.SAA00779@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702240227.SAA00779@rah.star-gate.com>; from Amancio Hasty on Feb 02, 1997 at 06:27:01PM Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty: |In brooktree848.c , look for | case METEOR_CAP_CONTINOUS: |change : | btl_reg = (u_long *) &bt848[BKTR_INT_MASK]; | *btl_reg = 1 << 18 | 1 << 11 | 2; |to: | btl_reg = (u_long *) &bt848[BKTR_INT_MASK]; | *btl_reg = 1 << 23 | 2 | 1; Bingo! I've had DTV running continuously @ 640x480 for 10 minutes and off-and-on for about 20 minutes with no crash. Great job remote trouble-shooting from very little info! With some experimentation, it seems that setting bit 23 of the INT_MASK is the key. (Scratch, scratch...) Now what I'm trying to figure out is how you knew to try that and "why" that works?! According to the spec, that bit is in a "Reserved" block from bits 23-20 of the INT_STATUS/_MASK registers. That bit also wasn't set in any lines of the STATUS dump I mailed either. So what's your secret? :-) Or am I just missing something blatently obvious. Thanks again! Randall From owner-freebsd-multimedia Sun Feb 23 21:31:24 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28688 for multimedia-outgoing; Sun, 23 Feb 1997 21:31:24 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA28680 for ; Sun, 23 Feb 1997 21:31:17 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id VAA00450; Sun, 23 Feb 1997 21:31:14 -0800 (PST) Message-Id: <199702240531.VAA00450@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 - that's it! In-reply-to: Your message of "Sun, 23 Feb 1997 23:05:44 EST." <19970223230544.24713@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 21:31:14 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Randall Hopper : > Amancio Hasty: > |In brooktree848.c , look for > | case METEOR_CAP_CONTINOUS: > |change : > | btl_reg = (u_long *) &bt848[BKTR_INT_MASK]; > | *btl_reg = 1 << 18 | 1 << 11 | 2; > |to: > | btl_reg = (u_long *) &bt848[BKTR_INT_MASK]; > | *btl_reg = 1 << 23 | 2 | 1; > > Bingo! I've had DTV running continuously @ 640x480 for 10 minutes and > off-and-on for about 20 minutes with no crash. Great job remote > trouble-shooting from very little info! > > With some experimentation, it seems that setting bit 23 of the INT_MASK is > the key. > > (Scratch, scratch...) Now what I'm trying to figure out is how you knew to > try that and "why" that works?! According to the spec, that bit is in a > "Reserved" block from bits 23-20 of the INT_STATUS/_MASK registers. That > bit also wasn't set in any lines of the STATUS dump I mailed either. > > So what's your secret? :-) Or am I just missing something blatently obvious . > > Thanks again! > > Randall Ask Brooktree, I have no idea what that bit does 8) As for detecting the actual problem, it comes from writing the driver and examining what was different between single capture and continuous capture. The primary difference that I could see was the setting of BKT_INT_MASK from the Bt848 everything else is pretty much the same. Curious, how do you like the performance of DTV? Last but not least, I will try to generate another driver release tonite. Enjoy, Amancio From owner-freebsd-multimedia Sun Feb 23 22:40:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA02347 for multimedia-outgoing; Sun, 23 Feb 1997 22:40:38 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA02342 for ; Sun, 23 Feb 1997 22:40:36 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id WAA00896 for ; Sun, 23 Feb 1997 22:40:36 -0800 (PST) Message-Id: <199702240640.WAA00896@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: Bt848 driver release 0.3 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 22:40:35 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is a release which cures system crashes on some systems. The bug was reported by Randall Hopper . If you are using the Bt848 driver please upgrade your system. So far the driver has been reported to work with: STB WinTV Hauppage's Wincast TV Smart Video Recorder III You will need at least FreeBSD-2.2 to use the driver . For sure the driver does not compile on FreeBSD-2.1 or less systems. The distibution consists of 1. Bt848 PCI driver. The README file has the contact info for getting programming information for the Bt848 chipset. 2. grabber-meteor.cc which is a replacement for vic-2.8's grabber-meteor.c. This version will work with a meteor or a bt848 based cards. 3. "dtv" a sample application which displays captured frames directly on the vga's display buffer -- you will need a vga card which presents a linear frame buffer additionally dtv will only work with XFree86. dtv supports color depths of 15bits or 32bits. If you have an S3 968 check out dtv with a resolution of 640x480 32bits 8) If you have a fairly decent monitor you should be able to use your FreeBSD box to watch tv . Hmm... I may have to move my monitor to the center of my living room . What a drag 8) If you are using Xinside's X server, "dtv" will not work for you because "dtv" uses the X server extension DGA which is an XFree86 Server extension. The driver has been tested on a P100 Triton chipset and a PPRO 200MHz Natoma chipset. My Bt848 based card is the "Intel Smart Video Recorder III" This is an important distinction given that the whole motivation to writing the driver was because "vic" with my Matrox Meteor was locking up my PPRO 200 . After I finished writing the driver, I discovered that by modifying "vic" to use yuv packed mode does not lock up my PPRO. Apparently, the Matrox Meteor has problems generating short bursts DMA as required for generating YUV Planar. A couple of hackers have reported success with Hauppages's WinCast/TV which is a Bt848 based video card. WinCast/TV is cheaper than the Intel card plus it has much better driver support in Win95. ftp://rah.star-gate.com/pub/bt848-0.3.tar.gz Have fun, Amancio From owner-freebsd-multimedia Sun Feb 23 23:08:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA05037 for multimedia-outgoing; Sun, 23 Feb 1997 23:08:39 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA05030 for ; Sun, 23 Feb 1997 23:08:36 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id XAA01141 for ; Sun, 23 Feb 1997 23:08:36 -0800 (PST) Message-Id: <199702240708.XAA01141@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: This week Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Feb 1997 23:08:36 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk If no more problems are reported during this week I will submit the Bt848 driver to the FreeBSD-3.0-current tree . Now this week I will be very busy with work so if I am not responsive is because I am just tied up with work. Try to beat on the driver this week. Have fun, Amancio From owner-freebsd-multimedia Mon Feb 24 04:13:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA15602 for multimedia-outgoing; Mon, 24 Feb 1997 04:13:14 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id EAA15597 for ; Mon, 24 Feb 1997 04:13:11 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Mon, 24 Feb 1997 7:12:08 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA13334; Mon, 24 Feb 97 07:12:06 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id HAA01085; Mon, 24 Feb 1997 07:09:51 -0500 Message-Id: <19970224070951.22326@ct.picker.com> Date: Mon, 24 Feb 1997 07:09:51 -0500 From: Randall Hopper To: Amancio Hasty Cc: multimedia@FreeBSD.org Subject: Re: New BT848 driver 0.2 - that's it! References: <19970223230544.24713@ct.picker.com> <199702240531.VAA00450@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702240531.VAA00450@rah.star-gate.com>; from Amancio Hasty on Feb 02, 1997 at 09:31:14PM Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty: |As for detecting the actual problem, it comes from writing the driver and |examining what was different between single capture and continuous capture. Cool. Whatever works. |Curious, how do you like the performance of DTV? |Last but not least, I will try to generate another driver release tonite.. Pretty smooth. Any other changes in the driver besides the CONT INT_MASK update? Randall From owner-freebsd-multimedia Mon Feb 24 07:59:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA25414 for multimedia-outgoing; Mon, 24 Feb 1997 07:59:46 -0800 (PST) Received: from tyger.inna.net (root@tyger.inna.net [206.151.66.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA25406 for ; Mon, 24 Feb 1997 07:59:44 -0800 (PST) Received: from dolphin.inna.net (jamie@dolphin.inna.net [206.151.66.2]) by tyger.inna.net (8.8.3/8.7.3) with SMTP id LAA01482; Mon, 24 Feb 1997 11:02:19 -0500 (EST) Date: Mon, 24 Feb 1997 10:59:29 -0500 (EST) From: Jamie Bowden To: Amancio Hasty cc: Thomas Arnold , multimedia@freebsd.org Subject: Re: bt848 driver In-Reply-To: <199702232212.OAA00626@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk We needed the upgrade anyway. The Feb. 15 2.2 Gamma is stable and quick so far, and as soon as 2.2 is -release, I will update all the machines. We wouldn't expect you to support every release even if you did have the bandwidth, just due to time constraints. Thanks for the excellent code, and keep up the good work. This extends to all FreeBSD developers and contributors. On Sun, 23 Feb 1997, Amancio Hasty wrote: > Hi, > For whatever is worth saving images over here is almost instantaneous. > > rgb16 converts the image to ppm format . In your case, I would modify > rgb16.c to just dump the raw frame to disk. > > Once you managed to get a video source connected to > your STB WinTV, try running tv. > > I am definitely interested on how the driver works in your system since > I have not heard of anyone using the video capture drivers on any > such systems 8) > > > And, sorry to force you guys to upgrade. Is just that I don't have the > bandwith to support old kernels. > > > > Have fun, > Amancio > > >From The Desk Of Thomas Arnold : > > After the machine I have the STB WinTV card in was upgraded to 2.2-Gamma ( > > thanks to Jamie ) the card is detected fine and the device is created. > > > > Currently since I'm not in the room with the machine I can't hook a camera > > up to it, but, I'm getting a blue box which is the default WinTV output > > when it can't find a signal for its tuner so it looks like its working. > > > > I captured the picture using rgb16.c > > > > Not having used rgb16.c before, how long should it take to capture an > > image? It takes upwards of 10-15seconds for it to create the image. I > > haven't seen yet how much CPU load this creates. > > > > The machine is : > > 2.2-Gamma > > AMD X5-133 ( 486 Class ) > > UMC Chipset > > 32megs > > > > Probably the slowest machine you'll ever hear of someone trying to use > > this card in. :-) > > > > +-----------------------------------------------+ > > : Tom Arnold - No relation to Rosanne : > > : SysAdmin/Pres - TBI, Ltd ( inna.net ) : > > : The Middle Peninsula's Internet Connection : > > +-----------------------------------------------+ > > > > > Jamie Bowden Network Administrator, TBI Ltd. From owner-freebsd-multimedia Mon Feb 24 10:26:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA05816 for multimedia-outgoing; Mon, 24 Feb 1997 10:26:38 -0800 (PST) Received: from tyger.inna.net (root@tyger.inna.net [206.151.66.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA05807 for ; Mon, 24 Feb 1997 10:26:35 -0800 (PST) Received: from caught.inna.net (caught.inna.net [206.151.66.7]) by tyger.inna.net (8.8.3/8.7.3) with SMTP id NAA13215 for ; Mon, 24 Feb 1997 13:29:21 -0500 (EST) Date: Mon, 24 Feb 1997 13:25:56 -0500 (EST) From: Thomas Arnold To: multimedia@FreeBSD.ORG Subject: bt848 driver v0.3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The Saga Continues. I can't run the TV proggie cause the video card is exceedingly cheap ( avanclogic ) and that box doesn't have X on it. I export Xapps to another box. Whenever I run the rgb16 program xsysstats pegs out for about 20 seconds. I'm not much of a C programmer any more ( hell, I'm a Pascal prgrammer from the days of Turbo Pascal 1 under CP/M :-) ) so I'm really over my head... but I'm trying! What I've done was stick a coupla printf's into rgb16.c so I could see what was running when the load peaked. It of course peaks right after it writes the ppm header to disk. The drive light is only flickering so I dont think its disk I/O thats slowing it down. Occasionally I get a console error : bktr0: ioctl: tsleep error 35 237d5c The last number is usually different and I get 'last message repeated blah times'. but usually only Once per rgb16 run. Hints/comments are appreciated. +-----------------------------------------------+ : Tom Arnold - No relation to Rosanne : : SysAdmin/Pres - TBI, Ltd ( inna.net ) : : The Middle Peninsula's Internet Connection : +-----------------------------------------------+ From owner-freebsd-multimedia Mon Feb 24 11:16:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA09334 for multimedia-outgoing; Mon, 24 Feb 1997 11:16:03 -0800 (PST) Received: from plains.nodak.edu (tinguely@plains.NoDak.edu [134.129.111.64]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA09303 for ; Mon, 24 Feb 1997 11:15:58 -0800 (PST) Received: (from tinguely@localhost) by plains.nodak.edu (8.8.4/8.8.3) id NAA29000; Mon, 24 Feb 1997 13:15:02 -0600 (CST) Date: Mon, 24 Feb 1997 13:15:02 -0600 (CST) From: Mark Tinguely Message-Id: <199702241915.NAA29000@plains.nodak.edu> To: kongwah@iss.nus.sg, multimedia@FreeBSD.org Subject: Re: unknown reboot reason on FreeBSD Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I am running an licence plate recognition system > on a Pentium running FreeBSD and using the Matrox > Meteor card. > > I have reboot problems for no apparent reasons. > I am thinking of directing the reboot error > messages onto /var/log files, via syslogd. But I > would like to check out whether this reboot stuff > is already a well-known problem with you guys. I moved this to the -multimedia mailling list instead of the -questions mailling list, because more people on -multimedia can help you. Is the PCI chipset happen to be a Neptune? -- (you can tell by looking at the message when the system boots, it will say something like: chip0 rev 17 on pci0:0 more information on the OS version, other devices such as SCSI. I can lock up a Neptune based PCI motherboard or cause a reboot of FreeBSD with the Meteor when I am BOTH capturing and displaying on the same machine. Move the same programs and cards to a Triton based PCI motherbaoard and the problem disappears. Also capturing on the Neptune based machine but displaying the information (X application) on another machine, there is no problems. Intel found that the Meteor and clones built on the same Phillips chipsets generate an illegel PCI code; this is why the meteor does not work with Pentium Pro machines. I reported the Neptune problem to Intel when they were looking into the Pentium Pro <> Meteor errors (they both have the same symptoms), but they did not pursue the Neptune. I suspect when both the video capture and heavy X use on the same PCI bus causes the Meteor error to be caught on the Neptune. --mark. From owner-freebsd-multimedia Tue Feb 25 08:42:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA01092 for multimedia-outgoing; Tue, 25 Feb 1997 08:42:16 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA01082 for ; Tue, 25 Feb 1997 08:42:07 -0800 (PST) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15899(5)>; Tue, 25 Feb 1997 08:41:03 PST Received: from localhost by crevenia.parc.xerox.com with SMTP id <177476>; Tue, 25 Feb 1997 08:40:55 -0800 To: Amancio Hasty cc: multimedia@freebsd.org Subject: Re: mrouted problem? In-reply-to: Your message of "Sun, 09 Feb 97 02:16:17 PST." <199702091016.CAA00287@rah.star-gate.com> Date: Tue, 25 Feb 1997 08:40:50 PST From: Bill Fenner Message-Id: <97Feb25.084055pst.177476@crevenia.parc.xerox.com> Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty wrote: >As of yesterday's freebsd-3.0-current, I can't get to establish a tunnel. Amancio, Are you still having problems with mrouted? Have you tried rebuilding it? Bill From owner-freebsd-multimedia Tue Feb 25 15:18:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA23361 for multimedia-outgoing; Tue, 25 Feb 1997 15:18:49 -0800 (PST) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id PAA23351 for ; Tue, 25 Feb 1997 15:18:43 -0800 (PST) Received: from whizzo.transsys.com by agora.rdrop.com with smtp (Smail3.1.29.1 #17) id m0vzW8i-00091YC; Tue, 25 Feb 97 15:18 PST Received: from localhost.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.8.3/8.7.3) with SMTP id SAA05959; Tue, 25 Feb 1997 18:14:42 -0500 (EST) Message-Id: <199702252314.SAA05959@whizzo.transsys.com> To: Amancio Hasty cc: multimedia@freebsd.org From: "Louis A. Mamakos" Subject: Re: Bt848 driver release 0.3 References: <199702240640.WAA00896@rah.star-gate.com> In-reply-to: Your message of "Sun, 23 Feb 1997 22:40:35 PST." <199702240640.WAA00896@rah.star-gate.com> Date: Tue, 25 Feb 1997 18:14:42 -0500 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > A couple of hackers have reported success with Hauppages's > WinCast/TV which is a Bt848 based video card. WinCast/TV is cheaper > than the Intel card plus it has much better driver support in Win95. I just wanted to echo that I just tried this new release of the driver on a brand new WinCast/TVdbx (version with stereo audio), and it seems to be working great with dtv. I got the "deluxe" version at CompUSA for $159.00; the non-stereo audio version was $129, I think. I'm curious to try dtv the "old" way, with the video in a window done the hard way. I'd like to be able to watch the video, and hack away on some code at the same time in another window. The current version using the DGA XFree86 extension sort of grabs the display away from the X server for the duration. I'm trying to figure out if it's "safe" to create a window that's "always on top" and "sticky" (that is, it moves with the view as you pan around on a desktop) and have the video blasted into it, within the window frame. I fear that I'm gonna have to learn much more about how X works than I ever wanted to.. I contacted the Brooktree people today, and I'm hoping that I'll get some docs on the Bt848, as well as their hardware eval board which looks to have the same sort of tuner assembly on it. They have some sample software for their hardware eval kit, and I'm hoping source code which might include how to talk to the tuner over the I^2C bus. louie From owner-freebsd-multimedia Tue Feb 25 16:37:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA28993 for multimedia-outgoing; Tue, 25 Feb 1997 16:37:25 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA28981 for ; Tue, 25 Feb 1997 16:37:21 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id RAA16126; Tue, 25 Feb 1997 17:33:56 -0700 Message-Id: <199702260033.RAA16126@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: "Louis A. Mamakos" cc: multimedia@freebsd.org Subject: Re: Bt848 driver release 0.3 In-reply-to: Your message of "Tue, 25 Feb 1997 18:14:42 EST." <199702252314.SAA05959@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Feb 1997 17:33:56 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, >I contacted the Brooktree people today, and I'm hoping that I'll get >some docs on the Bt848, as well as their hardware eval board which >looks to have the same sort of tuner assembly on it. They have some >sample software for their hardware eval kit, and I'm hoping source >code which might include how to talk to the tuner over the I^2C bus. what does that eval board cost? exactly what "tuner" does the WinCast/TV have on it? the STB TVPCI has a part made by Temic: Frontend 4032 FY5 Temic 3X7 004 9604 I can put up a page on the FreeBSD multimedia site to collect sample code, etc. Let me know if any of it is fair game for re-distribution. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Tue Feb 25 18:06:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA04923 for multimedia-outgoing; Tue, 25 Feb 1997 18:06:27 -0800 (PST) Received: from mayu.hal.t.u-tokyo.ac.jp (mayu.hal.t.u-tokyo.ac.jp [133.11.98.131]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA04917; Tue, 25 Feb 1997 18:06:16 -0800 (PST) Received: by mayu.hal.t.u-tokyo.ac.jp (8.8.5+2.7Wbeta5/3.2W5/HAL) id LAA19057; Wed, 26 Feb 1997 11:06:01 +0900 (JST) Date: Wed, 26 Feb 1997 11:06:01 +0900 (JST) From: Ajith Pasqual Message-Id: <199702260206.LAA19057@mayu.hal.t.u-tokyo.ac.jp> To: freebsd-multimedia@FreeBSD.ORG CC: pasqual@hal.t.u-tokyo.ac.jp, freebsd-questions@FreeBSD.ORG Subject: Ensoniq Soundscape VIVO 90 PnP Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi!, Has any one got an Ensoniq SoundScape VIVO 90 PnP working with FreeBSD 2.1.6 ? I've tried many options in the kernel (following tips from Mailing Archive, FAQ etc.,) but still couldn't get any sound out of it ? Boot probe says sb0 not found at 0x220. This card has Sound Blaster Emulation at port 0x220. Following a tip from a previous post, I've disabled PnP setting in BIOS and set that IRQ 5 and 9 are used by an ISA Card. This poses no problems for Win95. Soft booting after booting to DOS from a floppy also failed. Here is the device configuration from Win95 : (For DOS) MIDI : IRQ 9 Port 330 SB Enabled at 220 (checked) Wave Address : 534 IRQ 5 DMA 1 When in DOS, SSConfig gives the following settings (Automatic detection) Digital Audio : Port 330 IRQ = 7 DMA = 1 MIDI : FM Synthesis OPL Chip Port 388 I tried these also by disabling lpt0 which conflicts with it. The sound directory contains a file sscape.c. I tried to recompile the kernel after including sscape0 as a device. It gives some errors when compiling one program. Any suggestions would be greatly appreciated. Since I've not subscribed to mailing lists , pls copy any mail directly to me. Thank you in advance. Ajith. From owner-freebsd-multimedia Tue Feb 25 19:20:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA09713 for multimedia-outgoing; Tue, 25 Feb 1997 19:20:40 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA09687 for ; Tue, 25 Feb 1997 19:20:25 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 25 Feb 1997 22:19:12 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA21244; Tue, 25 Feb 97 22:19:11 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id WAA20445; Tue, 25 Feb 1997 22:16:50 -0500 Message-Id: <19970225221649.20749@ct.picker.com> Date: Tue, 25 Feb 1997 22:16:49 -0500 From: Randall Hopper To: "Louis A. Mamakos" Cc: Amancio Hasty , multimedia@freebsd.org Subject: Re: Bt848 driver release 0.3 References: <199702240640.WAA00896@rah.star-gate.com> <199702252314.SAA05959@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702252314.SAA05959@whizzo.transsys.com>; from Louis A. Mamakos on Feb 02, 1997 at 06:14:42PM Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk RLouis A. Mamakos: |I'm curious to try dtv the "old" way, with the video in a window done |the hard way. I'd like to be able to watch the video, and hack away |on some code at the same time in another window. The current version |using the DGA XFree86 extension sort of grabs the display away from |the X server for the duration. I'm trying to figure out if it's |"safe" to create a window that's "always on top" and "sticky" (that |is, it moves with the view as you pan around on a desktop) and have |the video blasted into it, within the window frame. I fear that I'm |gonna have to learn much more about how X works than I ever wanted |to.. Yeah, me too. In fact the past two evenings I hacked up dtv to do just that. The keyboard grab is gone, and the live video window tracks when dragging the X window around with the mouse. However, since clipping isn't yet supported by the bktr driver (at least I don't think it is), I've got dtv just pausing capture when the X window is moved partially off the display. Also due to no clipping, I don't let it get pushed behind anything -- it pops itself. So dragging is in, and I plan to add resize support tomorrow night. If you're interested in a copy, I can clean up my source a bit tomorrow evening and make it available. Adding clipping support to the bktr driver would be a nice feature addition. If someone doesn't get get there first, I hope to look into adding it at some point. |I contacted the Brooktree people today, and I'm hoping that I'll get |some docs on the Bt848, as well as their hardware eval board which |looks to have the same sort of tuner assembly on it. They have some |sample software for their hardware eval kit, and I'm hoping source |code which might include how to talk to the tuner over the I^2C bus. If the sample software you get works with the TV/dbx tuner, I'd be interested as well! I've swapped e-mail with Wincast a few times about Wincast tuner specs but so far haven't gotten past the PR tech support folks that don't seem to even know the Brooktree specs are freely available. The official word I get is "SDK beta in 2nd quarter", which is probably some Windoze API, not port mappings. I probably will just eat the long distance cost and call them. Randall From owner-freebsd-multimedia Tue Feb 25 20:37:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13940 for multimedia-outgoing; Tue, 25 Feb 1997 20:37:43 -0800 (PST) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA13924 for ; Tue, 25 Feb 1997 20:37:01 -0800 (PST) Received: from localhost.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.8.3/8.7.3) with SMTP id XAA08859; Tue, 25 Feb 1997 23:36:46 -0500 (EST) Message-Id: <199702260436.XAA08859@whizzo.transsys.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Randall Hopper cc: Amancio Hasty , multimedia@freebsd.org From: "Louis A. Mamakos" Subject: Re: Bt848 driver release 0.3 References: <199702240640.WAA00896@rah.star-gate.com> <199702252314.SAA05959@whizzo.transsys.com> <19970225221649.20749@ct.picker.com> In-reply-to: Your message of "Tue, 25 Feb 1997 22:16:49 EST." <19970225221649.20749@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Feb 1997 23:36:46 -0500 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Yeah, me too. In fact the past two evenings I hacked up dtv to do just > that. The keyboard grab is gone, and the live video window tracks when > dragging the X window around with the mouse. > > However, since clipping isn't yet supported by the bktr driver (at least I > don't think it is), I've got dtv just pausing capture when the X window is > moved partially off the display. Also due to no clipping, I don't let it > get pushed behind anything -- it pops itself. So dragging is in, and I > plan to add resize support tomorrow night. > > If you're interested in a copy, I can clean up my source a bit tomorrow > evening and make it available. I'm certainly interested in a copy.. no sense in re-inventing the wheel here. > If the sample software you get works with the TV/dbx tuner, I'd be > interested as well! I've swapped e-mail with Wincast a few times about > Wincast tuner specs but so far haven't gotten past the PR tech support > folks that don't seem to even know the Brooktree specs are freely > available. The official word I get is "SDK beta in 2nd quarter", which is > probably some Windoze API, not port mappings. I probably will just eat the > long distance cost and call them. We'll see what I actually get from Brooktree. I haven't ventured to look under the label of the tuner module to see what's on the TV/dbx board, but I'm guessing it's pretty close to what's on the hardware eval kit Brooktree sells. There's a striking parallel between the picture of the eval board, and the Wincast board :=) I'll pass along the info when I get it. louie From owner-freebsd-multimedia Tue Feb 25 20:42:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA14162 for multimedia-outgoing; Tue, 25 Feb 1997 20:42:29 -0800 (PST) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA14155 for ; Tue, 25 Feb 1997 20:42:21 -0800 (PST) Received: from localhost.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.8.3/8.7.3) with SMTP id XAA08931; Tue, 25 Feb 1997 23:42:03 -0500 (EST) Message-Id: <199702260442.XAA08931@whizzo.transsys.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Steve Passe cc: multimedia@freebsd.org From: "Louis A. Mamakos" Subject: Re: Bt848 driver release 0.3 References: <199702260033.RAA16126@clem.systemsix.com> In-reply-to: Your message of "Tue, 25 Feb 1997 17:33:56 MST." <199702260033.RAA16126@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Feb 1997 23:42:03 -0500 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi, > > >I contacted the Brooktree people today, and I'm hoping that I'll get > >some docs on the Bt848, as well as their hardware eval board which > >looks to have the same sort of tuner assembly on it. They have some > >sample software for their hardware eval kit, and I'm hoping source > >code which might include how to talk to the tuner over the I^2C bus. > > what does that eval board cost? I don't know; the web page didn't have very much detailed information on it. It did look *very* similar in shape to the Wincast/TV board I just picked up. > exactly what "tuner" does the WinCast/TV have on it? the STB TVPCI > has a part made by Temic: > > Frontend 4032 FY5 > Temic 3X7 004 > 9604 I dunno. There's a big sticker over the tuner, and I haven't attacked it yet. Now that the hardware seems to work, who knows? Perhaps next time I have the cover of the computer open, I'll take a peek. louie From owner-freebsd-multimedia Tue Feb 25 22:18:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA18881 for multimedia-outgoing; Tue, 25 Feb 1997 22:18:49 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id WAA18825 for ; Tue, 25 Feb 1997 22:17:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id XAA17727 for ; Tue, 25 Feb 1997 23:16:26 -0700 Message-Id: <199702260616.XAA17727@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org Subject: Re: Bt848 driver release 0.3 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Feb 1997 23:16:26 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I've setup a web page to support the bt848 development effort: http://freebsd.org/~fsmp/HomeAuto/Bt848.html send any additional info you have for inclusion. in particular note that I believe I have identified the tv tuner module used on the STB board, details available on the above site. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Wed Feb 26 03:09:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA01235 for multimedia-outgoing; Wed, 26 Feb 1997 03:09:57 -0800 (PST) Received: from hda.hda.com (ip89-max1-fitch.ziplink.net [199.232.245.89]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id DAA01229 for ; Wed, 26 Feb 1997 03:09:52 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id EAA07411; Wed, 26 Feb 1997 04:28:19 -0500 From: Peter Dufault Message-Id: <199702260928.EAA07411@hda.hda.com> Subject: Re: Bt848 driver release 0.3 In-Reply-To: <199702260616.XAA17727@clem.systemsix.com> from Steve Passe at "Feb 25, 97 11:16:26 pm" To: smp@csn.net (Steve Passe) Date: Wed, 26 Feb 1997 04:28:18 -0500 (EST) Cc: multimedia@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi, > > I've setup a web page to support the bt848 development effort: > > http://freebsd.org/~fsmp/HomeAuto/Bt848.html > > send any additional info you have for inclusion. > in particular note that I believe I have identified the tv tuner module used > on the STB board, details available on the above site. I've uploaded my I2C code to freefall in ~ftp/pub/dufault/i2c.tgz. (Luigi - this is the new version that has the slave end as well and some minor fixes. Delete your old one) Peter -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 From owner-freebsd-multimedia Wed Feb 26 12:10:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA00343 for multimedia-outgoing; Wed, 26 Feb 1997 12:10:47 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id MAA00154 for ; Wed, 26 Feb 1997 12:09:27 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id NAA21658 for ; Wed, 26 Feb 1997 13:08:13 -0700 Message-Id: <199702262008.NAA21658@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@FreeBSD.ORG Subject: STB tuner Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Feb 1997 13:08:13 -0700 Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, I rang out the lines on the STB card that program the addresses of the tuner and stereo decoder. --- The tuner's PLL (TSA551x) AD line looks to be grounded, which puts its address at: 0xc0 (write) 0xc1 (read) --- The stereo decoder (TDA9850) has its MAD line floating (NOT connected to ground), so its address should be: 0xb6 (write) 0xb7 (read) -------------- open questions: 1: is PORT bit P3 ("custom application bit") of the tuner module attached/used for anything? Note that I CANNOT find any output pin on the tuner for this signal so I suspect its a moot point. 2: the tuner datasheet (FI1236) page 14, note #3, says: I2,I1,I0 = digital info for IO ports P2,P1,P0 BUT the pll datasheet (TSA5511) page 5, table 2, says: I2,I1,I0 = digital info for IO ports P7,P5,P4 If anyone has the "tin can" open, could they record the chip numbers? unfortunately someone already looked at the top side and saw no I2C chips, the chip of interest is probably on the bottom side... 3: I need a source documenting the frequencies of "channels", ie, for each tv channel I need to know its actual frequency. Can anyone explain why the tuner datasheet claims support for channels 2 thru 69, while the STB manual claims "125 channel ready"? is that a CATV number, with CATV channels being more tighly packed? or ??? -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Wed Feb 26 14:16:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA06763 for multimedia-outgoing; Wed, 26 Feb 1997 14:16:48 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id OAA06706 for ; Wed, 26 Feb 1997 14:15:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id PAA22240 for ; Wed, 26 Feb 1997 15:14:18 -0700 Message-Id: <199702262214.PAA22240@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org Subject: Re: STB tuner In-reply-to: Your message of "Wed, 26 Feb 1997 13:08:13 MST." <199702262008.NAA21658@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Feb 1997 15:14:17 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I just fopund the motherload of tuner info: http://www.thp.uni-koeln.de/~rjkm/linux/bttv.html this is a GPL'd linux driver, so it will have to be re-written, but the info is (mostly) there. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Wed Feb 26 16:12:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA13832 for multimedia-outgoing; Wed, 26 Feb 1997 16:12:56 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA13760 for ; Wed, 26 Feb 1997 16:11:51 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id RAA22822 for ; Wed, 26 Feb 1997 17:10:38 -0700 Message-Id: <199702270010.RAA22822@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org Subject: Re: STB tuner In-reply-to: Your message of "Wed, 26 Feb 1997 15:14:17 MST." <199702262214.PAA22240@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Feb 1997 17:10:37 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I just found a "DOS toolkit" from Philips for developing hardware with the various I2C chips used on the cards we are playing with. This is called "tv400.exe" (self extracting DOS) and is available on the BT848 driver page: http://freebsd.org/~fsmp/HomeAuto/Bt848.html --- I think I have enough to actual start programming the tuner now! -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Wed Feb 26 17:04:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA17551 for multimedia-outgoing; Wed, 26 Feb 1997 17:04:08 -0800 (PST) Received: from pegasus.com (pegasus.com [140.174.243.13]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA17541 for ; Wed, 26 Feb 1997 17:04:03 -0800 (PST) Received: by pegasus.com (8.6.8/PEGASUS-2.2) id PAA06608; Wed, 26 Feb 1997 15:03:42 -1001 Date: Wed, 26 Feb 1997 15:03:42 -1001 From: richard@pegasus.com (Richard Foulk) Message-Id: <199702270104.PAA06608@pegasus.com> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: freebsd-multimedia@freefall.freebsd.org Subject: GUS PnP Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Rats. My GUS Pro still doesn't work properly. This is on a no-name AMD 486-133/PCI/PnP motherboard with the guspnp6 stuff added: FreeBSD 2.2-BETA_A #0: Sat Feb 22 20:09:28 HST 1997 richard@ms.pegasus.com:/usr/src/sys/compile/ms1-sound Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193714 Hz CPU: AMD Am5x86 Write-Back (486-class CPU) Origin = "AuthenticAMD" Id = 0x4f4 real memory = 50331648 (49152K bytes) avail memory = 46157824 (45076K bytes) Probing for devices on PCI bus 0: chip0 rev 49 on pci0:5 ... Checking for GUS Plug-n-Play ... Board Vendor ID: GRV0001 Board Serial Number: 00000001 gus0 at 0x220 irq 9 drq 0 flags 0x1 on isa at 0x32c dma 1,0 at 0x220 irq 9 dma 0,1 Warning! GUS DMA not selected What's the deal with the warning message? I can get sound, though the volume is low and not settable. It loops away from the start. When you play something the process hangs forever while the audio plays over and over. If you play something, kill it (to stop the looping), and then play something shorter the looping includes the end of the longer item. The buffer seems to expand with the size of the largest file played. This probably explains why the system crashes if you play something fairly long. When I try to set `vol' with `mixer' I get: WRITE_MIXER: Invalid argument Is there a way to make this stuff work? I've tried it on a few different FBSD releases now with similar results. Is there some other card that actually works well with FBSD? I also tried a SoundBlaster 16, with other funky problems (too many ports all over the place, low quality, etc.) Will sound ever become a fully supported feature of FreeBSD? Thanks Richard From owner-freebsd-multimedia Wed Feb 26 17:38:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA19839 for multimedia-outgoing; Wed, 26 Feb 1997 17:38:56 -0800 (PST) Received: from tyger.inna.net (root@tyger.inna.net [206.151.66.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA19834 for ; Wed, 26 Feb 1997 17:38:53 -0800 (PST) Received: from caught.inna.net (caught.inna.net [206.151.66.7]) by tyger.inna.net (8.8.3/8.7.3) with SMTP id UAA26921; Wed, 26 Feb 1997 20:41:49 -0500 (EST) Date: Wed, 26 Feb 1997 20:38:17 -0500 (EST) From: Thomas Arnold To: Steve Passe cc: multimedia@freebsd.org Subject: Re: Bt848 driver release 0.3 In-Reply-To: <199702260616.XAA17727@clem.systemsix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 25 Feb 1997, Steve Passe wrote: > send any additional info you have for inclusion. > in particular note that I believe I have identified the tv tuner module used > on the STB board, details available on the above site. Okay... I got out the 200watt Weller soldering gun and removed the tuner module from a STB-TV card. The chips are : TDA9800 TSA5522 TDA5737 The TDA9800 is in the end of the module FURTHEST from the F Connector and is surrounded by the three adjustments accessable with the module lid on. Of note : The two adjustments side by side are pots and the one by itself is a coil. The only numbers inside : Next to the TDA9800 : 4780A 03 next to the f conn : 284780.Z 03 Opening the bottom of the can revealed nothing particularly interesting but it was a fun test of my patience and probable stupidity... We'll see if it still works when I reassemble it tommorrow... +-----------------------------------------------+ : Tom Arnold - No relation to Rosanne : : SysAdmin/Pres - TBI, Ltd ( inna.net ) : : The Middle Peninsula's Internet Connection : +-----------------------------------------------+ From owner-freebsd-multimedia Wed Feb 26 20:04:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA00834 for multimedia-outgoing; Wed, 26 Feb 1997 20:04:23 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id UAA00826 for ; Wed, 26 Feb 1997 20:04:19 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Wed, 26 Feb 1997 23:00:17 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA28222; Wed, 26 Feb 97 23:00:15 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id WAA24121; Wed, 26 Feb 1997 22:57:49 -0500 Message-Id: <19970226225749.11344@ct.picker.com> Date: Wed, 26 Feb 1997 22:57:49 -0500 From: Randall Hopper To: "Louis A. Mamakos" , Amancio Hasty Cc: multimedia@FreeBSD.org Subject: Draggable DTV References: <199702240640.WAA00896@rah.star-gate.com> <199702252314.SAA05959@whizzo.transsys.com> <19970225221649.20749@ct.picker.com> <199702260436.XAA08859@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199702260436.XAA08859@whizzo.transsys.com>; from Louis A. Mamakos on Feb 02, 1997 at 11:36:46PM Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk A draggable/stretchable version of dtv can be had at: http://users.multiverse.com/~rhh/dtv This is Amancios version with the grabs removed, drag/stretch added, a few new command line options (width, height, brightness), and 555 16bpp support. Its still a bit rough as it exposes a few driver problems. Occasionally reconfiguring the driver parameters will freeze my system. More frequently, stopping and restarting continuous capture doesn't actually restart it (mailed you this Monday Amancio). But the speed is very impressive -- just a few rough spots to work over yet. :-) BTW Amancio, I noticed in the driver it checks the capture width/height to verify that they're even numbers in the range 2..1022/2..2046, but the compute code in there assumes the Bt limits of 640x480 NTSC for two-field and 640x240 for odd/even field. You might want to update the ioctl range checks for the next rev. Randall From owner-freebsd-multimedia Wed Feb 26 22:17:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA07759 for multimedia-outgoing; Wed, 26 Feb 1997 22:17:49 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id WAA07724 for ; Wed, 26 Feb 1997 22:16:41 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id XAA24452 for ; Wed, 26 Feb 1997 23:15:14 -0700 Message-Id: <199702270615.XAA24452@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org Subject: STB tuner Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Feb 1997 23:15:14 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Progress! I am nopw looking at channel 2 via the STB tuner!!! So it would appear that I have the basic I2C functions working. I just crudely crammed the hand-calculated frequency for channel 2 into it, so I have alot of work to do on the upper layers.... I have no idea whether I have sound, as I don't have a spare sound card for this system. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Wed Feb 26 22:47:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA08528 for multimedia-outgoing; Wed, 26 Feb 1997 22:47:18 -0800 (PST) Received: from grackle.grondar.za (4H1KmX5nzv7JEC6VpQIZ2dSGwtn3XuvG@grackle.grondar.za [196.7.18.131]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA08522 for ; Wed, 26 Feb 1997 22:47:13 -0800 (PST) Received: from grackle.grondar.za (GqGq6UevZIz3lUFg6jJ4OW6qeqaw/NMv@localhost [127.0.0.1]) by grackle.grondar.za (8.8.5/8.8.4) with ESMTP id IAA12751; Thu, 27 Feb 1997 08:46:57 +0200 (SAT) Message-Id: <199702270646.IAA12751@grackle.grondar.za> X-Mailer: exmh version 2.0gamma 1/27/96 To: Steve Passe cc: multimedia@freebsd.org Subject: Re: STB tuner Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Feb 1997 08:46:48 +0200 From: Mark Murray Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve Passe wrote: > Progress! I am nopw looking at channel 2 via the STB tuner!!! Congratulations! I have been passively watching this thread with great interest. > So it would appear that I have the basic I2C functions working. I just > crudely crammed the hand-calculated frequency for channel 2 into it, > so I have alot of work to do on the upper layers.... I have no idea > whether I have sound, as I don't have a spare sound card for this system. I had a look around you web page and associated documents. It seems that PAL versions of these cards are available. How compatible with the PAL modes is your work? I am interested in getting one of these cards, and will galdly contribute labour if required. M -- Mark Murray PGP key fingerprint = 80 36 6E 40 83 D6 8A 36 This .sig is umop ap!sdn. BC 06 EA 0E 7A F2 CE CE From owner-freebsd-multimedia Wed Feb 26 23:31:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA10176 for multimedia-outgoing; Wed, 26 Feb 1997 23:31:16 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id XAA10171 for ; Wed, 26 Feb 1997 23:31:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id AAA24791; Thu, 27 Feb 1997 00:27:28 -0700 Message-Id: <199702270727.AAA24791@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: Mark Murray cc: multimedia@freebsd.org Subject: Re: STB tuner In-reply-to: Your message of "Thu, 27 Feb 1997 08:46:48 +0200." <199702270646.IAA12751@grackle.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Feb 1997 00:27:28 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > I had a look around you web page and associated documents. It seems that > PAL versions of these cards are available. How compatible with the PAL > modes is your work? The basic driver already knows about it, and as for the tuner itself, I have seen no features that are programmable, either you get a board with a PAL tuner or an NTSC tuner (I think...) If you look at the tuner module page you will see what I mean: http://208.196.158.173/fi1200.html there is an issue as to the station frequencies. right now I'm just plugging in hard values (now can see all my local stations...). but they are well documented, am thinking about whether to handle them computationally or with a lookup table. --- > I am interested in getting one of these cards, and will galdly contribute > labour if required. to get this right many people will have to chip in, so that we can support all the various flavors of board/standards/etc. I'm actually more worried about the audio than the video. Evidently there are parameters for the stereo chip stored in EPROM, with no documentation of their format -- Steve Passe | powered by smp@csn.net | FreeBSD -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzHe7tEAAAEEAM274wAEEdP+grIrV6UtBt54FB5ufifFRA5ujzflrvlF8aoE 04it5BsUPFi3jJLfvOQeydbegexspPXL6kUejYt2OeptHuroIVW5+y2M2naTwqtX WVGeBP6s2q/fPPAS+g+sNZCpVBTbuinKa/C4Q6HJ++M9AyzIq5EuvO0a8Rr9AAUR tBlTdGV2ZSBQYXNzZSA8c21wQGNzbi5uZXQ+ =ds99 -----END PGP PUBLIC KEY BLOCK----- From owner-freebsd-multimedia Wed Feb 26 23:53:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA11251 for multimedia-outgoing; Wed, 26 Feb 1997 23:53:46 -0800 (PST) Received: from grackle.grondar.za (HbyIwv/7ef/A8tcUM/THYdNVuW4fxu0+@grackle.grondar.za [196.7.18.131]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA11226 for ; Wed, 26 Feb 1997 23:53:34 -0800 (PST) Received: from grackle.grondar.za (Dt4fcUiskcdDT+gfGc1JGo3jPI5qm2/0@localhost [127.0.0.1]) by grackle.grondar.za (8.8.5/8.8.4) with ESMTP id JAA12921; Thu, 27 Feb 1997 09:53:14 +0200 (SAT) Message-Id: <199702270753.JAA12921@grackle.grondar.za> To: Steve Passe cc: multimedia@freebsd.org Subject: Re: STB tuner Date: Thu, 27 Feb 1997 09:53:12 +0200 From: Mark Murray Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve Passe wrote: > Hi, > > > I had a look around you web page and associated documents. It seems that > > PAL versions of these cards are available. How compatible with the PAL > > modes is your work? > > The basic driver already knows about it, and > as for the tuner itself, I have seen no features that are programmable, > either you get a board with a PAL tuner or an NTSC tuner (I think...) > If you look at the tuner module page you will see what I mean: > > http://208.196.158.173/fi1200.html I saw that, there are various PAL/NTSC/SECAM versions. What I was asking (and you answered) is wheter there was some kind of issue with their diffs. > there is an issue as to the station frequencies. right now I'm just plugging > in hard values (now can see all my local stations...). but they are well > documented, am thinking about whether to handle them computationally > or with a lookup table. I'm pretty sure that all countries use the same (VHF/UHF) frequencies for their transmissions. > > I am interested in getting one of these cards, and will galdly contribute > > labour if required. > > to get this right many people will have to chip in, so that we can support > all the various flavors of board/standards/etc. I'm actually more worried > about the audio than the video. Evidently there are parameters for the stere > chip stored in EPROM, with no documentation of their format :-( What is the basis of the stereo? NICAM? M -- Mark Murray PGP key fingerprint = 80 36 6E 40 83 D6 8A 36 This .sig is umop ap!sdn. BC 06 EA 0E 7A F2 CE CE From owner-freebsd-multimedia Thu Feb 27 00:15:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA12117 for multimedia-outgoing; Thu, 27 Feb 1997 00:15:08 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id AAA12102 for ; Thu, 27 Feb 1997 00:15:00 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id BAA25039; Thu, 27 Feb 1997 01:11:45 -0700 Message-Id: <199702270811.BAA25039@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: Mark Murray cc: multimedia@freebsd.org Subject: Re: STB tuner In-reply-to: Your message of "Thu, 27 Feb 1997 09:53:12 +0200." <199702270753.JAA12921@grackle.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Feb 1997 01:11:45 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > I'm pretty sure that all countries use the same (VHF/UHF) frequencies for > their transmissions. no, there are 3 different sets used in north america alone: broadcast, CATV (cable) and one called (I forget, another cable set). In the kit I got from Philips (tv400.exe) they have: E-EUROPA.CHN JAPAN.CHN USA-CATV.CHN FRANCE.CHN USA-BCST.CHN W-EUROPA.CHN --- > > about the audio than the video. Evidently there are parameters for the stere > > chip stored in EPROM, with no documentation of their format > > :-( What is the basis of the stereo? NICAM? I believe it deals with dbx. the chip is the TDA9850. The alignment procedure talks of reading in values via the I2C bus and storing them in non-volatile ram. then I guess you load them each time you powerup. -- Steve Passe | powered by smp@csn.net | FreeBSD -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzHe7tEAAAEEAM274wAEEdP+grIrV6UtBt54FB5ufifFRA5ujzflrvlF8aoE 04it5BsUPFi3jJLfvOQeydbegexspPXL6kUejYt2OeptHuroIVW5+y2M2naTwqtX WVGeBP6s2q/fPPAS+g+sNZCpVBTbuinKa/C4Q6HJ++M9AyzIq5EuvO0a8Rr9AAUR tBlTdGV2ZSBQYXNzZSA8c21wQGNzbi5uZXQ+ =ds99 -----END PGP PUBLIC KEY BLOCK----- From owner-freebsd-multimedia Thu Feb 27 02:39:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA17746 for multimedia-outgoing; Thu, 27 Feb 1997 02:39:44 -0800 (PST) Received: from hda.hda.com (ip2-max1-fitch.ziplink.net [199.232.245.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id CAA17739 for ; Thu, 27 Feb 1997 02:39:39 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id DAA09209 for multimedia@freebsd.org; Thu, 27 Feb 1997 03:58:02 -0500 From: Peter Dufault Message-Id: <199702270858.DAA09209@hda.hda.com> Subject: I2C code on freefall To: multimedia@freebsd.org Date: Thu, 27 Feb 1997 03:58:02 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I fixed the copyright on two minor headers in that code. Please, if you picked it up earlier delete your copy and get the new one. Steve, please update the version you have linked on the web page. Thanks. -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 From owner-freebsd-multimedia Thu Feb 27 11:05:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA13611 for multimedia-outgoing; Thu, 27 Feb 1997 11:05:17 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id LAA13580 for ; Thu, 27 Feb 1997 11:04:43 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id MAA28139 for ; Thu, 27 Feb 1997 12:03:28 -0700 Message-Id: <199702271903.MAA28139@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org Subject: STB tuner Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Feb 1997 12:03:28 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, So I can't get any color out of the tuner... Is there something that must be programmed in the bt848 to get the color signal processed? Unfortunately I haven't received my brooktree databook yet.... --- the modified dtv worked overnite without problem, good work. the linux bttv package has several tv type programs that people might want to investigate. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Thu Feb 27 18:45:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA04832 for multimedia-outgoing; Thu, 27 Feb 1997 18:45:21 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA04804 for ; Thu, 27 Feb 1997 18:44:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id TAA00216; Thu, 27 Feb 1997 19:41:52 -0700 Message-Id: <199702280241.TAA00216@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org cc: Randall Hopper Subject: Re: STB tuner In-reply-to: Your message of "Thu, 27 Feb 1997 12:03:28 MST." <199702271903.MAA28139@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain Date: Thu, 27 Feb 1997 19:41:52 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, several people have requested my code for the tuner. its still very rough, but more or less works. note in particular I was just making changes to allow multiple opens so that I could open the device with both 'tv' and a 'remote' program to tickle the tuner while its running. this works, but doesn't shut down properly. be sure to start tv first, and close it last! (still might not close properly...) The files patched: src/sys/i386/include/ioctl_meteor.h src/sys/pci/brktree_reg.h src/sys/pci/brooktree848.c tv.c <- Note: this is the modified version that runs in a movable X window that was posted several days ago. chnl.c a very simple test program for the tuner. start it after tv, then enter channel #s. no prompt, no feedback, but hopefully the channel will change. -------------------------------------- cut ------------------------------------*** ioctl_meteor.h 1997/02/27 05:41:32 1.1 --- ioctl_meteor.h 1997/02/27 22:51:43 *************** *** 71,76 **** --- 71,91 ---- u_long ramsize; /* Size of Vram */ }; + #if defined( TUNER ) + #define TUNERTYPE_NABCST 1 + #define TUNERTYPE_CABLEIRC 2 + #define TUNERTYPE_CABLEHRC 3 + #define TUNERTYPE_WEUROPE 4 + + struct tvtuner { + int opencount; + int frequency; + u_char tunertype; + u_char channel; + u_char band; + }; + #endif /* TUNER */ + #define METEORCAPTUR _IOW('x', 1, int) /* capture a frame */ #define METEORCAPFRM _IOW('x', 2, struct meteor_capframe) /* sync capture */ #define METEORSETGEO _IOW('x', 3, struct meteor_geomet) /* set geometry */ *************** *** 106,111 **** --- 121,133 ---- #define METEORGVWS _IOR('x', 19, unsigned char) /* get vert start reg */ #define METEORSTS _IOW('x', 20, unsigned char) /* set time stamp */ #define METEORGTS _IOR('x', 20, unsigned char) /* get time stamp */ + + #if defined( TUNER ) + #define TVTUNER_SETCHNL _IOW('x', 32, unsigned int) /* set channel */ + #define TVTUNER_GETCHNL _IOR('x', 32, unsigned int) /* get channel */ + #define TVTUNER_SETTYPE _IOW('x', 33, unsigned int) /* set tuner type */ + #define TVTUNER_GETTYPE _IOR('x', 33, unsigned int) /* get tuner type */ + #endif /* TUNER */ #define METEOR_STATUS_ID_MASK 0xf000 /* ID of 7196 */ #define METEOR_STATUS_DIR 0x0800 /* Direction of Expansion port YUV */ -------------------------------------- cut ------------------------------------ -------------------------------------- cut ------------------------------------ *** brktree_reg.h 1997/02/27 03:17:24 1.1 --- brktree_reg.h 1997/02/27 19:50:14 *************** *** 169,174 **** --- 169,177 ---- void *devfs_token; #endif struct meteor_video video; + #if defined( TUNER ) + struct tvtuner tuner; + #endif /* TUNER */ } bktr_reg_t; -------------------------------------- cut ------------------------------------ -------------------------------------- cut ------------------------------------ *** brooktree848.c 1997/02/27 03:17:24 1.1 --- brooktree848.c 1997/02/27 22:58:02 *************** *** 140,150 **** #include #include #endif #include #include ! #define METPRI (PZERO+8)|PCATCH static void bktr_intr __P((void *arg)); static bt_enable_cnt; --- 140,155 ---- #include #include #endif + + #define TUNER #include #include ! #if defined( TUNER ) ! static int tv_channel __P(( bktr_reg_t* bktr, int channel )); ! #endif /* TUNER */ + #define METPRI (PZERO+8)|PCATCH static void bktr_intr __P((void *arg)); static bt_enable_cnt; *************** *** 1215,1222 **** --- 1220,1237 ---- if (!(bktr->flags & METEOR_INITALIZED)) /* device not found */ return(ENXIO); + #if defined( TUNER ) + if (bktr->flags & METEOR_OPEN) /* device already open */ + { + bktr->tuner.opencount++; + return 0; + } + else + bktr->tuner.opencount = 1; /* first open */ + #else if (bktr->flags & METEOR_OPEN) /* device is busy */ return(EBUSY); + #endif /* tuner */ bktr->flags |= METEOR_OPEN; *************** *** 1260,1265 **** --- 1275,1284 ---- bktr->video.banksize = 0; bktr->video.ramsize = 0; + #if defined( TUNER ) + bktr->tuner.frequency = 0; + bktr->tuner.tunertype = TUNERTYPE_NABCST; + #endif /* TUNER */ return(0); } *************** *** 1280,1285 **** --- 1299,1310 ---- return(ENXIO); bktr = &(brooktree[unit]); + + #if defined( TUNER ) + if ( --(bktr->tuner.opencount) ) + return 0; + #endif /* tuner */ + bktr->flags &= ~METEOR_OPEN; bktr->flags &= ~(METEOR_SINGLE | METEOR_WANT_MASK); bktr->flags &= ~(METEOR_CAP_MASK|METEOR_WANT_MASK); *************** *** 1356,1361 **** --- 1381,1387 ---- return(0); } + int bktr_ioctl(dev_t dev, int cmd, caddr_t arg, int flag, struct proc *pr) { *************** *** 1386,1391 **** --- 1412,1435 ---- bt848 = bktr->base; switch (cmd) { + + #if defined ( TUNER ) + case TVTUNER_SETCHNL: + temp = tv_channel( bktr, (int)*(unsigned long *)arg ); + if ( temp < 0 ) return EIO; + *(unsigned long *)arg = temp; + break; + case TVTUNER_GETCHNL: + *(unsigned long *)arg = bktr->tuner.channel; + break; + case TVTUNER_SETTYPE: + bktr->tuner.tunertype = *(unsigned long *)arg; + break; + case TVTUNER_GETTYPE: + *(unsigned long *)arg = bktr->tuner.tunertype; + break; + #endif /* TUNER */ + case METEORSTATUS: /* get 7196 status */ c_temp = bt848[0]; temp = 0; *************** *** 1882,1887 **** --- 1926,2238 ---- return i386_btop(vtophys(bktr->bigbuf) + offset); } + + + #if defined( TUNER ) + + /** FIXME: this should be a kernel option */ + #define IF_FREQUENCY 4575 /* M/N IF frequency */ + + /* guaranteed address for any TSA5522 */ + #define TSA5522_ADDR 0xc2 + + /* + * bit 7: CONTROL BYTE = 1 + * bit 6: CP = 0 moderate speed tuning, better FM + * bit 5: T2 = 0 normal operation + * bit 4: T1 = 0 normal operation + * bit 3: T0 = 1 normal operation + * bit 2: RSA = 1 62.5kHz + * bit 1: RSB = 1 62.5kHz + * bit 0: OS = 0 normal operation + */ + #define TSA5522_CONTROL 0x8e + + #define TSA5522_BANDA 0x02 + #define TSA5522_BANDB 0x04 + #define TSA5522_BANDC 0x01 + + /* scaling factor for frequencies expressed as ints */ + #define FREQFACTOR 100 + + /* delays for the I2C bus transactions */ + #define I2C_SDELAY 2 + #define I2C_LDELAY 20 + + /* + * start an I2C bus transaction + */ + static void + i2cStart( volatile u_long* bti2c ) + { + #if 1 + *bti2c = 1; /* raise data */ + DELAY( I2C_LDELAY ); + *bti2c = 3; /* data hi, raise clock */ + DELAY( I2C_LDELAY ); + #endif + *bti2c = 2; /* lower data */ + DELAY( I2C_LDELAY ); + *bti2c = 0; /* lower clock */ + DELAY( I2C_LDELAY ); + } + + /* + * stop an I2C bus transaction + */ + static void + i2cStop( volatile u_long* bti2c ) + { + *bti2c = 0; /* lower clock & data */ + DELAY( I2C_LDELAY ); + *bti2c = 2; /* raise clock */ + DELAY( I2C_LDELAY ); + *bti2c = 3; /* clock hi, raise data */ + DELAY( I2C_LDELAY ); + } + + /* + * place a '1' bit on the I2C bus + */ + static void + i2cHi( volatile u_long* bti2c ) + { + *bti2c = 1; /* raise data */ + DELAY( I2C_LDELAY ); + *bti2c = 3; /* data hi, raise clock */ + DELAY( I2C_LDELAY ); + *bti2c = 1; /* lower clock */ + DELAY( I2C_LDELAY ); + } + + /* + * place a '0' bit on the I2C bus + */ + static void + i2cLo( volatile u_long* bti2c ) + { + *bti2c = 0; /* lower data */ + DELAY( I2C_LDELAY ); + *bti2c = 2; /* data lo, raise clock */ + DELAY( I2C_LDELAY ); + *bti2c = 0; /* lower clock */ + DELAY( I2C_LDELAY ); + } + + /* + * do the 'ACK' thing with the slave + */ + static int + i2cAck( volatile u_long* bti2c ) + { + int acknowledge; + + *bti2c = 1; /* release data */ + DELAY( I2C_LDELAY ); + *bti2c = 3; /* release clock */ + DELAY( I2C_LDELAY ); + + acknowledge = *bti2c & 1; /* read ACK bit */ + + *bti2c = 1; /* lower clock */ + DELAY( I2C_LDELAY ); + + return acknowledge; + } + + /* + * read a byte from the I2C bus + */ + static int + i2cRead( volatile u_long* bti2c ) + { + int x; + int byte; + + *bti2c = 1; /* raise data */ + DELAY( I2C_SDELAY ); + + for ( byte = 0, x = 7; x >= 0; --x ) + { + *bti2c = 3; /* data hi, raise clock */ + DELAY( I2C_SDELAY ); + + if ( *bti2c & 1 ) /* read data */ + byte |= (1<= 0; --x ) + (byte & (1<base[ BKTR_I2C_CONTROL ]; + + disable_intr(); + i2cStart( bti2c ); + + i2cWrite( bti2c, TSA5522_ADDR ); /* the I2C address */ + + /* the data sheet wants the order set according to direction */ + if ( frequency > bktr->tuner.frequency ) + { + i2cWrite( bti2c, (N >> 8) & 0x7f ); + i2cWrite( bti2c, N & 0xff ); + i2cWrite( bti2c, TSA5522_CONTROL ); /* control bits */ + i2cWrite( bti2c, band ); /* band select */ + } + else + { + i2cWrite( bti2c, TSA5522_CONTROL ); /* control bits */ + i2cWrite( bti2c, band ); /* band select */ + i2cWrite( bti2c, (N >> 8) & 0x7f ); + i2cWrite( bti2c, N & 0xff ); + } + + i2cStop( bti2c ); + enable_intr(); + + return 0; + } + + + /* + * North American Broadcast Channels: + * + * Chnl Freq + * 2 5525 + * 3 6125 + * 4 6725 + * + * 5 7725 + * 6 8325 + * + * 7 17525 + * 13 21125 + * + * 14 47125 + * 83 88525 + */ + static int + frequency_nabcst( int channel ) + { + if ( channel > 83 ) + return -1; + + if ( channel >= 14 ) + return 47125 + ((channel-14) * 600 ); + + else if ( channel >= 7 ) + return 17525 + ((channel-7) * 600 ); + + else + switch( channel ) + { + case 2: + return 5525; + case 3: + return 6125; + case 4: + return 6725; + case 5: + return 7725; + case 6: + return 8325; + } + + return -1; + } + + + /* + * set the channel of the tuner + */ + static int + tv_channel( bktr_reg_t* bktr, int channel ) + { + int frequency, status; + + /* calculate the frequency according to tuner type */ + switch ( bktr->tuner.tunertype ) + { + case TUNERTYPE_NABCST: + frequency = frequency_nabcst( channel ); + break; + + /* FIXME: */ + case TUNERTYPE_CABLEIRC: + case TUNERTYPE_CABLEHRC: + case TUNERTYPE_WEUROPE: + default: + return -1; + } + + /* check the result of channel to frequency conversion */ + if ( frequency < 0 ) + return -1; + + /* set the new frequency */ + if ( tv_freq( bktr, frequency ) < 0 ) + return -1; + + /* OK to update records */ + bktr->tuner.frequency = frequency; + bktr->tuner.channel = channel; + + return channel; + } + + #endif /* TUNER */ #if !defined(METEOR_FreeBSD_210) /* XXX */ -------------------------------------- cut ------------------------------------ -------------------------------------- cut ------------------------------------ *** tv.c 1997/02/28 02:23:51 1.1 --- tv.c 1997/02/27 07:10:28 *************** *** 312,322 **** paused = True, ch; mode = NTSC_MODE; /* default */ geo.columns = NTSC_COLS; geo.rows = NTSC_ROWS; ! while ((ch = getopt(ac, av, "ePpNnw:h:b:")) != EOF) switch( tolower(ch) ) { default: /* usage */ fprintf(stderr,"Usage: tv [opts]\n" --- 312,324 ---- paused = True, ch; + int channel = 2; + mode = NTSC_MODE; /* default */ geo.columns = NTSC_COLS; geo.rows = NTSC_ROWS; ! while ((ch = getopt(ac, av, "ePpNnw:h:b:c:")) != EOF) switch( tolower(ch) ) { default: /* usage */ fprintf(stderr,"Usage: tv [opts]\n" *************** *** 327,332 **** --- 329,337 ---- " -b %% : brightness enhance (0.0 = no change)\n" ); exit(0); + case 'c': + channel = atoi( optarg ); + break; case 'p': /* pal */ mode = PAL_MODE; geo.columns = PAL_COLS; *************** *** 433,443 **** } ! i = METEOR_INPUT_DEV0; if (ioctl(video, METEORSINPUT, &i) < 0) { fprintf(stderr, "ioctl failed: %s\n", strerror(errno)); goto bybye; } XSync(display, False); --- 438,454 ---- } ! i = METEOR_INPUT_DEV1; if (ioctl(video, METEORSINPUT, &i) < 0) { fprintf(stderr, "ioctl failed: %s\n", strerror(errno)); goto bybye; + } + + i = channel; + if (ioctl(video, TVTUNER_SETCHNL, &i) < 0) { + fprintf(stderr, "ioctl failed: %s\n", strerror(errno)); + goto bybye; } XSync(display, False); -------------------------------------- cut ------------------------------------ -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Thu Feb 27 19:16:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA06698 for multimedia-outgoing; Thu, 27 Feb 1997 19:16:55 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA06673 for ; Thu, 27 Feb 1997 19:16:19 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id UAA00380; Thu, 27 Feb 1997 20:13:57 -0700 Message-Id: <199702280313.UAA00380@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org cc: Randall Hopper Subject: Re: STB tuner In-reply-to: Your message of "Thu, 27 Feb 1997 19:41:52 MST." <199702280241.TAA00216@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Feb 1997 20:13:57 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, opps, forgot to include chnl.c: ------------------------------------ cut ------------------------------------- #include #include #include #include #include #define TUNER #include main(int ac, char **av) { int x, ch; char s[ 128 ]; int video; if ((video = open("/dev/bktr0", O_RDONLY)) < 0) { fprintf(stderr, "open failed: %s\n", strerror(errno)); goto bybye; } #if 0 x = METEOR_INPUT_DEV1; if (ioctl(video, METEORSINPUT, &x) < 0) { fprintf(stderr, "ioctl failed: %s\n", strerror(errno)); goto bybye; } #endif while ( fgets( s, 100, stdin ) ) { x = atoi( s ); if (ioctl(video, TVTUNER_SETCHNL, &x) < 0) { fprintf(stderr, "ioctl failed: %s\n", strerror(errno)); } } bybye: close(video); exit(0); } ------------------------------------ cut ------------------------------------- -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Fri Feb 28 10:48:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA10767 for multimedia-outgoing; Fri, 28 Feb 1997 10:48:08 -0800 (PST) Received: from tera.com ([206.215.142.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA10743 for ; Fri, 28 Feb 1997 10:47:56 -0800 (PST) Received: (from uucp@localhost) by tera.com (8.7.5/8.7.3) with UUCP id KAA06498 for multimedia@freebsd.org; Fri, 28 Feb 1997 10:47:09 -0800 (PST) Received: (from kline@localhost) by tao.thought.org (8.7.5/8.7.3) id KAA29979 for multimedia@freebsd.org; Fri, 28 Feb 1997 10:44:00 -0800 (PST) From: Gary Kline Message-Id: <199702281844.KAA29979@tao.thought.org> Subject: Multimedia 3D glasses In-Reply-To: <199702280313.UAA00380@clem.systemsix.com> from Steve Passe at "Feb 27, 97 08:13:57 pm" To: multimedia@freebsd.org Date: Fri, 28 Feb 1997 10:43:59 -0800 (PST) Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Does FreeBSD support the 3D glasses made by NuVision? or the headset by Virtual I/O? The multi-media brainwave synchronization program that I'm working on would benefit from this kind of personal display. Does anybody know about these products? gary kline From owner-freebsd-multimedia Fri Feb 28 16:28:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA28888 for multimedia-outgoing; Fri, 28 Feb 1997 16:28:44 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA28883 for ; Fri, 28 Feb 1997 16:28:42 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id QAA11572; Fri, 28 Feb 1997 16:29:02 -0800 (PST) Message-Id: <199703010029.QAA11572@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Bill Fenner cc: multimedia@freebsd.org Subject: Re: mrouted problem? In-reply-to: Your message of "Tue, 25 Feb 1997 08:40:50 PST." <97Feb25.084055pst.177476@crevenia.parc.xerox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Feb 1997 16:29:02 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Bill, I was out of town all week . I ended up patching the kernel to make it work;however, I will have to dig up what I did . I have not try to update the kernel lately . Regards, Amancio >From The Desk Of Bill Fenner : > Amancio Hasty wrote: > >As of yesterday's freebsd-3.0-current, I can't get to establish a tunnel. > > Amancio, > > Are you still having problems with mrouted? Have you tried rebuilding > it? > > Bill From owner-freebsd-multimedia Fri Feb 28 16:49:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA00764 for multimedia-outgoing; Fri, 28 Feb 1997 16:49:37 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA00757 for ; Fri, 28 Feb 1997 16:49:34 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id QAA11724 for ; Fri, 28 Feb 1997 16:49:56 -0800 (PST) Message-Id: <199703010049.QAA11724@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: I am back from the land of work. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Feb 1997 16:49:56 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Will look into the reported problems for the Bt848 driver. One thing to bare in mind about clipping is that the driver will require some sort of compiler or generate the program in user land and pass it up to the driver . With respect to DTV, Again, the Bt848 executes a program in the host memory so to do arbitrary clipping a program will have to be generated to do so. By itself this is not to much of a problem;however, when moving windows around it can be a problem because for any geometry change, the bt848 must be stopped, the program generated, the registers reset, and last but not least kick off the overall capture process. So if anyone cares to implement clipping please post your algorithm to the list for review. Last but not least have fun guys ! Amancio From owner-freebsd-multimedia Fri Feb 28 17:49:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA03474 for multimedia-outgoing; Fri, 28 Feb 1997 17:49:38 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA03469 for ; Fri, 28 Feb 1997 17:49:35 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id RAA12261; Fri, 28 Feb 1997 17:49:53 -0800 (PST) Message-Id: <199703010149.RAA12261@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: "Louis A. Mamakos" cc: multimedia@freebsd.org Subject: Re: Bt848 driver release 0.3 In-reply-to: Your message of "Tue, 25 Feb 1997 18:14:42 EST." <199702252314.SAA05959@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Feb 1997 17:49:52 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, If you want to try out "dtv" the "old way" please download : ftp://rah.star-gate.com/pub/tv-0.2.tar.gz Have fun, Amancio >From The Desk Of "Louis A. Mamakos" : > > > A couple of hackers have reported success with Hauppages's > > WinCast/TV which is a Bt848 based video card. WinCast/TV is cheaper > > than the Intel card plus it has much better driver support in Win95. > > I just wanted to echo that I just tried this new release of the driver > on a brand new WinCast/TVdbx (version with stereo audio), and it seems > to be working great with dtv. I got the "deluxe" version at CompUSA > for $159.00; the non-stereo audio version was $129, I think. > > I'm curious to try dtv the "old" way, with the video in a window done > the hard way. I'd like to be able to watch the video, and hack away > on some code at the same time in another window. The current version > using the DGA XFree86 extension sort of grabs the display away from > the X server for the duration. I'm trying to figure out if it's > "safe" to create a window that's "always on top" and "sticky" (that > is, it moves with the view as you pan around on a desktop) and have > the video blasted into it, within the window frame. I fear that I'm > gonna have to learn much more about how X works than I ever wanted > to.. > > I contacted the Brooktree people today, and I'm hoping that I'll get > some docs on the Bt848, as well as their hardware eval board which > looks to have the same sort of tuner assembly on it. They have some > sample software for their hardware eval kit, and I'm hoping source > code which might include how to talk to the tuner over the I^2C bus. > > louie From owner-freebsd-multimedia Fri Feb 28 19:08:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA05798 for multimedia-outgoing; Fri, 28 Feb 1997 19:08:02 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA05777 for ; Fri, 28 Feb 1997 19:07:59 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id TAA13079 for ; Fri, 28 Feb 1997 19:08:21 -0800 (PST) Message-Id: <199703010308.TAA13079@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: MMX extensions for FreeBSD MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" Content-ID: <13074.857185701.0@rah.star-gate.com> Date: Fri, 28 Feb 1997 19:08:21 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ------- =_aaaaaaaaaa0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13074.857185701.1@rah.star-gate.com> In case that anyone missed the announcement on the -hackers list, here it is . This sort of technology is useful for multimedia applications like jpeg , mpeg, codecs. Have fun, Amancio ------- =_aaaaaaaaaa0 Content-Type: message/rfc822 Return-Path: Received: from ns2.harborcom.net (root@ns2.harborcom.net [206.158.4.4]) by netcom22.netcom.com (8.6.13/Netcom) id PAA02219; Wed, 26 Feb 1997 15:09:11 -0800 Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.18]) by ns2.harborcom.net (8.8.5/8.8.4) with ESMTP id SAA10629; Wed, 26 Feb 1997 18:05:25 -0500 (EST) Received: from localhost (daemon@localhost) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id OAA07283; Wed, 26 Feb 1997 14:26:36 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA07252 for hackers-outgoing; Wed, 26 Feb 1997 14:26:18 -0800 (PST) Received: from atlantis.ping.at (a013.static.Vienna.AT.EU.net [193.154.186.13]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA07247 for ; Wed, 26 Feb 1997 14:26:13 -0800 (PST) Received: from atlantis (localhost.ping.at [127.0.0.1]) by atlantis.ping.at (8.7.6/8.6.12) with SMTP id XAA00387; Wed, 26 Feb 1997 23:25:34 +0100 (MET) Message-ID: <3314B85D.167EB0E7@ping.at> Date: Wed, 26 Feb 1997 23:25:33 +0100 From: "Helmut F. Wirth" X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.7-RELEASE i386) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Pentium MMX Extensions, Changes to (g)as and gdb Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, I made some changes to gas and gdb to support the new MMX extensions for the Pentium P55C. The changes are only in some files. I am currently in the process of testing them. I have added support for all new opcodes in the assembler and in the disassembler part of the debugger. With the assembler one is able to use gcc _asm statements to utilize the new opcodes. Question: Are you interested in these changes ? If yes, please drop me a line. The changes, a short description and a description of the tests they passed will probably be ready at the end of this week. As I have 2.1.7-stable yet, the changes are against this sources. But all changes are in files wich themselves have not changed for quite a time (I think). So if you need changes against 3.0-current, please say so. I will obtain the sources and work with them. Regards Helmut -- Helmut F. Wirth Email: hfwirth@ping.at ------- =_aaaaaaaaaa0-- From owner-freebsd-multimedia Fri Feb 28 22:40:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA14110 for multimedia-outgoing; Fri, 28 Feb 1997 22:40:48 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id WAA14043 for ; Fri, 28 Feb 1997 22:39:41 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id XAA08677 for ; Fri, 28 Feb 1997 23:38:20 -0700 Message-Id: <199703010638.XAA08677@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: multimedia@freebsd.org Subject: Bt848 driver patches Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Feb 1997 23:38:19 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I have added my latest patches for the tuner mods to the web page. I also have the first cut of an X11 "remote control" app available there. You'll find both about mid-page here: http://freebsd.org/~fsmp/HomeAuto/Bt848.html -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Fri Feb 28 23:31:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA15354 for multimedia-outgoing; Fri, 28 Feb 1997 23:31:13 -0800 (PST) Received: from grackle.grondar.za (ST3AdmSzVe/+gT0Rt7G73YcEDMoF1Hiy@grackle.grondar.za [196.7.18.131]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA15349 for ; Fri, 28 Feb 1997 23:31:09 -0800 (PST) Received: from grackle.grondar.za (0+EzBipIEHAr+/mpiX3+DOGivPGk31o5@localhost [127.0.0.1]) by grackle.grondar.za (8.8.5/8.8.4) with ESMTP id JAA22371; Sat, 1 Mar 1997 09:29:59 +0200 (SAT) Message-Id: <199703010729.JAA22371@grackle.grondar.za> X-Mailer: exmh version 2.0gamma 1/27/96 To: Steve Passe cc: multimedia@FreeBSD.org Subject: Re: Bt848 driver patches Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Mar 1997 09:29:52 +0200 From: Mark Murray Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Steve Passe wrote: > Hi, > > I have added my latest patches for the tuner mods to the web page. > I also have the first cut of an X11 "remote control" app available > there. > > You'll find both about mid-page here: > > http://freebsd.org/~fsmp/HomeAuto/Bt848.html Hello Steve Please could you put some pointers to the Suppliers' pages on your pages above? I'm trying to find suppliers who can get be a PAL-I version of one of these cards, and I have only found the STB card so far. M -- Mark Murray PGP key fingerprint = 80 36 6E 40 83 D6 8A 36 This .sig is umop ap!sdn. BC 06 EA 0E 7A F2 CE CE From owner-freebsd-multimedia Fri Feb 28 23:57:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA15837 for multimedia-outgoing; Fri, 28 Feb 1997 23:57:08 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id XAA15832 for ; Fri, 28 Feb 1997 23:57:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id AAA09044; Sat, 1 Mar 1997 00:51:29 -0700 Message-Id: <199703010751.AAA09044@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: Mark Murray cc: multimedia@FreeBSD.org Subject: Re: Bt848 driver patches In-reply-to: Your message of "Sat, 01 Mar 1997 09:29:52 +0200." <199703010729.JAA22371@grackle.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Mar 1997 00:51:28 -0700 Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi, > > Hello Steve > > Please could you put some pointers to the Suppliers' pages on your > pages above? I'm trying to find suppliers who can get be a PAL-I version > of one of these cards, and I have only found the STB card so far. is someone forwads such info to me I will, but I have no more knowledge of this than you... -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-multimedia Sat Mar 1 00:08:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA16039 for multimedia-outgoing; Sat, 1 Mar 1997 00:08:30 -0800 (PST) Received: from grackle.grondar.za (FNzHMY7Iv0Wcc9a+XAc9KgXOebKRVDVl@grackle.grondar.za [196.7.18.131]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA16034 for ; Sat, 1 Mar 1997 00:08:13 -0800 (PST) Received: from grackle.grondar.za (S62xbY6FrTcSl3zBIPo2V5VO/ITmilgB@localhost [127.0.0.1]) by grackle.grondar.za (8.8.5/8.8.4) with ESMTP id KAA22561; Sat, 1 Mar 1997 10:07:49 +0200 (SAT) Message-Id: <199703010807.KAA22561@grackle.grondar.za> X-Mailer: exmh version 2.0gamma 1/27/96 To: Steve Passe cc: Mark Murray , multimedia@FreeBSD.org Subject: Re: Bt848 driver patches Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Mar 1997 10:07:41 +0200 From: Mark Murray Sender: owner-multimedia@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Steve Passe wrote: > > Please could you put some pointers to the Suppliers' pages on your > > pages above? I'm trying to find suppliers who can get be a PAL-I version > > of one of these cards, and I have only found the STB card so far. > > is someone forwads such info to me I will, but I have no more knowledge of > this than you... OK - here's one for the STB thing: http://www.stb.com/hot/ M -- Mark Murray PGP key fingerprint = 80 36 6E 40 83 D6 8A 36 This .sig is umop ap!sdn. BC 06 EA 0E 7A F2 CE CE From owner-freebsd-multimedia Sat Mar 1 09:46:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA21805 for multimedia-outgoing; Sat, 1 Mar 1997 09:46:22 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA21785 for ; Sat, 1 Mar 1997 09:46:13 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 1 Mar 1997 12:44:59 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA26623; Sat, 1 Mar 97 12:44:57 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id MAA18033; Sat, 1 Mar 1997 12:42:34 -0500 Message-Id: <19970301124234.16872@ct.picker.com> Date: Sat, 1 Mar 1997 12:42:34 -0500 From: Randall Hopper To: Mark Murray Cc: Steve Passe , multimedia@freebsd.org Subject: Re: Bt848 driver patches References: <199703010729.JAA22371@grackle.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: <199703010729.JAA22371@grackle.grondar.za>; from Mark Murray on Mar 03, 1997 at 09:29:52AM Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mark Murray: |Hello Steve | |Please could you put some pointers to the Suppliers' pages on your |pages above? I'm trying to find suppliers who can get be a PAL-I version |of one of these cards, and I have only found the STB card so far. Here's a link for the Hauppauge cards: http://206.149.250.27/html/buy.htm with the top-level links http://206.149.250.27/index.htm http://www.hauppauge.com/hcw/index.htm (These web trees are roughly duplicates of each other, but the first link is typically up more often.) The WinCasts are Bt848. The Win/TVpci cards are described on the same page, so I'd guess they were as well, but I don't know for sure. Product code Description Model 400 WinCast/TV Model 401 WinCast/TVdbx with dbx-TV stereo Model 405 Win/TVpci with PAL B/G tuner Model 406 Win/TVpci with PAL I tuner Randall From owner-freebsd-multimedia Sat Mar 1 16:34:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA08075 for multimedia-outgoing; Sat, 1 Mar 1997 16:34:14 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA08070 for ; Sat, 1 Mar 1997 16:34:12 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id QAA00389 for ; Sat, 1 Mar 1997 16:34:11 -0800 (PST) Message-Id: <199703020034.QAA00389@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: to anyone with the bt848 databook... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Mar 1997 16:34:11 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Can someone please email me or fax me the pages that deal with INT_STAT or register 0x100? Left my databook at work which is over 600 miles away :( Tnks, Amancio From owner-freebsd-multimedia Sat Mar 1 17:53:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA12817 for multimedia-outgoing; Sat, 1 Mar 1997 17:53:09 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA12810 for ; Sat, 1 Mar 1997 17:53:06 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id RAA00410 for ; Sat, 1 Mar 1997 17:53:04 -0800 (PST) Message-Id: <199703020153.RAA00410@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 cc: multimedia@freebsd.org Subject: Re: to anyone with the bt848 databook... In-reply-to: Your message of "Sat, 01 Mar 1997 16:34:11 PST." <199703020034.QAA00389@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Mar 1997 17:53:04 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thomas Arnold fax the needed pages and I think that I managed to fix the bug which Randall Hopper I thank both Thomas and Randall!! This is part of Randall's bug report: ---- A few small problems to report with the driver to report (nothing hangs the system -- just some strange behavior). BTW this is with the 0.3 driver. Here are some canned samples to demonstrate what I'm seeing. 1. To reproduce the first one, in the dtv event loop, add: sleep(1); i = METEOR_CAP_STOP_CONT; ioctl(video, METEORCAPTUR, &i); i = METEOR_CAP_CONTINOUS; /* now cruise */ ioctl(video, METEORCAPTUR, &i); --- What this bug report actually translates to is the lack of a proper error recovery condition on the driver. If upon interrupt , the status register (0x100) has bit 12 set , then restart the capture process. bit12 is set when a pixel data FIFO overrun condition is being handled by dropping as many DWORDs as needed, indicating bus access latencies are long. The bug resolution was simply arrived by printing the status register at the start of the interrupt routing and comparing a known good run of "dtv" against a run which "dtv" was having problems with the capture process. In this case "dtv" was just simply stopping or pausing for a few seconds. More aggressive testing so I may release another version of the driver tonite. Enjoy, Amancio >From The Desk Of Amancio Hasty : > > Can someone please email me or fax me the pages that deal with INT_STAT > or register 0x100? > > Left my databook at work which is over 600 miles away :( > > Tnks, > Amancio > > > From owner-freebsd-multimedia Sat Mar 1 20:05:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA19400 for multimedia-outgoing; Sat, 1 Mar 1997 20:05:06 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA19392 for ; Sat, 1 Mar 1997 20:05:00 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id UAA00713; Sat, 1 Mar 1997 20:04:53 -0800 (PST) Message-Id: <199703020404.UAA00713@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: multimedia@freebsd.org Subject: Re: Restarting CONTINUOUS/updating during CONTINUOUS In-reply-to: Your message of "Mon, 24 Feb 1997 21:01:38 EST." <19970224210138.28839@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Mar 1997 20:04:52 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In order to change the geometry , you must first stop the capture process. In the case of the SVIDEO extensions , you must: 1. first stop the capture process, 2. issue the new SVIDEO parameters 3. reissue a geometry call The SVIDEO parameters are used when building the "Risc program" which is trigger by the geometry call. I will document the above procedures on my next release of the driver. >From The Desk Of Randall Hopper : > I'm sitting here enjoying working with the 848 driver, adding bells and > whistles to dtv. > > A few small problems to report with the driver to report (nothing hangs the > system -- just some strange behavior). BTW this is with the 0.3 driver. > Here are some canned samples to demonstrate what I'm seeing. > > 1. To reproduce the first one, in the dtv event loop, add: > > sleep(1); > i = METEOR_CAP_STOP_CONT; > ioctl(video, METEORCAPTUR, &i); > i = METEOR_CAP_CONTINOUS; /* now cruise */ > ioctl(video, METEORCAPTUR, &i); > > Once every two or three iterations, you'll see the display stop updating > for a second or two because the CAP_CONTINUOUS restart didn't quite take. This problem is related to error recovery during the initial phase of video capture . I am currently working to cure this problem . > 2. To reproduce the second one, in the event loop add: > > sleep(1); > meteor_video.addr += 4096; > ioctl( video, METEORSVIDEO, &meteor_video ); *THIS WILL NOT WORK* > Now in 16bpp with a 1024 pixel pitch (2048 bytes), this should cause the TV > window to walk down the screen 2 lines at a time every second. However, it > doesn't move the window at all. I still see the display stop updating for > a second or two, even without nesting this in ioctls to > STOP_CONT/CONTINUOUS (I imagine that's the same problem as in 1.). > > 3. In the event loop add: > > sleep(1); > meteor_video.addr += 4096; > ioctl( video, METEORSVIDEO, &meteor_video ); > ioctl( video, METEORSETGEO, &geo ); Now this is more like it 8) > NOW the video will walk down the screen (albeit with the update freezing > for a sec now and then -- again, problem 1.). Nothing changed in geo since > its original setting -- still the same values (640x480, etc.). > > > Thanks, > > Randall > Enjoy, Amancio