Re: [linux-usb-devel] Re: Lost keyboard on Inspiron 8200 at 2.6.13

From: Alan Cox
Date: Sat Sep 17 2005 - 02:43:42 EST


On Sad, 2005-09-17 at 00:12 -0400, Alan Stern wrote:
> Where does early handoff install a fake interrupt handler for UHCI? I
> don't see any in drivers/pci/quirks.c.

Fedora patches for 2.6.9 rather than the current code.

> > You need them because an IRQ could be pending on the channel at the
> > point you switch over or triggered on the switch and a few people saw
> > this behaviour.
>
> Yes, that would be needed if you have edge-triggered interrupts. But
> isn't PCI supposed to be level-triggered?

Yes and at the time several people saw hangs on the changeover unless we
cleared pending IRQ bits in the IRQ handler. That may have been related
to various ACPI problems from back then. I don't know for sure.

> > I'd like to see it shared but that means handoff belongs in the input
> > layer code and the USB layer needs to call into it if appropriate.
>
> Why does it mean that? And why the input layer as opposed to the PCI
> layer, where it is now?

PCI layer makes even more sense yes

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