Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > About WinUsb_ReadPipe

Reply
Thread Tools Display Modes

About WinUsb_ReadPipe

 
 
Takashi
Guest
Posts: n/a

 
      09-03-2010
Now I'm developing an application for our USB device. I use WinUsb.sys for
the USB driver. The device is defined for using bulk read and bulk write
endpoints. I was succeded in installing WinUsb.sys on my system. I can see
the device infomation on registory and USBView.exe application as I designed.

The problem is that I was succeeded in using WinUsb_WritePipe(), but I was
failed in using WinUsb_ReadPipe(). When I call WinUsb_ReadPipe(), the
function never return or never complete I/O processing.

Any advice will be welcom. Thanks in advance.

Takashi Masuda
GCT
 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      09-03-2010
Takashi <> wrote:

>Now I'm developing an application for our USB device. I use WinUsb.sys for
>the USB driver. The device is defined for using bulk read and bulk write
>endpoints. I was succeded in installing WinUsb.sys on my system. I can see
>the device infomation on registory and USBView.exe application as I designed.
>
>The problem is that I was succeeded in using WinUsb_WritePipe(), but I was
>failed in using WinUsb_ReadPipe(). When I call WinUsb_ReadPipe(), the
>function never return or never complete I/O processing.


Are you sure the device has data for you to read?
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Asaf Shelly
Guest
Posts: n/a

 
      09-03-2010
Hi,

If you are using .Net you can use this component for Bulk devices
http://asyncop.com/MTnPDirEnum.aspx?...nUSB+Component

Regards,
Asaf
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59