Vladimir Serbinenko | 3129f79 | 2014-10-15 21:51:47 +0200 | [diff] [blame] | 1 | package main |
| 2 | |
| 3 | func NoEC(ctx Context) { |
| 4 | ap := Create(ctx, "acpi/platform.asl") |
| 5 | defer ap.Close() |
| 6 | |
| 7 | ap.WriteString( |
Paul Menzel | 56258ff | 2020-01-15 14:28:58 +0100 | [diff] [blame] | 8 | `Method(_WAK, 1) |
Vladimir Serbinenko | 3129f79 | 2014-10-15 21:51:47 +0200 | [diff] [blame] | 9 | { |
Paul Menzel | 56258ff | 2020-01-15 14:28:58 +0100 | [diff] [blame] | 10 | Return(Package() {0, 0}) |
Vladimir Serbinenko | 3129f79 | 2014-10-15 21:51:47 +0200 | [diff] [blame] | 11 | } |
| 12 | |
Paul Menzel | 56258ff | 2020-01-15 14:28:58 +0100 | [diff] [blame] | 13 | Method(_PTS, 1) |
Vladimir Serbinenko | 3129f79 | 2014-10-15 21:51:47 +0200 | [diff] [blame] | 14 | { |
| 15 | } |
| 16 | `) |
| 17 | |
| 18 | si := Create(ctx, "acpi/superio.asl") |
| 19 | defer si.Close() |
| 20 | |
| 21 | ec := Create(ctx, "acpi/ec.asl") |
| 22 | defer ec.Close() |
| 23 | } |