Hi alan
Thanx a lot.once again sorry to disturb you.
Please tell me in the practical scenario when urb->status will be
-EPROTOCOL ..?
I am sending some control commonds through control pipe and in the
callback i am getting urb->status error as -EPROTOCOL .and in the
documentation it says
that it's unknown / bitstuff error. what could be the reason behind this.?
My linux kernel version is 2.4.20-8 (REDHAT 9.0)
please give me the reply.
Thanx in advance
Subbu
On Mon, 25 Jul 2005, Alan Stern wrote:
> On Mon, 25 Jul 2005, Subbu wrote:
>
> > Thanx a lot alen and sorry to disturb u again..
> >
> > i am getting the error from urb->status = -EINPROGRESS
> > but usb_submit_urb returning zero.
>
> That's not an error, it's exactly what's supposed to happen -- except that
> you aren't supposed to look at urb->status until your completion function
> is called.
>
> > please tell me what could be the problem.?
> >
> > is it because of invalid pipe address..??or what are things to take care
> > to avoid the -EINPROGRESS error.?
>
> As I said, it's not an error.
>
> If your completion function doesn't get called, that may simply be because
> the USB device doesn't have any data to send or isn't ready to receive the
> data you want to send.
>
> Alan Stern
>
"SASKEN RATED THE BEST EMPLOYER IN THE COUNTRY by the BUSINESS TODAY Mercer
Survey 2004"
SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged
information. In case you are not the original intended Recipient of the
message, you must not, directly or indirectly, use, Disclose, distribute,
print, or copy any part of this message and you are requested to delete it and
inform the sender. Any views expressed in this message are those of the
individual sender unless otherwise stated. Nothing contained in this message
shall be construed as an offer or acceptance of any offer by Sasken
Communication Technologies Limited ("Sasken") unless sent with that express
intent and with due authority of Sasken. Sasken 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
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel