[libhid-discuss] Cannot claim interface 0

Mark S. Townsley mstownsley at gmail.com
Fri Sep 29 03:09:03 UTC 2006


Don't believe that is the problem as I hv commented out the libusb part.
The latest error is this:

  No error,  hid_interrupt_write 1 failed with return code 21

So something is preventing me from writing to the report descriptor.


On 9/28/06, Charles Lepple <clepple at ghz.cc> wrote:
>
> On Sep 28, 2006, at 9:09 PM, Mark S. Townsley wrote:
>
> > Yes I can follow the code in hid_interrupt_write().  But what does
> > that mean?
> > Does that mean libhid and libusb cannot be used to talk to my device?
>
> Correct, only one process (or kernel driver) can open an interface at
> a time.
>
> If it makes sense to use both, then we could add a function call like
> hid_open() that takes an open libusb handle, and libusb and libhid
> could share the interface.
>
> --
> Charles Lepple
> clepple at ghz.cc
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20060928/b9e23fb7/attachment-0001.htm


More information about the libhid-discuss mailing list