From: Tim Roberts on 9 Sep 2006 01:11 "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 12 Sep 2006 03:48 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 14 Sep 2006 01:26 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 14 Sep 2006 10:17 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 15 Sep 2006 00:43 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. > >> > >> > > >
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: WinCE modifications Serial_class to USBser class Next: __readmsr and __writemsr usage |