cyapa - Implement power save mode, try to fix boot issue (Acer c720 chromebook)
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 18 Aug 2014 06:37:20 +0000 (23:37 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 18 Aug 2014 06:37:20 +0000 (23:37 -0700)
commit51597815b34f392de2a2a2d925d48c2a8d071816
tree68ed7171b9bb3a3f245f104e2b53f0cf6f7ee3d4
parent80f6344363617df89d48de28fe5c3ef3b0f9220b
cyapa - Implement power save mode, try to fix boot issue (Acer c720 chromebook)

* Implement power save mode when the pad hasn't been touched for 10 seconds.
  Return to full power on any activity.

* Try to fix an issue when cyapa is loaded from /boot/loader.conf or built
  into the kernel.  For some reason cyapa polls that it isn't running but
  we'd already gone through the bootstrap sequence and determined that it
  was running.  Why it stops is not known but it appears doing a status query
  after init completion puts it in the right state.
sys/dev/smbus/cyapa/cyapa.c
sys/dev/smbus/cyapa/cyapa.h