Re: some question about iso urb?

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

 



hi alan:

2010/3/12 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>:
> On Fri, 12 Mar 2010, loody wrote:
>
>> Dear all:
>> I add the urb log at the end of my letter.
>> my question is:
>> "len 0/122880", the first 0 means actually how many bytes it really
>> transfered, right? if so, why I still get ehci_urb_done even I didn't
>> get any interrupt and data is 0?
>
> You _did_ get an interrupt:
>
>> ehci ehci.0: itd_submit 1 urb 8338cc00 ep1in len 122880, 40 pkts 1
>> uframes [83b8fb80]
>> ehci ehci.0: schedule devp 1 ep1in-iso period 1 start 89.0
>> ehci ehci.0: itd_submit 1 urb 8338c800 ep1in len 122880, 40 pkts 1
>> uframes [83b8fb80]
>> ehci ehci.0: irq status 0001 INT
>
> That is the interrupt.
thanks for your help :)
but why there is ehci_urb_done without any interrupt happen?
like below:

ehci ehci.0: ehci_urb_done 1 urb 8338cc00 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338cc00 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]
ehci ehci.0: ehci_urb_done 1 urb 8338c800 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338c800 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]
ehci ehci.0: ehci_urb_done 1 urb 8338cc00 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338cc00 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]
ehci ehci.0: ehci_urb_done 1 urb 8338c800 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338c800 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]
ehci ehci.0: ehci_urb_done 1 urb 8338cc00 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338cc00 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]
ehci ehci.0: ehci_urb_done 1 urb 8338c800 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338c800 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]
ehci ehci.0: ehci_urb_done 1 urb 8338cc00 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338cc00 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]
ehci ehci.0: ehci_urb_done 1 urb 8338c800 ep1in status 0 len 0/122880
ehci ehci.0: itd_submit 1 urb 8338c800 ep1in len 122880, 40 pkts 1
uframes [83b8fb80]

thanks for your reply,
miloody
--
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