From: Takashi on
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
From: Tim Roberts on
Takashi <Takashi(a)discussions.microsoft.com> 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, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: Asaf Shelly on
Hi,

If you are using .Net you can use this component for Bulk devices:
http://asyncop.com/MTnPDirEnum.aspx?treeviewPath=%5bo%5d+Open-Source%5cWinUSB+Component

Regards,
Asaf
 | 
Pages: 1
Prev: DTM Studio
Next: Windows Reset Without BugCheck