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