Red Hat Bugzilla – Bug 156459
USB doesn't work after suspend/resume
Last modified: 2007-11-30 17:11:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.7.7-2
Description of problem:
This bug is similar to #129405 and #146190.
When I close the lid on my iBook G4, wait for the white LED to start pulsating slowly, then re-open the lid, both my USB mouse and my USB keyboard cease to work. Only a reboot restores USB.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. Close the lid.
3. Open the lid.
4. Try to use either a USB mouse or a USB keyboard.
Actual Results: Neither the USB keyboard nor the USB mouse works.
Expected Results: Complete USB recovery and continued normal USB operation.
Created attachment 113890 [details]
suspend/resume-related output from dmesg, including a call from an invalid context, and some "badness".
Not PPC-specific -- this is general USB brokenness. Paulus sent patches to David
Brownell a _long_ time ago but they're still not merged. Workaround for now is
to unload ehci_hcd; the OHCI (USB1) driver tends to work. I'll chase them up and
see about putting them in the RPM.
The 'Badness in wait_for_ready at drivers/ide/ide-iops.c:520' is just whinging
about an mdelay -- it's also harmless. Again, it isn't PPC-specific except to
the extent that PPC users seem to be the only people for whom suspend is
reliable enough to actually get used :)
For info, theres an IDE update on the way from Alan, (its already in CVS, but is
currently borken -- more fixes tomorrow). That may fix the badness in ide.
The EHCI thing should be fixed in a 1.1280 or later kernel. Since the S390
machines appear to be AWOL from the build farm at the moment that may not turn
up very soon -- in the meantime please test
Actually don't bother testing that -- the IDE changes prevent it from booting.
A 1282 kernel will appear at http://people.redhat.com/davej/kernels/Fedora/FC4
in a while, that *should* hopefully fix the broken IDE problem.
It boots, I have USB mouse after suspend.
kallsyms is broken though... note four functions without names:
Debug: sleeping function called from invalid context at include/asm/semaphore.h:71