Re: 2.6.21rc1 git usb mouse stops working after resume from ram

From: Arkadiusz Miskiewicz
Date: Thu Feb 22 2007 - 04:25:51 EST


On Thursday 22 of February 2007, Greg KH wrote:
> On Wed, Feb 21, 2007 at 11:14:56PM +0100, Arkadiusz Miskiewicz wrote:
> > Hello,
> >
> > Today version of Linus git tree has a problem with resuming of usb
> > devices. My trackball is no longer working after resume from ram. It not
> > even seen by lsusb. Newly plugged devices are no longer detected (ie. my
> > usb camera) after resume.
> >
> > Reloading all usb + ohci/ehci modules doesn't fix the problem. I need to
> > reboot entire machine (thinkpad z60m).
>
> If you disable CONFIG_USB_SUSPEND, does it work properly for you?

Didn't test but I did bisecting and after reverting commits:

e8363f332757ac22395fb120cc33b3262f9ee26c

and the main problematic one:

commit 0a6139027f3986162233adc17285151e78b39cac
Author: Konstantin Karasyov <konstantin.a.karasyov@xxxxxxxxx>
Date: Fri Feb 16 01:47:06 2007 -0500

ACPI: Thermal issues on HP nx6325

The previous reference counting scheme to enable power resources
got confused when multiple devices were present that might
repeatedly enable or disable the resource and throw off the count.

The new code simply lists the referencing devices which
are requesting the resource to be enabled. When there are none,
then it is off.

Signed-off-by: Konstantin Karasyov <konstantin.a.karasyov@xxxxxxxxx>
Signed-off-by: Len Brown <len.brown@xxxxxxxxx>


I again have working usb after resume.

> (rest of the boot log left below for the benifit of the linux-usb-devel
> mailing list readers.)
>
> thanks,
>
> greg k-h


--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/