From owner-acpi-jp@jp.FreeBSD.org Sat Jan  3 09:25:51 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i030PpL64133;
	Sat, 3 Jan 2004 09:25:51 +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 i030PoC64116
	for <acpi-jp@jp.FreeBSD.org>; Sat, 3 Jan 2004 09:25:50 +0900 (JST)
	(envelope-from nate@root.org)
Received: (qmail 10495 invoked by uid 1000); 3 Jan 2004 00:25:46 -0000
From: Nate Lawson <nate@root.org>
To: acpi-jp@jp.FreeBSD.org
In-Reply-To: <4669686A-3C52-11D8-AE15-000393C72BD6@freebsd.org>
Message-ID: <20040102162348.A10492@root.org>
References: <20031212114100.GC659@hermes.nixsys.be> <20031212171121.M54374@root.org>
 <20031215073539.GB685@hermes.nixsys.be> <20031231113238.A2478@root.org>
 <20031231195702.GF751@hermes.home.paeps.cx> <9FDA83CC-3BDF-11D8-AE15-000393C72BD6@mac.com>
 <20031231145342.P2857@root.org> <4B0D15D1-3BEB-11D8-AE15-000393C72BD6@mac.com>
 <20040101001641.GG784@hermes.home.paeps.cx> <4669686A-3C52-11D8-AE15-000393C72BD6@freebsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 2 Jan 2004 16:25:46 -0800
X-Sequence: acpi-jp 2970
Subject: [acpi-jp 2970] Re: [patch] Thermal ioctls?
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: nate@root.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+031216

On Thu, 1 Jan 2004, Mike Smith wrote:
> On Dec 31, 2003, at 4:16 PM, Philip Paeps wrote:
> >> ... I won't bother to detail the kernel-side differences, but suffice
> >> it to
> >> say that adding a sysctl node is a lot easier than adding an entire
> >> new
> >> device to back the ioctls.
> >
> > Yes, but there's already a device, we're merely adding ioctls to it in
> > addition to the ones that are already there...
>
> My point stands; there shouldn't be a device in the first place.

Ok, I think I have a solution.  Perhaps Philip could write some sample
userland code that reads the temperature via sysctl(3) and submit it to
the application authors to add FreeBSD support?  I just wanted to make
sure if there was an opportunity that we add a hw-independent (ACPI, APM,
SMbus) thermal interface that we do it right.

-Nate
