Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 1998 07:53:30 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        hasty@rah.star-gate.com, ahasty@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, roger@cs.strath.ac.uk
Subject:   Re: cvs commit: src/sys/pci brooktree848.c
Message-ID:  <199805190553.HAA08553@labinfo.iet.unipi.it>
In-Reply-To: <199805190723.RAA03775@godzilla.zeta.org.au> from "Bruce Evans" at May 19, 98 05:23:24 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >When either you or Roger can verify the new sysctl hw.bt848.format,
> >I will commit the fix.
> 
> Please don't.
...
> 
> A sysctl is even worse than a config option for device control.  ioctl(2)
> should be used for device control.

You are right. But some programs just work because they rely on
the defaults used by the kernel, and fail to set up things properly
(or -- it is the same -- they assume a default behaviour that suit
their needs).

The PAL<->NTSC has been historically (at least in my experience)
a big sort of confusion and incompatibilities, and people on either
side of the Atlantic (including me) tend to forget this. I found myself
many times to have to patch video grabbing programs to do this (e.g.
see vic). And many times i hardwired a PAL mode in my code causing
troubles to people in the US.  At least this sysctl helps fixing
things without having to change sources or recompile.

	cheers
	luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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