git: kernel - Fix keyboard probe for chromebooks

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jan 2 18:18:39 PST 2014


commit ad8b9749306613f2978808b43fe5e56019aeeb0f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jan 2 17:14:08 2014 -0800

    kernel - Fix keyboard probe for chromebooks
    
    * Fix a broken conditional that was preventing init_keyboard() from
      ever being called.
    
    * Reorder the sequence of code in init_keyboard(), placing the soft-reset
      command first and adding a SETLEDS command later on.
    
    * My chromebook (Acer C720) required that a SETLEDS command be sent to
      the keyboard before it will send any keystrokes to us, for some reason.

Summary of changes:
 sys/dev/misc/kbd/atkbd.c     | 206 +++++++++++++++++++++++++++++++++++--------
 sys/dev/misc/kbd/atkbdc.c    |  73 +++++++++++----
 sys/dev/misc/kbd/atkbdcreg.h |  48 ++++++++--
 3 files changed, 269 insertions(+), 58 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad8b9749306613f2978808b43fe5e56019aeeb0f


-- 
DragonFly BSD source repository



More information about the Commits mailing list