Re: USB Serial device disconnect causes IRQ disable

From: Oliver Neukum
Date: Thu Aug 21 2008 - 01:18:11 EST


Am Donnerstag 21 August 2008 02:18:37 schrieb amruth:
> Hi
> I don't have any driver modules. I have everything built into kernel.
> When can this kind of IRQ disable happen, what causes this. The issue happened because of hotplugging my device but the device works fine.
> usb_register(driver) might have caused the issue. How do we debug this problem.

What happens when you never plug in the device?
I think you have another device causing interrupts whose driver
doesn't handle them. While the usb host controller is busy due
to your device, it generates enough interrupts to keep the logic
for detection of spurious interrupts happy. When you unplug your
device you get too many unhandled interrupts.

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