From owner-freebsd-multimedia@FreeBSD.ORG Thu Aug 14 05:14:51 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5D5937B401 for ; Thu, 14 Aug 2003 05:14:51 -0700 (PDT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29D2043F75 for ; Thu, 14 Aug 2003 05:14:51 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.celabo.org (Postfix) with ESMTP id C003854846; Thu, 14 Aug 2003 07:14:50 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id 5BBB96D461; Thu, 14 Aug 2003 07:14:50 -0500 (CDT) Date: Thu, 14 Aug 2003 07:14:50 -0500 From: "Jacques A. Vidrine" To: Lars Eggert Message-ID: <20030814121450.GC78388@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Lars Eggert , Guido Berhoerster , freebsd-multimedia@freebsd.org References: <20030811175817.GA9784@hal.privat.lan> <3F3AD707.9030407@isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F3AD707.9030407@isi.edu> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.4i-ja.1 cc: freebsd-multimedia@freebsd.org cc: Guido Berhoerster Subject: Re: Problems with bktr on 5.x X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 12:14:52 -0000 On Wed, Aug 13, 2003 at 05:25:43PM -0700, Lars Eggert wrote: > I'm not sure if we have the same problem, but here's mine: Whenever I > start fxtv now, the window is black and I get: > > ioctl(METEORSSIGNAL, -65535) failed: Invalid argument [...] > I've rolled back the driver, and a version before 8/10 works, while one > after 8/11 doesn't. I'm thus pretty sure that the following commit broke > things: [...] > > 1.126 +1 -1 src/sys/dev/bktr/bktr_core.c Yes, the ioctl failure is certainly because of revision 1.126 of bktr_core.c. You can safely back that revision out locally, as it was (supposed to be) cosmetic. However, I'm not ready yet to back it out in CVS. I can't find any documentation for METEORSSIGNAL, but from the (driver) code, it appears that it should be a signal number. The attempt to set the signal to -65535 in fxtv (and one part of mplayer... probably copied from fxtv?) looks like a bug to me, but I'd like to hear from the driver author and from the fxtv author. I hope they are on this list. It would be informative if one could make a one-line change to fxtv to see if it still works correctly. Change tvcapture.c 1968 larg = METEOR_SIG_MODE_MASK; to 1968 larg = 0; and likewise on line 2064. Hrm, I'll have to look into this futher tonight. Cheers, -- Jacques Vidrine . NTT/Verio SME . FreeBSD UNIX . Heimdal nectar@celabo.org . jvidrine@verio.net . nectar@freebsd.org . nectar@kth.se