Re: [linux-usb-devel] OHCI problems with suspend/resume

From: Pavel Machek (pavel@suse.cz)
Date: Thu Jul 31 2003 - 09:18:07 EST


Hi!

>
> Here's a patch that makes things slightly better. It's still
> not fully functional yet -- I forgot how many FIXMEs are in
> those PM code paths! -- and shouldn't be merged as-is, but it
> works slightly better:
>
> - Has a more informative diagnostic message (which HC died);
>
> - When HC dies, mark the whole tree as unavailable so that
> new URB submissions using that HC will just fail;
>
> - Then hcd_panic() just disconnects all the devices, still
> keeping the root hub around.
>
> - OHCI-specific (should be generic, hcd-pci.c): don't
> try resuming a halted controller.
>
> Where "better" means that it seems functional after the
> first suspend/resume cycle, and re-enumerates the device
> that's connected ... but there's still strangeness. And
> I can see how some of it would be generic.

For me it:

reports problem after first suspend, and ohci stops working

oopses in hcd_panic during second suspend (IIRC).
                                                        Pavel

-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:49 EST