admin管理员组

文章数量:1302318

I'm using VirtualBox v7.1.6 with a Windows11 virtual machine.

I want to add a custom acpi table to the virtual machine

DefinitionBlock ("DSDT.AML", "DSDT", 0x02, "VMW", "CUSTOM", 0x00000001)
{
    Scope(\_SB)
    {
        Device(FIRS)
        {
            Name(_HID, "DUCB2412")
            Name(_UID, 0)
            
            // Define resource settings
            Name(_CRS, ResourceTemplate()
            {
                IO(Decode16, 0x03F8, 0x03FF, 0x00, 0x08) // Example I/O range
            })
            
            Method(_STA, 0, NotSerialized)
            {
                Return(0x0F) // Device is enabled
            }
        }
    }
}

I converted asl file to aml file then use below command

VBoxManage setextradata "my_machine_name" "VBoxInternal/Devices/acpi/0/Config/CustomTable0" "path_to_aml_file"

After rebooting the virtual machine, I can see the acpi table by using rweverything tool:

I tried to find the device in Device Manager or run the command pnputil /enum-devices but it does not exist.

What is the problem I'm getting here?

本文标签: