#9180 NORM Not Tri: EC should disable keyboard and mouse in ebook mode

Zarro Boogs per Child bugtracker at laptop.org
Wed Jan 7 04:20:35 EST 2009


#9180: EC should disable keyboard and mouse in ebook mode
---------------------------------+------------------------------------------
 Reporter:  wmb at firmworks.com    |                 Owner:  rsmith       
     Type:  defect               |                Status:  new          
 Priority:  normal               |             Milestone:  Not Triaged  
Component:  embedded controller  |               Version:  not specified
 Keywords:                       |           Next_action:  never set    
 Verified:  0                    |   Deployment_affected:               
Blockedby:                       |              Blocking:               
---------------------------------+------------------------------------------
 When the system is suspended in ebook mode, the keyboard keys and trackpad
 buttons can easily be pressed by the back of the display.  That's
 obviously not good when the system is suspended, because it can cause
 false wakeups, and even if keyboard wakeup events are disabled, it still
 wastes power when the EC has to process those events and flash the LED.

 It's not sufficient to have the OS do the work here, because you might
 enter ebook mode while the system is already suspended, so the OS wouldn't
 get a chance to do anything.

 I think the right way to disable the keyboard and touchpad is to send the
 "f5" command to both the keyboard and mouse ports.  To re-enaable, send
 the "f4" command to both ports.  I've tried that general approach from OFW
 in the Windows suspend/resume path and it behaves the way I think it
 should.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9180>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list