Re: psmintr not attached w/ acpi

From: Slawa Olhovchenkov <slw_at_zxy.spb.ru>
Date: Mon, 1 Dec 2003 22:57:45 +0300
On Mon, Dec 01, 2003 at 10:59:49AM -0800, Nate Lawson wrote:

> > On Mon, Dec 01, 2003 at 09:48:40AM -0800, Nate Lawson wrote:
> > > Your ASL indicates that it returns different values for present (based on
> > > PS2F) and current resources (based on KBDI).  Please send me the URL to
> > > the full ASL so I can see what sets those two variables.
> >
> > http://zxy.spb.ru/acpi.dump
> >
> > Do you need additional information?
> 
> Try this workaround, recompile your asl, set dsdt_load in loader.conf.
> See acpi(4) if you need info on this process.  I think your BIOS needs a
> workaround.  I wonder if the MS interpreter ignores _STA for some devices.

I try recompile asl and got some errors:

===
iasl acpi.dump

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030619 [Nov 25 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

acpi.dump    84:     And (SUSF, 0x02, STAT)
Error    1037 -        ^ syntax error

ASL Input:  acpi.dump - 3574 lines, 113232 bytes, 12 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 9 Optimizations
===

I commented out this line and try again.

===
iasl acpi.dump

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030619 [Nov 25 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

acpi.dump   352:     Method (\_WAK, 1, NotSerialized)
Warning  2026 -                  ^ Reserved method must return a value (_WAK)

acpi.dump   382:             Store (Local0, Local0)
Error    1013 -                          ^ Method local variable is not initialized (Local0)

acpi.dump   387:             Store (Local0, Local0)
Error    1013 -                          ^ Method local variable is not initialized (Local0)

acpi.dump  1609:                     ICF0,   2,
Error    1051 -                         ^ Access width of Field Unit extends beyond region limit

acpi.dump  1610:                     ICF1,   2,
Error    1051 -                         ^ Access width of Field Unit extends beyond region limit

acpi.dump  1612:                     WPPE,   1,
Error    1051 -                         ^ Access width of Field Unit extends beyond region limit

acpi.dump  1614:                     FAS0,   2,
Error    1051 -                         ^ Access width of Field Unit extends beyond region limit

acpi.dump  1615:                     FAS1,   2
Error    1051 -                         ^ Access width of Field Unit extends beyond region limit

ASL Input:  acpi.dump - 3850 lines, 119353 bytes, 1690 keywords
Compilation complete. 7 Errors, 1 Warnings, 0 Remarks, 345 Optimizations
===

What is wrong?

> --- slawa-IntelLaptop.asl.orig	Mon Dec  1 10:54:18 2003
> +++ slawa-IntelLaptop.asl	Mon Dec  1 10:57:39 2003
> _at__at_ -3353,14 +3353,7 _at__at_
>                  Name (_HID, EisaId ("PNP0F13"))
>                  Method (_STA, 0, NotSerialized)
>                  {
> -                    If (LEqual (PS2F, 0x00))
> -                    {
>                          Return (0x0F)
> -                    }
> -                    Else
> -                    {
> -                        Return (0x00)
> -                    }
>                  }
> 
>                  Method (_CRS, 0, NotSerialized)
> 
> -Nate


-- 
Slawa Olhovchenkov
Received on Mon Dec 01 2003 - 10:57:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC