Add trivial driver to disable Intel Smart Connect
authorMatthew Garrett <mjg59@srcf.ucam.org>
Wed, 3 Jul 2013 04:50:13 +0000 (00:50 -0400)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 10 Jul 2013 19:42:49 +0000 (15:42 -0400)
commit5c7f80f75512557dd0728ada77e8e8a8c7c8458b
tree5717f581dd3feeac2bc6a95a37095695e3b7d1a7
parent34a956db3774e8cba3f6b52aa9c1d67cf9a496fe
Add trivial driver to disable Intel Smart Connect

Intel Smart Connect is an Intel-specific ACPI interface for configuring
devices to wake up at regular intervals so they can pull down mail or other
internet updates, and then go to sleep again. If a user enables this in
Windows and then reboots into Linux, the device may wake up if it's put to
sleep. Since there's no Linux userland support for any of this, the machine
will then remain awake until something else puts it back to sleep.

I haven't figured out all that much about how this works (there's a bunch
of different ACPI calls available on the device), but this seems to be
enough to turn it off. We can add more features to this driver if anyone
ever cares about figuring out what the rest of the calls do or writing some
Linux userspace to implement the rest of it.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/intel-smartconnect.c [new file with mode: 0644]