[libhid-discuss] Broken pipe whilst setting idle

Mark Lee mark at geneity.co.uk
Sun Feb 4 19:58:41 CET 2007


Hello, VERY new to USB and HID so please bear with me.

I'm getting the error:

WARNING: hid_set_idle(): failed to Set_Idle for USB device
004/006[2]:error sending control message: Broken pipe.

whilst executing the following python code:

  ret = hid_set_idle(hid, 0, 0x0)
    if ret != HID_RET_SUCCESS:
	    sys.stderr.write("hid_set_idle failed with return code %d.\n" % ret)

I'm under the impression that this should set undefinite idle for all
reports on the given interface which has been successfully opened.

What might be causing the reported failure?

Thankyou,

Mark



More information about the libhid-discuss mailing list