Re: How to Fire Multiple URBs from allication or driver?
- From: "Doron Holan [MSFT]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 Jul 2007 10:30:45 -0700
first, you should get the 6000 WDK, it is the latest driver kit. your driver can send i/o to the device on its own without the application initiating it. you would hten have to keep a copy of the data you read until the application asked for it.
I would recommend that you look at using KMDF or even better, winusb to communicate with your hardware. If you use KMDF it has a feature called a continous reader which will constantly send N number of URBs to the device. If you use winusb, you can get rid of your driver completely and do all of the i/o from the application. Both are available in the WDK.
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.
"slsnios" <slsnios.2tlzmk@xxxxxxxxxxxxxxxxxxxxx> wrote in message news:slsnios.2tlzmk@xxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I developed USB2.0 High speed driver from DDK 2003 SP1. I made some
changes that will handle my custome device.
I created an application which use overlapped I/O as NULL, so using
this my application has to wait for bytes read/write that i defined. Now
using this only single URB is active at time. But how can i generate
multiple URBs, so using that OS scheduler can execute URBs in fast
manner when it gets the time slice for USB bus.
I think that using asychronous method i can achieve this, but that is
from the application level. How it would be possible to create multiple
URBs from driver or directly from application.
Please suggest me.
Regards,
slsnios
--
slsnios
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
.
- References:
- How to Fire Multiple URBs from allication or driver?
- From: slsnios
- How to Fire Multiple URBs from allication or driver?
- Prev by Date: How to Fire Multiple URBs from allication or driver?
- Next by Date: which wdk for development on windows xp, 2000 and 2003? where in msdn subscriber downlaods is it under?
- Previous by thread: How to Fire Multiple URBs from allication or driver?
- Next by thread: How to Fire Multiple URBs from allication or driver?
- Index(es):
Relevant Pages
|