Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-19936

Acer Extensa 5620Z: ACPI Battery detection problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None

    Description

      Tested build: PR #5719 / commit 3fe9e88 (artifacts from CI), reported per Fraizeraust's request.

      Battery driver fails because of STATUS_ACPI_INVALID_DATA error:

      (drivers\battery\battc\battc.c:348) QueryInformation failed (0xc014000f)
      BatteryIoctl: Irp failed - c014000f
      

      STATUS_ACPI_INVALID_DATA is returned by CmBattSendDownStreamIrp() because the OutputBuffer fields are all equal to 0, and its preceding IoCallDriver has failed with status 0xc0000034 (STATUS_OBJECT_NAME_NOT_FOUND).

      Tracing into that call reveals that acpi.sys!Bus_PDO_EvalMethod is being called, attempting to evaluate ACPI battery method _BIF which then fails with AcpiStatus = 6 (AE_NOT_EXIST).

      The actual failure happens somewhere in AcpiPsParseLoop() which gets called in a loop 6 times, returning following statuses:

      • 0x4008 (AE_CODE_CONTROL | AE_TYPE)
      • 0x4008 (AE_CODE_CONTROL | AE_TYPE)
      • 0 (AE_OK)
      • 0 (AE_OK)
      • 0x4008 (AE_CODE_CONTROL | AE_TYPE)
      • 6 (AE_NOT_EXIST)

      Full debug log: debug.txt
      Machine ACPI tables:

      Attachments

        1. dsdt.txt
          301 kB
        2. dsdt.aml
          36 kB
        3. desktop.png
          desktop.png
          116 kB
        4. debug.txt
          90 kB
        5. compbatt.png
          compbatt.png
          9 kB
        6. batt.png
          batt.png
          10 kB
        7. acpi.reg
          233 kB
        8. acpi_osl_debug.txt
          609 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              binarymaster Stas'M
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: