Comment 15 for bug 287576

Revision history for this message
Pierre Dinh-van (dinhvan) wrote :

I was working with the workaround "don't update the kernel with any version > 2.6.24-19" for a while.

I just retested with 2.6.24-24 and 2.6.24-25, and this issue seems to be fixed.
With the 2.6.31 from 9.10 it also works fine.

I checked the linux_2.6.24-25.63.diff.gz (got with apt-get source linux-image-2.6.24-24-generic) and I searched for hub.c

I was able to find some stuff including that :

--- linux-2.6.24.orig/drivers/usb/core/hub.c
+++ linux-2.6.24/drivers/usb/core/hub.c
@@ -327,6 +327,9 @@
[...]
+static void hub_restart(struct usb_hub *hub, int type)
+{
+ struct usb_device *hdev = hub->hdev;
+ int port1;
+
+ /* Check each of the children to see if they require
+ * USB-PERSIST handling or disconnection. Also check
+ * each unoccupied port to make sure it is still disabled.
+ */
[...]

I guess that's part of the change which solved this issue.

I guess it comes from this entry of the changelog

linux (2.6.24-24.60) hardy-proposed; urgency=low
[...]
  [Upstream Kernel Changes]

  * USB: EHCI: fix remote-wakeup regression
    - LP: #406419

 -- Stefan Bader <email address hidden> Tue, 18 Aug 2009 18:25:47 +0200

So I guess this bug was a duplicated to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/406419

So far I was able to test (3 computers, 2 hubs), this bug is for me fixed.