[libhid-discuss] Still can't interrupt_read() properly

Marian Aldenhoevel marian.aldenhoevel at marian-aldenhoevel.de
Tue Sep 9 22:48:57 UTC 2008


Hi,

> You need to do clear halt before calling interrupt read. This will clear any invalid USB states.
> 
> usb_clear_halt(hid->dev_handle,0x81); //if endpoint is 0x81
> usb_reset(hid->dev_handle);

I have added this immediately before my call to interrupt_read(), but it makes 
matters worse: No I cannot even get the response to my first command.

Ciao, MM




More information about the libhid-discuss mailing list