From: Abei on
Hi, All
I want to build a lower filter driver to modify my USB device descriptor
before USB host controller driver get it. Can I achieve this goal?
Thanks a lot!

--
Abei
From: Doron Holan [MSFT] on
who do you want to see the changed descriptor? ie what affect do you want it
to have? do you want the host controller to change the way it enumerates
the device? or the client driver that loads on top of the enumerated device
sees the change?

d

--

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


"Abei" <Abei(a)discussions.microsoft.com> wrote in message
news:B693042B-CB1C-41C9-8197-C8AEB78778FE(a)microsoft.com...
> Hi, All
> I want to build a lower filter driver to modify my USB device descriptor
> before USB host controller driver get it. Can I achieve this goal?
> Thanks a lot!
>
> --
> Abei

From: Abei on
Hi, Doron!
Yes, I want the host controller to enumerate my device as a compsite device.
My device reports it as a single function device. It will cause S3/S4 resume
system failed. But if I modify the device descriptor to a compsite device, it
can't duplicate this issue.
Since device descriptor (firmed in chip) can't be changed, I want to modify
it in a lower filter driver before host controller driver gets my devcie
descriptor. Can this lower filter driver achieve this goal?
Thank you very much!!
--
Abei


"Doron Holan [MSFT]" wrote:

> who do you want to see the changed descriptor? ie what affect do you want it
> to have? do you want the host controller to change the way it enumerates
> the device? or the client driver that loads on top of the enumerated device
> sees the change?
>
> d
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Abei" <Abei(a)discussions.microsoft.com> wrote in message
> news:B693042B-CB1C-41C9-8197-C8AEB78778FE(a)microsoft.com...
> > Hi, All
> > I want to build a lower filter driver to modify my USB device descriptor
> > before USB host controller driver get it. Can I achieve this goal?
> > Thanks a lot!
> >
> > --
> > Abei
>
> .
>
From: Tim Roberts on
Abei <Abei(a)discussions.microsoft.com> wrote:
>
>Yes, I want the host controller to enumerate my device as a compsite device.
>My device reports it as a single function device. It will cause S3/S4 resume
>system failed. But if I modify the device descriptor to a compsite device, it
>can't duplicate this issue.

That is a driver issue, not a hardware issue. When you make it composite,
all you are doing is adding another driver to the stack. Anything it can
do, you can do in YOUR driver. What class of device is this?

>Since device descriptor (firmed in chip) can't be changed, I want to modify
>it in a lower filter driver before host controller driver gets my devcie
>descriptor. Can this lower filter driver achieve this goal?

No. The host controller driver is the bottom-most driver in the USB stack.
It performs transfers through DMA. It doesn't send any requests down for
you to filter, because there IS no driver below it.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: Abei on
Hi, Tim!
Our device driver can pass Windows 7/vista/XP x86 & x64 all device DTM test
items and get log already.
But it failed on system DTM test for a type of netbook.
We can't know where is wrong of our driver.

--
Abei


"Tim Roberts" wrote:

> Abei <Abei(a)discussions.microsoft.com> wrote:
> >
> >Yes, I want the host controller to enumerate my device as a compsite device.
> >My device reports it as a single function device. It will cause S3/S4 resume
> >system failed. But if I modify the device descriptor to a compsite device, it
> >can't duplicate this issue.
>
> That is a driver issue, not a hardware issue. When you make it composite,
> all you are doing is adding another driver to the stack. Anything it can
> do, you can do in YOUR driver. What class of device is this?
>
> >Since device descriptor (firmed in chip) can't be changed, I want to modify
> >it in a lower filter driver before host controller driver gets my devcie
> >descriptor. Can this lower filter driver achieve this goal?
>
> No. The host controller driver is the bottom-most driver in the USB stack.
> It performs transfers through DMA. It doesn't send any requests down for
> you to filter, because there IS no driver below it.
> --
> Tim Roberts, timr(a)probo.com
> Providenza & Boekelheide, Inc.
> .
>