From: Tim Roberts on
"fredsky" <hardware.evs(a)gmail.com> wrote:

>Thanks for your answers guys.
>
>I assume that even if I use URB's to receive data from an Isochronous
>EP, I still have a lot of benefits to use WDF, right ?

Yes, if nothing else than the sheer volume of code. With KMDF, you don't
have to write any power or PnP code at all.
--
- Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: fredsky on
Thanks,

I just began writing of driver. For the moment, it's just dialog
through Control Endpoint.

I have two remarks :

1) It's not so easy to use WDF because it's a whole new (for me)
syntax. GoodBye all habits.
2) In one day I was able to dialog with my device trough Control
Enpoint and without writing any PNP or Power Management code (well
beside AddDevice, PrepareHardware, ...)

All in all, i'm pretty impressed by WDF.

Fred.


Tim Roberts a écrit :

> "fredsky" <hardware.evs(a)gmail.com> wrote:
>
> >Thanks for your answers guys.
> >
> >I assume that even if I use URB's to receive data from an Isochronous
> >EP, I still have a lot of benefits to use WDF, right ?
>
> Yes, if nothing else than the sheer volume of code. With KMDF, you don't
> have to write any power or PnP code at all.
> --
> - Tim Roberts, timr(a)probo.com
> Providenza & Boekelheide, Inc.

From: Gopalakrishnan on
Hi,

I need a sample code for WDF driver which read data from isochronous pipe.
Can anyone please help as I am begineer to the driver development work.

I followed the steps given by Mr. Doron,

> specifically you should use WdfUsbTargetPipeFormatRequestForUrb to format
> the WDFREQUEST. You would allocate the memory for the URB using
> WdfMemoryCreate, format the fields, call
> WdfUsbTargetPipeFormatRequestForUrb() and then call WdfRequestSend

but I am getting STATUS_INVALID_PARAMETER as soon as WdfRequestSend is
executed.




"fredsky" wrote:

> Thanks,
>
> I just began writing of driver. For the moment, it's just dialog
> through Control Endpoint.
>
> I have two remarks :
>
> 1) It's not so easy to use WDF because it's a whole new (for me)
> syntax. GoodBye all habits.
> 2) In one day I was able to dialog with my device trough Control
> Enpoint and without writing any PNP or Power Management code (well
> beside AddDevice, PrepareHardware, ...)
>
> All in all, i'm pretty impressed by WDF.
>
> Fred.
>
>
> Tim Roberts a écrit :
>
> > "fredsky" <hardware.evs(a)gmail.com> wrote:
> >
> > >Thanks for your answers guys.
> > >
> > >I assume that even if I use URB's to receive data from an Isochronous
> > >EP, I still have a lot of benefits to use WDF, right ?
> >
> > Yes, if nothing else than the sheer volume of code. With KMDF, you don't
> > have to write any power or PnP code at all.
> > --
> > - Tim Roberts, timr(a)probo.com
> > Providenza & Boekelheide, Inc.
>
>
From: Eliyas Yakub [MSFT] on
Take a look at the src\kmdf\USBSAMP in the Vista RC1 WDK. It shows how to
talk to isoch endpoints.

-Eliyas


"Gopalakrishnan" <Gopalakrishnan(a)discussions.microsoft.com> wrote in message
news:1B760506-FD43-4E60-9C5B-E361BDAA8BF0(a)microsoft.com...
> Hi,
>
> I need a sample code for WDF driver which read data from isochronous
> pipe.
> Can anyone please help as I am begineer to the driver development work.
>
> I followed the steps given by Mr. Doron,
>
>> specifically you should use WdfUsbTargetPipeFormatRequestForUrb to format
>> the WDFREQUEST. You would allocate the memory for the URB using
>> WdfMemoryCreate, format the fields, call
>> WdfUsbTargetPipeFormatRequestForUrb() and then call WdfRequestSend
>
> but I am getting STATUS_INVALID_PARAMETER as soon as WdfRequestSend is
> executed.
>
>
>
>
> "fredsky" wrote:
>
>> Thanks,
>>
>> I just began writing of driver. For the moment, it's just dialog
>> through Control Endpoint.
>>
>> I have two remarks :
>>
>> 1) It's not so easy to use WDF because it's a whole new (for me)
>> syntax. GoodBye all habits.
>> 2) In one day I was able to dialog with my device trough Control
>> Enpoint and without writing any PNP or Power Management code (well
>> beside AddDevice, PrepareHardware, ...)
>>
>> All in all, i'm pretty impressed by WDF.
>>
>> Fred.
>>
>>
>> Tim Roberts a ?crit :
>>
>> > "fredsky" <hardware.evs(a)gmail.com> wrote:
>> >
>> > >Thanks for your answers guys.
>> > >
>> > >I assume that even if I use URB's to receive data from an Isochronous
>> > >EP, I still have a lot of benefits to use WDF, right ?
>> >
>> > Yes, if nothing else than the sheer volume of code. With KMDF, you
>> > don't
>> > have to write any power or PnP code at all.
>> > --
>> > - Tim Roberts, timr(a)probo.com
>> > Providenza & Boekelheide, Inc.
>>
>>


From: Gopalakrishnan on
Hi Eliyas,

Please let me know from where I can download Vista RC1 WDK, I couldn't
find it in microsoft website. It would of great help if you can give me the
path.

Thanks,
Gopalakrishnan.


"Eliyas Yakub [MSFT]" wrote:

> Take a look at the src\kmdf\USBSAMP in the Vista RC1 WDK. It shows how to
> talk to isoch endpoints.
>
> -Eliyas
>
>
> "Gopalakrishnan" <Gopalakrishnan(a)discussions.microsoft.com> wrote in message
> news:1B760506-FD43-4E60-9C5B-E361BDAA8BF0(a)microsoft.com...
> > Hi,
> >
> > I need a sample code for WDF driver which read data from isochronous
> > pipe.
> > Can anyone please help as I am begineer to the driver development work.
> >
> > I followed the steps given by Mr. Doron,
> >
> >> specifically you should use WdfUsbTargetPipeFormatRequestForUrb to format
> >> the WDFREQUEST. You would allocate the memory for the URB using
> >> WdfMemoryCreate, format the fields, call
> >> WdfUsbTargetPipeFormatRequestForUrb() and then call WdfRequestSend
> >
> > but I am getting STATUS_INVALID_PARAMETER as soon as WdfRequestSend is
> > executed.
> >
> >
> >
> >
> > "fredsky" wrote:
> >
> >> Thanks,
> >>
> >> I just began writing of driver. For the moment, it's just dialog
> >> through Control Endpoint.
> >>
> >> I have two remarks :
> >>
> >> 1) It's not so easy to use WDF because it's a whole new (for me)
> >> syntax. GoodBye all habits.
> >> 2) In one day I was able to dialog with my device trough Control
> >> Enpoint and without writing any PNP or Power Management code (well
> >> beside AddDevice, PrepareHardware, ...)
> >>
> >> All in all, i'm pretty impressed by WDF.
> >>
> >> Fred.
> >>
> >>
> >> Tim Roberts a écrit :
> >>
> >> > "fredsky" <hardware.evs(a)gmail.com> wrote:
> >> >
> >> > >Thanks for your answers guys.
> >> > >
> >> > >I assume that even if I use URB's to receive data from an Isochronous
> >> > >EP, I still have a lot of benefits to use WDF, right ?
> >> >
> >> > Yes, if nothing else than the sheer volume of code. With KMDF, you
> >> > don't
> >> > have to write any power or PnP code at all.
> >> > --
> >> > - Tim Roberts, timr(a)probo.com
> >> > Providenza & Boekelheide, Inc.
> >>
> >>
>
>
>