The standard way is to define it via ACPI, but I noticed that ACPI support is disabled in the kernel. Tell me the direction on how this can be implemented. I would like the ‘WPS’ button to call ‘halt’, since HDDs are connected to the device and turning off the power leads to failures and disk errors.