RE: A question about ohci_irq()

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

 



Actually from my debug result, I found that before the mouse hang
moment, there is still an OHCI_INTR_WDH interrupt found , but no "RET"
debug message(ex. drivers/usb/host/ohci-dbg.c: RET 9800xxxxxx dev=2
ep=1in-intr flags=204 len=4/4 stat=0) appears.
And after that , there is no WDH interrupt found again.  That is what I
say "has no response". Even the ohci_irq is triggered, I can not found
the mouse WDH interrupt happens again.

I have decrease the udelay time to 10us, the system works fine too , as
the 100us delay. No mouse hang is happening.

Should I add some debug points in which place to see what happened?


Thanks,
Frank

-----Original Message-----
From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx] 
Sent: Tuesday, December 29, 2009 11:41 AM
To: Huang, FrankR
Cc: USB list
Subject: RE: A question about ohci_irq()

On Mon, 28 Dec 2009, Huang, FrankR wrote:

> Alan,
> 
> 	Thanks.I know the reason why the two irq functions are triggered
> at the same time.
> 	Below is dmesg result.
> 	I insert a USB mouse and USB disk to the ports.
> 	And the delay posision for ohci_irq() is :
> 			ints = ohci_readl(ohci, &regs->intrstatus);
> 			+ udelay(100);
> 	When the mouse is hang, the ohci_irq() has no response.

What do you mean by "has no response"?

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