1

What could cause "AE_NOT_FOUND", when the device and method are both defined?

dmesg error:

[    9.925882] ACPI Error: [WLVD] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)
[    9.927455] ACPI Error: Method parse/execution failed [\_SB.WLBU._STA] (Node ffff8803ee8b40c8), AE_NOT_FOUND (20160422/psparse-542)

dsdt:

// http://h30434.www3.hp.com/t5/Notebook-Hardware-and-Upgrade-Questions/HP-250-G2-Unknown-Device-ACPI-HPQ6001/td-p/5056511
// hp wireless button...
// hp_wmi && hp_wireless are loaded...
// 
// [    0.744110] ACPI Error: [WLVD] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)
// [    0.744123] ACPI Error: Method parse/execution failed [\_SB.WLBU._STA] (Node ffff8803ee8b40c8), AE_NOT_FOUND (20160422/psparse-542)
//
    Device (WLBU)
    {
        Name (_HID, EisaId ("HPQ6001"))  // _HID: Hardware ID
        Name (WLDP, 0xFF)
        Method (_STA, 0, NotSerialized)  // _STA: Status
        {
            If ((WLDP == 0xFF))
            {
                Local0 = Zero
                OSTP ()
                If ((((OSYS == 0x07DC) || (OSYS == 0x07DD)) || (OSYS == 0x07DF)))
                {
                    If (((WLVD != Zero) && (WLVD != 0xFFFF)))
                    {
                        Local0 = 0x0F
                    }
                }

                WLDP = Local0
            }

            Return (WLDP) /* \_SB_.WLBU.WLDP */
        }

    }
mikejonesey
  • 1,950
  • 10
  • 17

1 Answers1

1

Ok, worked it out, the error stated it couldn't find:

"\_SB.WLBU._STA"

however, when looking through the DSDT, I found there were two similar scopes;

"\_SB"

and

"_SB"

I found the device was defined under the later, I commented it out and moved it to the first scope, the error has gone.

I wonder what else is "under the wrong scope", or indeed if the two are the same scope...

Update: I found out;

"\_SB"

is root dir / path, wheras;

"_SB"

is relative dir / path.

Makes sense... so my issue seems to be a miss-match between a dsdt and ssdt (now resolved).

mikejonesey
  • 1,950
  • 10
  • 17