#11260 NORM Not Tri: i8042 data loss over suspend/resume

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 20 11:53:30 EDT 2011


#11260: i8042 data loss over suspend/resume
-------------------------------------------+--------------------------------
           Reporter:  dsd                  |       Owner:  rsmith     
               Type:  defect               |      Status:  new        
           Priority:  normal               |   Milestone:  Not Triaged
          Component:  embedded controller  |     Version:  1.5-C2     
         Resolution:                       |    Keywords:             
        Next_action:  never set            |    Verified:  0          
Deployment_affected:                       |   Blockedby:             
           Blocking:                       |  
-------------------------------------------+--------------------------------

Comment(by dsd):

 Strangely when doing this from the VT (instead of the terminal activity)
 this does seem to work almost all of the time. During resume the "soft
 interrupt" reads the 0x9c data byte. It took me a lot of tries to
 reproduce this on the VT.


 To reproduce:

 Flash http://build.laptop.org/11.3.0/os5/xo-1.5/os5.zd4 on a XO-1.5

 Prepare a USB disk with:
  * boot/bzImage from http://dev.laptop.org/~dsd/20110920/bzImage
  * boot/olpc.fth from http://dev.laptop.org/~dsd/20110221/olpc.fth.xo15
  * boot/irfs.img from http://dev.laptop.org/~dsd/20110221/irfs.img

 Boot with USB disk inserted.

 Open Terminal activity, run:

 {{{
 sudo su
 echo 1 > /sys/module/i8042/parameters/debug
 echo 1 > /sys/devices/platform/i8042/power/wakeup
 echo 1 > /sys/devices/platform/i8042/serio0/power/wakeup
 echo 1 > /sys/devices/platform/i8042/serio1/power/wakeup
 echo 1 > /sys/devices/platform/i8042/serio0/input/*/power/wakeup
 echo 1 > /sys/devices/platform/i8042/serio1/input/*/power/wakeup
 }}}

 Then suspend with:

 {{{
 echo mem > /sys/power/state
 }}}

 Resume with power button.

 If enter key is not held down on resume (or if you can see the 9c
 interrupt in the logs either before or after suspend), suspend again, and
 resume with the power button. And so on.

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


More information about the Bugs mailing list