From: Tobias Philipp on 23 Jan 2010 11:30 Hi, if I write a UMDF USB driver whats the connection between the USB Device an the Kernelmode? The WinUSB driver, right? If it is so, how could I install the WinUSB for the device as a filter driver? The paper "how to use WinUSB to communicate with a USB Device" describes how to install WinUSB as a function driver. In this combination are no UMDF USB driver between WinUSB and the Application, right? Is it possible to skip the WinUSB and connect directly to the UMDF USB driver, or do I have to use WinUSB ever? regards Tobias Philipp
From: Abhishek R [MSFT] on 24 Jan 2010 19:09 You would need to use WinUSB along with your UMDF driver. Please see the links in my other post for more information. "Tobias Philipp" <fh-tphilipp(a)web.de> wrote in message news:7s0mhbFg57U1(a)mid.individual.net... > Hi, > > if I write a UMDF USB driver whats the connection between the USB Device > an the Kernelmode? > > The WinUSB driver, right? > > If it is so, how could I install the WinUSB for the device as a filter > driver? > > The paper "how to use WinUSB to communicate with a USB Device" describes > how to install WinUSB as a function driver. In this combination are no > UMDF USB driver between WinUSB and the Application, right? > > Is it possible to skip the WinUSB and connect directly to the UMDF USB > driver, or do I have to use WinUSB ever? > > regards > Tobias Philipp
From: Tim Roberts on 24 Jan 2010 22:19 Tobias Philipp <fh-tphilipp(a)web.de> wrote: > >if I write a UMDF USB driver whats the connection between the USB Device >an the Kernelmode? > >The WinUSB driver, right? Yes. >If it is so, how could I install the WinUSB for the device as a filter >driver? There was really no reason to post this twice. These connections are all laid out in the INF file that you write. >The paper "how to use WinUSB to communicate with a USB Device" describes >how to install WinUSB as a function driver. In this combination are no >UMDF USB driver between WinUSB and the Application, right? Correct. >Is it possible to skip the WinUSB and connect directly to the UMDF USB >driver, or do I have to use WinUSB ever? Not sure what you mean. A UMDF driver is really just a simple user-mode DLL that happens to run inside a special user-mode process. USB requests have to be submitted in kernel mode. Therefore, SOMEONE has to act as a proxy for you to cross that divide and submit URBs. You can write your own kernel mode driver and have your UMDF talk to it, but that would be silly. If you were going to write a KM driver, you'd just have THAT be the primary driver. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
From: Tobias Philipp on 25 Jan 2010 11:04 Abhishek R [MSFT] schrieb: > You would need to use WinUSB along with your UMDF driver. Please see the > links in my other post for more information. Hi, could you write the links here? I can't see the other thread. In the second part of this thread Tim Roberts ask why I post the question twice, but I didn't. Here in Thunderbird it's just 1 Thread "WinUSB as a filter driver?". regards
From: Tobias Philipp on 25 Jan 2010 11:06
thx. Tim Roberts schrieb: > There was really no reason to post this twice. Here in Thunderbird it's just 1 Thread "WinUSB as a filter driver?" or what did you mean? |