On Sun, 28 Jan 2007, Dominik Brodowski wrote: > > You could try another test: Let the IRQ be disabled, and then rmmod > > ehci-hcd and modprobe it back. Perhaps then rmmod usb-storage to force > > another suspend, perhaps not. Anyway, see what happens to intr_enable. > > You can always force interrupts to occur by turning the USB HD off or on. > > Unfortunately, the IRQ line is and stays disabled, and I don't know how I > could re-enable it.
Loading a driver that uses the IRQ should re-enable it. > > It would be possible to patch the ehci_irq() routine to have it turn off > > the STS_FLR bit whenever necessary. But first I would like to know what > > causes it to turn on at all. Maybe it really is a hardware problem. > > I did that (see below), but then the IRQ subsystem continued to be "dead" > -- it seemed to me that the USB hub is in a completely broken state when > this codepath is entered... What exactly do you mean? Can you provide a dmesg log with CONFIG_USB_DEBUG turned on? > To further complicate matters, I now also see IRQ10 being disabled whenever > I switch from the console (i810) to a terminal -- but that bug was > introduced _later_ than the autosuspend bug. And, 2.6.19 works perfectly > fine with regard to both issues... Are you entirely certain that 2.6.19 works perfectly? It does a lot less autosuspending than 2.6.20, true... But if you force a suspend in 2.6.19 do you then see the same sort of IRQ trouble? Alan Stern PS: Your patch did not include a PCI read to flush the interrupt-mask write. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel