#12798 NORM 13.2.0-: Screenshot does not take every time

Zarro Boogs per Child bugtracker at laptop.org
Thu Jun 26 15:25:13 EDT 2014


#12798: Screenshot does not take every time
-----------------------------------+----------------------------------------
           Reporter:  tonyforster  |       Owner:  suyouxin                         
               Type:  defect       |      Status:  new                              
           Priority:  normal       |   Milestone:  13.2.0-android                   
          Component:  android      |     Version:  Development build as of this date
         Resolution:               |    Keywords:                                   
        Next_action:  design       |    Verified:  0                                
Deployment_affected:               |   Blockedby:                                   
           Blocking:               |  
-----------------------------------+----------------------------------------

Comment(by pgf):

 once the power button event and/or the game-key event hit the kernel,
 they're
 treated pretty similarly, i think.  so without doing more research, i'm
 not sure i'm buying the "race condition" argument.

 but as james points out, the debounce mechanisms, and timings, are quite
 different.

 the power button needs to be pressed for at least 150ms before an event
 will be generated.  this is somewhat long, intentionally.  (from
 power.c:336 in the ec-cl4-mmp3 repo.)

 the game keys only need pressing for (the code says) 60ms, though since
 it's really implemented as 3 x 20ms, and the cycle-count to ms conversion
 might not be completely accurate, i'm not going to swear to that number --
 it could be longer.  (this is from
 src/platform/arm-xo-1.75/consoleio.c:1039 in the cforth repo.)

 so:  be sure you're holding the key combo long enough so that the kernel
 can see that both "down" events arrive before either button is released.

-- 
Ticket URL: <http://dev.laptop.org/ticket/12798#comment:5>
One Laptop per Child <http://laptop.org/>
One Laptop per Child bug tracking system


More information about the Bugs mailing list