2014-10-15 21:51:47 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
func NoEC(ctx Context) {
|
|
|
|
ap := Create(ctx, "acpi/platform.asl")
|
|
|
|
defer ap.Close()
|
|
|
|
|
|
|
|
ap.WriteString(
|
2020-01-15 14:28:58 +01:00
|
|
|
`Method(_WAK, 1)
|
2014-10-15 21:51:47 +02:00
|
|
|
{
|
2020-01-15 14:28:58 +01:00
|
|
|
Return(Package() {0, 0})
|
2014-10-15 21:51:47 +02:00
|
|
|
}
|
|
|
|
|
2020-01-15 14:28:58 +01:00
|
|
|
Method(_PTS, 1)
|
2014-10-15 21:51:47 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
`)
|
|
|
|
|
|
|
|
si := Create(ctx, "acpi/superio.asl")
|
|
|
|
defer si.Close()
|
|
|
|
|
|
|
|
ec := Create(ctx, "acpi/ec.asl")
|
|
|
|
defer ec.Close()
|
|
|
|
}
|