As usual nice responses, thanks.
3. USB host driver will convert that URB into different packets and will
transmit to USB device. The packet size will be as defined in USB spec
and as listed in protocol spec and also depends on what type of
transfers are happening.
Yes.
4. USB host driver will call completion only iff all packets are
transmitted and thus one URB is transmitted correctly. Yes?
Yes.
Actually no. If usb_submit_urb() succeeded then the completion routine
will definitely be called, whether or not the URB was transmitted
correctly.
Alright.
And in that case my urb->status (in my completion callback routine) will
tell whether URB transmitted correctly or not. Yes ?
And urb->status will show successful only when all packets and thus one
URB is transmitted successfully. right?
Alan Stern
Email Scanned for Virus & Dangerous Content by : www.CleanMailGateway.com
--
Thanks,
Viral Mehta,
Embedded Software Engineer,
Tel. No. 91 79 26563705, Ext. 423
www.einfochips.com <http://www.einfochips.com>
--
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_____________________________________________________________________
--
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