Re: A question about ohci_irq()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25 Dec 2009, Huang, FrankR wrote:

> Hi,all
> 
>        Merry Christmas! Everybody.
>        This issue has puzzled me some time. Can you guys give me a guide.
>        There is an issue using the AMD CS5536 and an MIPS CPU.
>        When transferring files via USB HD , the USB mouse will hang sometimes and lose connection to OHCI Host and this device can not be connected again from then on.

The best way to debug this problem is to enable CONFIG_USB_DEBUG in the 
kernel configuration and check the dmesg log.  Also you can collect a 
usbmon trace to see what's happening at a lower level.

>        I am debugging on this and add some printk() function in ohci_irq() to see OHCI host registers. Very surprising, the USB mouse connection lost issue can not be found. I don't know why. From the debug info, I see the ohci_irq() will be triggered always when I insert the USB HD at the same time, so can you tell me some hints about this? How can I debug that?

ohci_irq() is triggered whenever you plug in a new device or unplug a 
device.  That's because the controller needs to tell the computer when 
something happens, so it raises an interrupt.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux