From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 1 10:14:50 2009 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 250E1106566B for ; Tue, 1 Sep 2009 10:14:50 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9138FC1B for ; Tue, 1 Sep 2009 10:14:48 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA05019; Tue, 01 Sep 2009 13:14:45 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <4A9CF414.5060800@freebsd.org> Date: Tue, 01 Sep 2009 13:14:44 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: Nate Lawson References: <4A99547A.7090809@freebsd.org> <4A9C1CFD.1010602@root.org> In-Reply-To: <4A9C1CFD.1010602@root.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: acpi_wmi dependency on acpi_ec 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, 01 Sep 2009 10:14:50 -0000 on 31/08/2009 21:57 Nate Lawson said the following: > Andriy Gapon wrote: >> Does acpi_wmi have to depend on acpi_ec so strongly as it does now? >> >> The reason I am asking is that I have a desktop system that seems to >> provide "something WMI", but doesn't have an EC: >> http://people.freebsd.org/~avg/ga-ma780g-ud3h/acpi.asl > > WMI is two things: > 1. proprietary API to some data already available in ACPI > 2. standard for organizing system information not yet listed in the ACPI > spec Nate, thank you - I am getting some knowledge on WMI (WMI+ACPI specifically), but it is quite a big subject. >> I am not sure how to proceed next and if I can actually get anything >> useful with WMI on this system. >> For now I extracted binary MOF file stored in WQBA and used wmimofck >> utility (from Windows Driver Kit) on it. The following is the resulting >> header file: >> http://people.freebsd.org/~avg/ga-ma780g-ud3h/wq.h >> Any advice on what I could try next? > > What you can do with it is totally dependent on the system. Sometimes it > offers a lot of info, sometimes not. With laptops, I think most > manufacturers ignored WMI and ACPI and wrote their own hotkey drivers. In this case I determined that ASL provides WMI interface for AMD OverDrive. In ASL I see code that accesses clock generator via i2c and similar. I think that with enough time and motivation I could figure out how to use that interface (from looking at the header file and ASL code for WMI methods). But right now I am lacking both. -- Andriy Gapon