Device ACPI0011 not loading with error code 10

Marco Sogli 5 Reputation points
2024-08-26T10:10:53.8933333+00:00

Our BIOS team implemented a custom ACPI table for HID buttons using GPIOs, and I'm using the ACPI table sample below created with this documentation:

Scope(\_SB){

    Device(BTNS)

    {

        Name(_HID, "ACPI0011")       

Method (_STA, 0, NotSerialized)  // _STA: Status

        {

            Return (0x0F)

        }

        Name (_DDN, "Generic HID over Interrupt Button Interface") // _DDN: DOS Device Name

        Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings

        {

            Name(CBUF, ResourceTemplate() {

                GpioInt(Edge, ActiveBoth, Exclusive, PullDefault, 5000, "\\_SB.GPI1", 0x00, ResourceConsumer){77} // GPIO0, VOLUME_UP_BTN#

                GpioInt(Edge, ActiveBoth, Exclusive, PullDefault, 5000, "\\_SB.GPI1", 0x00, ResourceConsumer){78} // GPIO1, VOLUME_DOWN_BTN#

            })

            Return(CBUF)

        }

        Name(_DSD, Package(2) {

            ToUUID("fa6bd625-9ce8-470d-a2c7-b3ca36c4282e"),

            Package(3) {

                Package(5) {

                    Zero,    // This is a Collection

                    1,    // Unique ID for this Collection

                    Zero,    // This is a Top-Level Collection

                    0x01, //Usage Page ("Generic Desktop Page")

                    0x0D  //Usage ("Portable Device Control")

                },

                Package(5) {

                    One,    // This is a Control

                    0,    // Interrupt index in _CRS for Volume Up Button

                    One,    // Unique ID of Parent Collection

                    0x0C, // Usage Page ("Consumer Page")

                    0xE9  // Usage ("Volume Increment")

                },

                Package(5) {

                    One,    // This is a Control

                    1,    // Interrupt index in _CRS for Volume Down Button

                    One,    // Unique ID of Parent Collection

                    0x0C, // Usage Page ("Consumer Page")

                    0xEA  // Usage ("Volume Decrement")

                }

            }

        })

    }

}

When the OS tries to load the device, I can see the device name "HID Button over Interrupt Driver" with an error in the "Human Interface Device" section. The problem status is 0xC000009E and the error message is:

This device cannot start. (Code 10)

STATUS_DEVICE_POWER_FAILURE

Could I get some help/information about this issue? Is there a way to get a more specific driver error message? I'm using Windows 10 IoT Enterprise LTSC 21H2.

Thank you in advance.

Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
138 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Xiaohuan.liu(刘晓欢) 0 Reputation points
    2024-10-08T07:34:43.6+00:00

    Hi Mattia,

    I have encountered the same problem as you. May I ask if you have solved this problem now?

    If it's resolved, can you share it?

    Best Regards,

    Xiaohuan.Liu


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.