From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 19:14:57 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F22B16A419 for ; Tue, 29 Jan 2008 19:14:57 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id CF3C313C468 for ; Tue, 29 Jan 2008 19:14:56 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 39610 invoked from network); 29 Jan 2008 19:14:57 -0000 Received: from adsl-71-141-123-117.dsl.snfc21.pacbell.net (HELO ?192.168.1.77?) (nate-mail@71.141.123.117) by root.org with ESMTPA; 29 Jan 2008 19:14:57 -0000 Message-ID: <479F7B2A.2070900@root.org> Date: Tue, 29 Jan 2008 11:14:50 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: =?UTF-8?B?QXJ0dXIgQmHEhw==?= References: <200801261837.26708.artur@ebasoft.com.pl> <1201387323.7237.2.camel@localhost> <200801280411.29358.artur@ebasoft.com.pl> In-Reply-To: <200801280411.29358.artur@ebasoft.com.pl> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-acpi@freebsd.org Subject: Re: Need info about ACPI - implementing, done .... X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2008 19:14:57 -0000 Artur Bać wrote: > Saturday 26 of January 2008 23:42:03 Mikael Ikivesi napisał(a): >> I really hope you can make it. > > Idid it! after 3 days of diging acpi specifications , till i found > > http://www.microsoft.com/whdc/system/pnppwr/wmi/wmi-acpi.mspx Congrats, glad to see people digging into acpi themselves. > I'm so happy becouse this is my first at all kernel module/driver > in my life i have ever written. > > very hot uncleaned code atached bellow. > > Short abstract, tomorrow I will write more, > There is no ACPI , there is Microsoft invention combo of ACPI+WMI+MOF > so we call acpi method which calls wmi method with code located in bios or > embbeded as MOF data into acpi ... Yeah, it would be better to implement a generic WMI driver and then call it from your wireless switch driver. Not all laptops will support this method of calling into WMI via ACPI since it's not a standard. -- Nate