From: gti4ever on
Hi,

I am just wondering is it possible to install an UMDF upper filter driver
for a raw PDO that is created for sideband communication for a HID device?

If so, is there any samples in DDK that can be referenced?

Thanks.

G
From: Doron Holan [MSFT] on
you can. I would install the UMDF driver as an FDO, not as a filter. from
there, you just interact with the PDO normally

d

"gti4ever" <gti4ever(a)discussions.microsoft.com> wrote in message
news:7E84870B-6A43-4B7B-AA8D-2A803291225F(a)microsoft.com...
> Hi,
>
> I am just wondering is it possible to install an UMDF upper filter driver
> for a raw PDO that is created for sideband communication for a HID device?
>
> If so, is there any samples in DDK that can be referenced?
>
> Thanks.
>
> G

From: gti4ever on
Thanks Doron.

I have another question. I created a generic UMDF driver which can be
installed as a FDO on top of a regular KMDF driver.

However, when I tried to install it as a FDO for the raw PDO, I got an error
saying "Windows successfully loaded the device driver for this hardware but
cannot find the hardware device. (Code 41)".

Any idea?

G.



"Doron Holan [MSFT]" wrote:

> you can. I would install the UMDF driver as an FDO, not as a filter. from
> there, you just interact with the PDO normally
>
> d
>
> "gti4ever" <gti4ever(a)discussions.microsoft.com> wrote in message
> news:7E84870B-6A43-4B7B-AA8D-2A803291225F(a)microsoft.com...
> > Hi,
> >
> > I am just wondering is it possible to install an UMDF upper filter driver
> > for a raw PDO that is created for sideband communication for a HID device?
> >
> > If so, is there any samples in DDK that can be referenced?
> >
> > Thanks.
> >
> > G
>
> .
>
From: Doron Holan [MSFT] on
look at the setup logs and see what went wrong. how did you try to install
the FDO? with devcon or through the device manager UI?

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"gti4ever" <gti4ever(a)discussions.microsoft.com> wrote in message
news:816B2458-6062-4A34-BFBC-DE4024150EF5(a)microsoft.com...
> Thanks Doron.
>
> I have another question. I created a generic UMDF driver which can be
> installed as a FDO on top of a regular KMDF driver.
>
> However, when I tried to install it as a FDO for the raw PDO, I got an
> error
> saying "Windows successfully loaded the device driver for this hardware
> but
> cannot find the hardware device. (Code 41)".
>
> Any idea?
>
> G.
>
>
>
> "Doron Holan [MSFT]" wrote:
>
>> you can. I would install the UMDF driver as an FDO, not as a filter.
>> from
>> there, you just interact with the PDO normally
>>
>> d
>>
>> "gti4ever" <gti4ever(a)discussions.microsoft.com> wrote in message
>> news:7E84870B-6A43-4B7B-AA8D-2A803291225F(a)microsoft.com...
>> > Hi,
>> >
>> > I am just wondering is it possible to install an UMDF upper filter
>> > driver
>> > for a raw PDO that is created for sideband communication for a HID
>> > device?
>> >
>> > If so, is there any samples in DDK that can be referenced?
>> >
>> > Thanks.
>> >
>> > G
>>
>> .
>>
From: gti4ever on
Thanks Doron, I found the problem in my code, it works ok now.

If you don't mind, I'd like to ask you a design question. The driver that I
was experimenting with is actually a virtual HID minidriver, that is why I
need a raw PDO to send test data to it.

I am just wondering, is it possible to create a regular UMDF + KMDF hybrid
driver and use that KMDF driver to enumerate a raw PDO as a HID minidriver?
Can this be done? I just want to get your opinion before I start implement it.

Thanks.

G.





"Doron Holan [MSFT]" wrote:

> look at the setup logs and see what went wrong. how did you try to install
> the FDO? with devcon or through the device manager UI?
>
> d
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>