On Sun, Apr 2, 2017 at 10:43 PM, Iru Cai <[email protected]> wrote:

> Hello,
>
> I'm trying to write some ACPI code to support an EC. I don't know if I
> need to write an smihandler.c for the boards.
>
> I saw some mainboard code. Older boards such as lenovo/x200 have no
> smihandler.c, but newer boards such as lenovo/x220 have. Also, I don't know
> much about things like GPE, SCI, ..., even after I look at the ACPI
> specification.
>
> So can some one sort out what happens when there is a event (e.g. Lid
> open/close), and what the EC and ACPI OS should do. What needs to be added
> in the mainboard code?
>
>

A few years ago I tried to describe how this works for a presentation at
linux.conf.au, you may find slides 35-44 of this slide deck helpful:
https://docs.google.com/presentation/d/1Cyz2gyyxg7hZBeCp_LSDGbEhsqy6OqsJTBLprXSzOKQ/pub?slide=id.g79793b0d_132

-duncan
-- 
coreboot mailing list: [email protected]
https://mail.coreboot.org/mailman/listinfo/coreboot

Reply via email to