Re: [PATCH] usb: gadget: hidg: register OUT INT endpoint for SET_REPORT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15.06.2012 23:41, Peter Stuge wrote:
> Daniel Mack wrote:
>> This patch adds an OUT interrupt endpoint to the interface and queues a
>> fix number of request to catch SET_REPORT events. According to the
>> specs, host drivers should always use the dedicated OUT endpoint when
>> present.
> 
> Recently a user needed to use control transfers to communicate with a
> HID class interface more frequently than the bInterval => GET_REPORT.
> 
> Same could go for SET_REPORT too of course. I understand the problem,
> just saying that there can be good uses for the ep0 requests.

Probably, but with a higher rate, you still can't be certain about not
loosing a packet in communication.

For GET_REPORT, you don't face the same situation, because sending a
packet from userspace will actually block until it has been handled and
sent out by the controller driver.


Daniel



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux