Re: How to open two USB pipes (0x81 - 0x02) in USB - HID devic
- From: Steve Calfee <stevecalfee@xxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 16:26:02 -0800
On Mon, 30 Oct 2006 23:13:25 +0100, "John" <-> wrote:
Hi,
I have a vendor HID device with two additional endpoints, 0x81 (input) and
the optional endpoint 0x02. With only one endpoint (0x81) everything is ok.
I can get a handle with CreateFile and I can send messages with
HidD_SetOutputReport and with WriteFile.
Now I have introduced a second endpoint (0x02 - output). I can still
discover the device and I can get a device handle. I even can send messages
over the control pipe with HidD_SetOutputReport. However if I try to write
via WriteFile then I get an error 1784. I guess that I have to use another
handle which is pointing to the pipe with endpoint 0x02. But how???
Thanks in advance!
Grad
Could you indicate what OS you are using? Your question would seem to
have everything to do with what OS and very little with HID. But as a
hint, how do you think the LEDs on your keyboard are turned on and
off?
Regards, Steve
.
- Prev by Date: Re: How to open two USB pipes (0x81 - 0x02) in USB - HID devic
- Next by Date: Re: Opinions on Rowley CrossWorks for ARM
- Previous by thread: Re: How to open two USB pipes (0x81 - 0x02) in USB - HID devic
- Next by thread: error when compiling uclinux kernel for microblaze
- Index(es):
Relevant Pages
|