Discussion:
About WinUsb_ReadPipe
(too old to reply)
Takashi
2010-09-03 02:32:03 UTC
Permalink
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
Tim Roberts
2010-09-03 05:04:38 UTC
Permalink
Post by Takashi
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, ***@probo.com
Providenza & Boekelheide, Inc.
Asaf Shelly
2010-09-03 07:59:03 UTC
Permalink
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
e***@gmail.com
2017-05-03 06:05:04 UTC
Permalink
Post by Takashi
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
Hai, Takashi Masuda. Have u solved the problems with WinUsb_ReadPipe?
Loading...