lkml.org 
[lkml]   [2005]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] Re: 2.6.13-mm2
On Wed, 28 Sep 2005, Daniel Ritz wrote:

> > It's handled in hcd-pci.c ... All PCI based HCDs release their IRQs
> > when they suspend. Including OHCI. Your diagnosis is incorrect.
>
> would you be kind enough to tell me where?
>
> my point is: the test patch i sent to rafael which comments out the
> free_irq-on-suspend thing in hcd-pci.c shows that something is wrong with
> USB (i think only OHCI. UHCI looks ok and about EHCI i have no data).

There are two issues here: freeing the IRQ handler and preventing the
device from generating interrupt requests in the first place. Dave and I
discussed this some time ago and agreed it was vital to stop interrupt
generation at the source, before releasing the handler, whenever the
device is suspended.

So the real question becomes, is your OHCI controller somehow generating
interrupt requests at a time when it shouldn't be? Adding debugging
printk's to the driver's interrupt handler could answer this.

If it isn't, then the problem you see has some other cause. ACPI often
turns out to be the culprit.

Alan Stern

-
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/

\
 
 \ /
  Last update: 2005-09-28 23:13    [W:0.294 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site