John Chen wrote:
> Tom,
> Would you please show me how did you get bmRequestType to value 0xC2.
I did this so often that I finally created a "cheat sheet" that I keep
in a text file.
+---+---+---+---+---+---+---+---+
| d | type | | recip |
+---+---+---+---+---+---+---+---+
John Chen wrote:
> Would you please show me how did you get bmRequestType to value 0xC2.
Please see the USB 2.0 spec 9.3.1 bmRequestType Table 9-2 page 248.
http://www.usb.org/developers/docs/usb_20_10.zip
//Peter
-
Tom,
Would you please show me how did you get bmRequestType to value 0xC2.
Many thanks.
John
On Mon, Jul 16, 2012 at 5:37 PM, Tim Roberts wrote:
> John Chen wrote:
>
>
> I need to convert a legacy app from win api calls to libusbx, most of the
> legacy app is using DeviceIoControl , from lib
John Chen wrote:
> I have not touch anything like device driver before, do you have
> any good book to recommend?
One good resource is the USB 2.0 specification. Study chapters 5, 8,
and 9.
http://www.usb.org/developers/docs/usb_20_10.zip
//Peter
---
I have not touch anything like device driver before, do you have any good
book to recommend?
thx
On Mon, Jul 16, 2012 at 5:37 PM, Tim Roberts wrote:
> John Chen wrote:
>
>
> I need to convert a legacy app from win api calls to libusbx, most of the
> legacy app is using DeviceIoControl , from li
John Chen wrote:
>
> I need to convert a legacy app from win api calls to libusbx, most of
> the legacy app is using DeviceIoControl , from libusbx docs, the I
> believe I need to use libusb_control_transfer, but I am not sure how
> to change the calls from DeviceIoControl calls to
> libusb_control
Hi,Gurus,
I need to convert a legacy app from win api calls to libusbx, most of the
legacy app is using DeviceIoControl , from libusbx docs, the I believe I
need to use libusb_control_transfer, but I am not sure how to change the
calls from DeviceIoControl calls to libusb_control_transfer as
the pa