From eae521f9136aff255fa71712c0a145cdfcea358d Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 3 May 2017 13:47:11 +0200 Subject: mb/lenovo/x200: Make button on dock to undock work Fetched from vendor DSDT. Change-Id: Ib74408802e977d9caabcb815c9cbd06bd8dbe395 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/19539 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Kevin Keijzer Reviewed-by: Alexander Couzens --- src/mainboard/lenovo/x200/acpi/dock.asl | 14 ++++++++++++-- 1 file 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) } } -- cgit v1.2.3