Date: Tue, 29 Jan 2008 19:40:05 +0100 From: Artur =?iso-8859-2?q?Ba=E6?= <artur@ebasoft.com.pl> To: freebsd-acpi@freebsd.org Subject: Re: Need info about ACPI - implementing acer_acpi, amilo 1650g Message-ID: <200801291940.05952.artur@ebasoft.com.pl> In-Reply-To: <200801291205.m0TC5gQP052493@sana.init-main.com> References: <200801291205.m0TC5gQP052493@sana.init-main.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801291940.05952.artur>