summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-05-03 13:47:11 +0200
committerArthur Heymans <arthur@aheymans.xyz>2017-05-04 09:30:47 +0200
commiteae521f9136aff255fa71712c0a145cdfcea358d (patch)
tree71fd820051023633d0e3f56a108055ad4db66b7a /src/mainboard/lenovo
parentec10c9a11cba8976b54de49aaf6b0d3611481dcf (diff)
downloadcoreboot-eae521f9136aff255fa71712c0a145cdfcea358d.tar.xz
mb/lenovo/x200: Make button on dock to undock work
Fetched from vendor DSDT. Change-Id: Ib74408802e977d9caabcb815c9cbd06bd8dbe395 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19539 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kevin Keijzer <kevin@librepractice.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/x200/acpi/dock.asl14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x200/acpi/dock.asl b/src/mainboard/lenovo/x200/acpi/dock.asl
index e2aa53e5be..0c7c9abcfb 100644
--- a/src/mainboard/lenovo/x200/acpi/dock.asl
+++ b/src/mainboard/lenovo/x200/acpi/dock.asl
@@ -51,18 +51,28 @@ Scope(\_SB.PCI0.LPCB.EC)
Notify(\_SB.DOCK, 3)
}
+ Method(_Q37, 0, NotSerialized)
+ {
+ Notify(\_SB.DOCK, 0)
+ }
+
Method(_Q45, 0, NotSerialized)
{
Notify(\_SB.DOCK, 3)
}
+ Method(_Q50, 0, NotSerialized)
+ {
+ Notify(\_SB.DOCK, 3)
+ }
+
Method(_Q58, 0, NotSerialized)
{
Notify(\_SB.DOCK, 0)
}
- Method(_Q37, 0, NotSerialized)
+ Method(_Q5A, 0, NotSerialized)
{
- Notify(\_SB.DOCK, 0)
+ Notify(\_SB.DOCK, 3)
}
}