#2432 NORM Trial-3: Suspend kills USB.

Zarro Boogs per Child bugtracker at laptop.org
Thu Aug 9 10:11:09 EDT 2007


#2432: Suspend kills USB.
---------------------+------------------------------------------------------
  Reporter:  warp    |       Owner:  marcelo
      Type:  defect  |      Status:  new    
  Priority:  normal  |   Milestone:  Trial-3
 Component:  kernel  |     Version:         
Resolution:          |    Keywords:         
  Verified:  0       |  
---------------------+------------------------------------------------------
Comment (by warp):

 OHCI isn't coming back on the OLPC after resume.

 After a bit of testing, the problem seems to have come down to two points.

 The first is that ohci_pci_resume is not forcing the root hub to be
 resumed
 properly, that's a fairly trivial and obviously correct patch.

 The second is trickier, ohci_rh_resume is getting called in a way that it
 thinks is an indication that it's coming back from a SUSPEND where it did
 not
 lose power.

 I've patched it, and hopefully there won't be any false positives, but I
 don't
 have another machine to do suspend/resume testing on, so while it works
 for me,
 I can't guarantee that it won't cause problems for others.

 In any case, USB 1.1 devices directly plugged into the machine didn't work
 after resume before this, and do now.

 Signed-off-by: Zephaniah E. Hull <warp at aehallh.com>

-- 
Ticket URL: <http://dev.laptop.org/ticket/2432#comment:8>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list