From owner-acpi-jp@jp.FreeBSD.org Sat Jan 10 07:04:10 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i09M4Ab57816;
	Sat, 10 Jan 2004 07:04:10 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from root.org (root.org [67.118.192.226])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with SMTP/inet id i09M49C57809
	for <acpi-jp@jp.FreeBSD.org>; Sat, 10 Jan 2004 07:04:09 +0900 (JST)
	(envelope-from nate@root.org)
Received: (qmail 41868 invoked by uid 1000); 9 Jan 2004 22:04:05 -0000
From: Nate Lawson <nate@root.org>
To: acpi-jp@jp.FreeBSD.org
In-Reply-To: <20040109205703.GB2084@loge.home.paeps.cx>
Message-ID: <20040109140247.T41863@root.org>
References: <20040109105850.K40983@root.org> <20040109205703.GB2084@loge.home.paeps.cx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 9 Jan 2004 14:04:05 -0800
X-Sequence: acpi-jp 2986
Subject: [acpi-jp 2986] Re: Revised Toshiba driver
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: nate@root.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+031216

On Fri, 9 Jan 2004, Philip Paeps wrote:
> On 2004-01-09 11:00:05 (-0800), Nate Lawson <nate@root.org> wrote:
> > Please test this and let me know if you find any bugs.  Especially test
> > things like the video output (TV/external monitory) since I'm not sure it's
> > legal to have all 3 outputs active at once.
>
> I suppose that would depend on the chipset?  My Asus laptop[1] has a SiS
> chipset with two output channels, one of which is wired to a video bridge for
> DVI-A/DVI-D/TV and the other is for an analog CRT.  Most video bridges can't
> control two devices simultaneously (due to timing), but some can.  And then
> there's machines which come with a separate controler for tvout or for lvds.
>
> Whether it's legal or not: I doubt the machines will explode.  In the bridge
> case, probably one of the devices will simply go out if you direct output to
> another one (that's the case on my laptop, I select tvout, and the lcd goes
> off).

Sure, that's why I left all values enabled.  We can later remove specific
values that do nothing or are redundant.

> [1] I've just about completely rewritten my original acpi_asus to be neater
> overall and more like the toshiba driver in functionality.  I hope to be able
> to produce a working and elegant patch Real Soon Now[tm].

Excellent!  I think the latest diff I posted is a good compromise between
millions of functions and a big switch table.  Neither extreme is neat.

-Nate
