#11980 HIGH Not Tri: XO-1 no longer maintains external SD card access over suspend/resume (was: Presence of swap brakes the system after wakeup)

Zarro Boogs per Child bugtracker at laptop.org
Tue Jul 3 18:02:32 EDT 2012


#11980: XO-1 no longer maintains external SD card access over suspend/resume
---------------------------------+------------------------------------------
           Reporter:  mavrothal  |       Owner:                                   
               Type:  defect     |      Status:  new                              
           Priority:  high       |   Milestone:  Not Triaged                      
          Component:  kernel     |     Version:  Development build as of this date
         Resolution:             |    Keywords:  powerd                           
        Next_action:  diagnose   |    Verified:  0                                
Deployment_affected:             |   Blockedby:                                   
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by dsd):

 Thanks for the reminder here.

 The problem is that the XO-1 is now losing the card during suspend/resume,
 as if it has been removed and reinserted. Previously, the card presence
 (and anything open/in use) was maintained over suspend.

 With help from Chris Ball we identified that sdhci_request, called during
 resume, checks SDHCI_PRESENT_STATE. During early resume, this register
 says that the card is not present. About 400ms after sdhci_resume_host
 returns, the hardware generates an interrupt saying "card inserted" and
 then starts acknowledging card presence again.

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


More information about the Bugs mailing list