power_res.asl 259 B

12345678910111213141516
  1. DefinitionBlock("power_res.aml", "DSDT", 1, "RSACPI", "PWRRES", 1) {
  2. Scope(_SB) {
  3. PowerResource(PIDE, 0, 1) {
  4. Name(X, Zero)
  5. Method(_STA) {
  6. Return (X)
  7. }
  8. Method(_ON) {
  9. Store(One, X)
  10. }
  11. Method(_OFF) {
  12. Store(Zero, X)
  13. }
  14. }
  15. }
  16. }