git: cyapa - Implement power save mode, try to fix boot issue (Acer c720 chromebook)

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 17 23:40:24 PDT 2014


commit 51597815b34f392de2a2a2d925d48c2a8d071816
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 17 23:37:20 2014 -0700

    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.

Summary of changes:
 sys/dev/smbus/cyapa/cyapa.c | 96 +++++++++++++++++++++++++++++----------------
 sys/dev/smbus/cyapa/cyapa.h |  3 ++
 2 files changed, 66 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/51597815b34f392de2a2a2d925d48c2a8d071816


-- 
DragonFly BSD source repository



More information about the Commits mailing list