Re: KMDF1.5: Reading from USB interrupt endpoints
- From: "Doron Holan [MSFT]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Jun 2008 11:51:28 -0700
you are not missing anything, you can read/write to an interrupt endpoint using the same APIs that you read/write to an bulk endpoint
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Johan Paul" <johan.paul@xxxxxxxxx> wrote in message news:dfa6b5b5-6bd9-4a57-9f20-a672e9eaaa5f@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
Just a short question I have been wondering for a while now and I
would like to get this cleared; Am I right that I can read from a USB
interrupt endpoint in the same way I can read from a bulk endpoint? In
other words, I do not need to worry about if the endpoint is bulk or
interrupt as long as I parse the interface+endpoint descriptors right
and find my pipes? I remember reading from the Windows Driver
Foundation book that KMDF supports both bulk and interrupt endpoints,
but does this imply what I stated above?
I know that the osrusbfx2 example uses a continuous reader for an
interrupt endpoint, but I would like to read from the interrupt
endpoint just as I would from an bulk endpoint.
Now I just seem to have a problem that when I send a read request to
an interrupt endpoint the request's completion routine is never called
- although I can see from USB bus traces that the host controller ACKs
the IN transaction for the read - and thus the read request from the
user space application never returns.
I can successfully read from bulk endpoints with this same code - the
only difference is the endpoint's type.
What am I missing? Thanks!
BR,
Johan
.
- Follow-Ups:
- Re: KMDF1.5: Reading from USB interrupt endpoints
- From: Johan Paul
- Re: KMDF1.5: Reading from USB interrupt endpoints
- References:
- KMDF1.5: Reading from USB interrupt endpoints
- From: Johan Paul
- KMDF1.5: Reading from USB interrupt endpoints
- Prev by Date: Re: WDFMEMORY handle and memory buffer
- Next by Date: Re: KMDF1.5: Reading from USB interrupt endpoints
- Previous by thread: KMDF1.5: Reading from USB interrupt endpoints
- Next by thread: Re: KMDF1.5: Reading from USB interrupt endpoints
- Index(es):
Relevant Pages
|