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

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 20 13:50:54 EDT 2010


#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
         Resolution:                       |    Keywords:               
        Next_action:  never set            |    Verified:  0            
Deployment_affected:                       |   Blockedby:               
           Blocking:                       |  
-------------------------------------------+--------------------------------

Comment(by pgf):

 since managing this via the EC sending enable/disable commands to the ps/2
 devices seems hard, and since there's no direct interface for user-level
 to send commands to those devices, perhaps we shouldn't try and talk to
 those devices directly at all.  rather, we could let the keyboard and
 touchpad operate normally, but tell the EC to ignore their output.

 that is, create a new EC command pair, one of which simply causes all ps/2
 (but not game-key) input to be discarded, for purposes of both data and
 system wakeups.  user-level (probably powerd) would send this command when
 ebook mode is entered, and of course would send the corresponding cancel
 command when we leave ebook mode.

 most importantly, this assumes we can wake based on leaving ebook mode,
 since we want the keyboard and tpad to reliably start working then.  i
 believe (but i'm not completely sure) that ebook wakeup is reliable on
 both laptops, for both open and close.

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


More information about the Bugs mailing list