Page 1 of 1

Is Data IN endpoint required for HID devices?

Posted: Mon Oct 23, 2017 10:56 am
by victor_r
Dear all,

Should HID device have Data IN endpoint if it doesn't initiate any IN transfers?

Many people say it's required by standard. But in my opinion HID devices specification is unclear about whether they are obliged to have IN endpoint or not. I look here: http://www.usb.org/developers/hidpage/HID1_11.pdf.

Page 10 contains "Required" "Y", but it could mean "required to send unrequested data". Page 67 says the following about bNumEndpoints: "If this value is zero, this interface only uses endpoint zero". So, likely it's ok not to have endpoint IN. Windows doesn't require it neither (at least some versions).

Who feels to know a good answer?

Thank you,
Victor

Re: Is Data IN endpoint required for HID devices?

Posted: Fri Oct 27, 2017 4:01 pm
by ulao
I'm getting confused by this as well. See my latest post.

The EP0 I though had a default in? Thus no need to make another. I do know in some uses of v-usb it is absolutely needed to create another pipe.
https://stackoverflow.com/questions/141 ... ry-for-avr
So maybe it is just good practices to have an in and out defined.