On Tue, 16 Sep 2003, Martin Schwenke wrote:

> >>>>> "Alan" == Alan Stern <[EMAIL PROTECTED]> writes:
> 
> [Sorry for the delay in replying - at conference/on vacation...]
> 
>     Alan> Here are some changes for UHCI power management.  Martin,
>     Alan> maybe you can try them out and see if they help with getting
>     Alan> your USB mouse to work after a resume.  [...]
> 
> Sadly not.  :-(
> 
> * As with the previous patch, no more tracebacks or whatever.
> 
> * Restarting hotplug still gets me my mouse back...

> Sep 16 10:37:47 localhost kernel: uhci-hcd 0000:00:07.2: suspend to state 3
> Sep 16 10:37:47 localhost kernel: uhci-hcd 0000:00:07.2: can't resume, not suspended!

Darn it, wouldn't you know I'd forget one of the most important parts of 
that update?

Martin, please try again after applying this one-liner on top of all those
other patches.

Alan Stern


--- 2.6.0/drivers/usb/host/uhci-hcd.c.5 Tue Sep 16 10:24:24 2003
+++ 2.6.0/drivers/usb/host/uhci-hcd.c   Tue Sep 16 10:26:03 2003
@@ -2531,6 +2531,7 @@
                if (uhci_active(uhci))
                        suspend_hc(uhci);
                uhci->state = UHCI_SUSPENDED_PM;
+               uhci->hcd.state = USB_STATE_SUSPENDED;
        }
        up(&uhci->state_mutex);
        return rc;



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to