DragonFly BSD
DragonFly kernel List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Dragonfly & acpi

To: YONETANI Tomokazu <qhwt+dragonfly-kernel@xxxxxxxxxx>
From: Hiten Pandya <hmp@xxxxxxxxxxxxx>
Date: Wed, 30 Jun 2004 14:00:24 +0100

YONETANI Tomokazu wrote:
On Tue, Jun 29, 2004 at 10:39:14AM +0100, Hiten Pandya wrote:

Matthew Dillon wrote:

  Hiten, what's the copyright on that tool set?  Is it something we can
  (or should) put in base?

We can make it a port override, shouldn't be a problem. I can coordinate with Yonetani Tomokazu to commit the acpiconf(8) utility from FreeBSD-5, which should handle the suspend and resuming, and other ACPI related utilities.

	Most (if not all) are BSD licensed and were developed by the
	Japanese ACPI project and improved upon by Nate Lawson of the
	FreeBSD project; so in summary, it shouldn't be a problem.

Here's "just compiles and works for me" patch, in case someone need them,
to bring the tools from recent FreeBSD-CURRENT, add /dev/acpi to /dev/MAKEDEV
for acpiconf, and update /etc/rc.suspend and /etc/rc.resume .

$ fetch http://les.ath.cx/DragonFly/in-tree-acpicatools.patch.gz
$ zcat in-tree-acpicatools.patch.gz | patch -d /usr/src -p0

- bring in other endian-related functions from FreeBSD-CURRENT
  and clean up the borrowed functions in acpiconf/acpi.c .

Just as a note, I have got the endian functions and UUID stuff ported already, once I power-up my test box I can hand them over to you. I needed them for an application I was writing, about two weeks ago.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]