Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 22:57:45 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Nate Lawson <nate@root.org>
Cc:        current@freebsd.org
Subject:   Re: psmintr not attached w/ acpi
Message-ID:  <20031201195745.GF61122@mail.acropolis.ru>
In-Reply-To: <20031201105339.Y13707@root.org>
References:  <20031201094715.B13470@root.org> <20031201180224.GE61122@mail.acropolis.ru> <20031201105339.Y13707@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> @@ -3353,14 +3353,7 @@
>                  Name (_HID, EisaId ("PNP0F13"))
>                  Method (_STA, 0, NotSerialized)
>                  {
> -                    If (LEqual (PS2F, 0x00))
> -                    {
>                          Return (0x0F)
> -                    }
> -                    Else
> -                    {
> -                        Return (0x00)
> -                    }
>                  }
> 
>                  Method (_CRS, 0, NotSerialized)
> 
> -Nate


-- 
Slawa Olhovchenkov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031201195745.GF61122>