Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 07:14:50 -0500
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        Guido Berhoerster <ich@guido-berhoerster.org>
Subject:   Re: Problems with bktr on 5.x
Message-ID:  <20030814121450.GC78388@madman.celabo.org>
In-Reply-To: <3F3AD707.9030407@isi.edu>
References:  <20030811175817.GA9784@hal.privat.lan> <3F3AD707.9030407@isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030814121450.GC78388>