[libhid-discuss] Find the path...

Matthias Lohr malo at dasevil.de
Sun Dec 9 10:14:02 UTC 2007


hid_interrupt_write()

What is the "ep" parameter?

Greetings
Matthias

On Saturday 08 December 2007 21:18:06 Charles Lepple wrote:
> On Dec 8, 2007, at 8:47 AM, Matthias Lohr wrote:
> > I want to read and write from/to a self-build interface (which
> > works under
> > windows without problems).
>
> Right, but there are several ways to read and write to HID devices in
> Windows.
>
> Since you have interrupt endpoints, I suspect that Windows was
> reading and writing to the interrupt endpoints instead of performing
> transfers over the control endpoints. (libhid was designed for
> accessing a densely populated tree of variables, much like SNMP,
> rather than handing the RS-232-like emulation over HID that so many
> Windows-based USB devices tend to use.)
>
> Check out the hid_interrupt_write() and hid_interrupt_read()
> functions. They are thin wrappers around the libusb interrupt
> transfer functions.
>
> - Charles
>
> _______________________________________________
> libhid-discuss mailing list
> libhid-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss




More information about the libhid-discuss mailing list