[libhid-discuss] Cannot claim interface 0

Charles Lepple clepple at ghz.cc
Thu Sep 28 23:44:25 UTC 2006


Mark S. Townsley wrote:
> Hi:
>
> I am using hid_interrupt_write() and hid_interrupt_read() to talk to my
> HID
> device.  But both calls come back with an error saying:
>
>   "could not claim interface 0: Device or resource busy".

What is the full error message? Is this from setting USB_DEBUG to
something non-zero?

> But my hid_force_open() issues earlier in the same code (and remains open)
> was successful.
> Shouldn't hid_force_open() already claim the required interface so
> interrupt_write/read can use
> the claimed interface?

Yes, it should be taken care of in hid_force_open().

-- 
Charles Lepple
clepple at ghz.cc




More information about the libhid-discuss mailing list