diff options
Diffstat (limited to 'util/autoport/ec_none.go')
-rw-r--r-- | util/autoport/ec_none.go | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/util/autoport/ec_none.go b/util/autoport/ec_none.go new file mode 100644 index 0000000000..9158734777 --- /dev/null +++ b/util/autoport/ec_none.go @@ -0,0 +1,23 @@ +package main + +func NoEC(ctx Context) { + ap := Create(ctx, "acpi/platform.asl") + defer ap.Close() + + ap.WriteString( + `Method(_WAK,1) +{ + Return(Package(){0,0}) +} + +Method(_PTS,1) +{ +} +`) + + si := Create(ctx, "acpi/superio.asl") + defer si.Close() + + ec := Create(ctx, "acpi/ec.asl") + defer ec.Close() +} |