From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 18:40:16 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 770F816A419 for ; Tue, 29 Jan 2008 18:40:16 +0000 (UTC) (envelope-from artur@ebasoft.com.pl) Received: from poczta.ebasoft.com.pl (ebasoft.com.pl [85.237.185.105]) by mx1.freebsd.org (Postfix) with ESMTP id AC91813C45B for ; Tue, 29 Jan 2008 18:40:15 +0000 (UTC) (envelope-from artur@ebasoft.com.pl) Received: from localhost (localhost [127.0.0.1]) by poczta.ebasoft.com.pl (Postfix) with ESMTP id C58D61AF4C9 for ; Tue, 29 Jan 2008 19:40:17 +0100 (CET) X-Virus-Scanned: amavisd-new 2.4.4 (20061120) at ebasoft.com.pl Received: from poczta.ebasoft.com.pl ([127.0.0.1]) by localhost (ns.ebasoft.com.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z2ywSKjO13Xc for ; Tue, 29 Jan 2008 19:40:10 +0100 (CET) Received: from [192.168.0.42] (unknown [192.168.0.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by poczta.ebasoft.com.pl (Postfix) with ESMTP id 65FDC1AF4C8 for ; Tue, 29 Jan 2008 19:40:10 +0100 (CET) From: Artur =?iso-8859-2?q?Ba=E6?= Organization: EBASoft To: freebsd-acpi@freebsd.org Date: Tue, 29 Jan 2008 19:40:05 +0100 User-Agent: KMail/1.9.7 References: <200801291205.m0TC5gQP052493@sana.init-main.com> In-Reply-To: <200801291205.m0TC5gQP052493@sana.init-main.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801291940.05952.artur@ebasoft.com.pl> Subject: Re: Need info about ACPI - implementing acer_acpi, amilo 1650g 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 18:40:16 -0000 Tuesday 29 of January 2008 13:05:42 Takanori Watanabe napisa=B3(a): > I have another laptop PC with ACPI WMI device, and try to implement > some namespace detection. But leave untouched so long because > I could not find how to make them do useful thing. > > http://www.init-main.com/a2000/acpi_wmi.c One thing that is suspicious in Your code if(AcpiEvaluateObject(devh, "_WDG", NULL, &wdg_buf)){ device_printf(dev, "Cannot Fetch _WDG"); return ENXIO; } from Module Name: nsxfeval - Public interfaces to the ACPI subsystem * FUNCTION: AcpiEvaluateObject * * ExternalParams - List of parameters to pass to method, * terminated by NULL. May be NULL * if no parameters are being passed. * ReturnBuffer - Where to put method's return value (if * any). If NULL, no value is returned. Evaluate is aimed at calling methods As I understand interface, I didn't fi= nd=20 any other info for now. in my DSDT _WDG is a buffer not method... Device (AMW0) { Name (_HID, "pnp0c14") Name (_WDG, Buffer (0x3C) { /* 0000 */ 0x81, 0x17, 0xF4, 0xD9, 0x33, 0xF6, 0x00, 0x4= 4, So look at fbsd acpica sources and try to search for functions that reads a= cpi=20 registry directly. =20 Hoever I'm not strong in WMI, ACPI and I'm not sure if I have right, I onl= y=20 have read few papers for the last days. If I'm wrong, please correct me. =2D-=20 Artur